-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WiP] Export results #66
base: master
Are you sure you want to change the base?
Conversation
What is your opinion/plan about this PR? What is blocking potential merging? I am asking as this feature would be useful for my purposes. |
Tests are still successful. There are only a few minor style issues. Will finish work on PR #98 and then try to merge this one. |
for way in result.ways: | ||
properties = {} | ||
coordinates = [] | ||
for node in way.nodes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this excellent PR!
Just one brief suggestion - Some way
's have duplicate first and last coordinates and so they ought to be treated as Polygon
rather than LineString
.
For more info check out https://wiki.openstreetmap.org/wiki/Way#Types_of_way
and
https://wiki.openstreetmap.org/wiki/Overpass_turbo/Polygon_Features (this info feels a bit more interpretable)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the information. I will have a look at the documentation.
- Remove Python2 support from tests - Fix update import
Issue type
Summary
Add experimental support to export the result data in different file formats.