-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Can't create a geometry from a multipolygon relations #74
Comments
Works for me. If I download the full relation 11153:
and then run in with this sample program:
I get:
|
Closing as no further explanation was provided by reporter. |
On OS X it's
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that I can correctly access objects of type 'area' extending osmium.SimpleHandler and create the geometry object using create_multipolygon(). In this case is then possible to know if the area comes from 'way' or 'relation' using from_way() and both work using a specific pbf extraction of the city of Rome.
Nevertheless, not all the multipolygon relations are available as area unfortunatelly, and I can access them as relation, but I can't create a geometry, as in the case of https://www.openstreetmap.org/relation/11153 or https://www.openstreetmap.org/relation/8655602: it looks valid and therefore it should be possible to get a geometry. I am also sure that all the nodes and ways are in the pbf, so this cannot be the issue here.
Do you have any idea how I can create a valid geometry in these cases? Thank you!
The text was updated successfully, but these errors were encountered: