Closed russbiggs closed 3 years ago
Currently verbosity parameter does not return additional properties in the GeoJSON output, so the following statements all return the same output:
verbosity
api.get('way(696160849)', verbosity='tags') api.get('way(696160849)', verbosity='body') api.get('way(696160849)', verbosity='meta')
This PR puts the nodes, timestamp, user, uid, version into the GeoJSON properties object if they exist in the response data.
nodes
timestamp
user
uid
version
I've also updated the test example.json to match the changes. Happy to add an additional test for the full meta level if that is helpful.
example.json
meta
Currently
verbosity
parameter does not return additional properties in the GeoJSON output, so the following statements all return the same output:This PR puts the
nodes
,timestamp
,user
,uid
,version
into the GeoJSON properties object if they exist in the response data.I've also updated the test
example.json
to match the changes. Happy to add an additional test for the fullmeta
level if that is helpful.