Skip to content

Conversation

@russbiggs
Copy link
Contributor

Currently verbosity parameter does not return additional properties in the GeoJSON output, so the following statements all return the same output:

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.

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.

@mvexel mvexel merged commit 32281d2 into mvexel:master Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants