Hello Guys, I want to get Multi polygon boundaries from OSM. When I checked OSM documentation, I didn't see anything about parent/child relation. for example; Germany/Berlin/Pankow. When I investigated this topic, I found following projects,
but these projects are not stable, that's why I didn't use. How can I get Parent/Child information from OSM? Thanks. |
Typically you need to do spatial queries one way or the other to retrieve "sub"-admin entities of a given admin entity in OSM. You can do this with your own database or for example with overpass-turbo/overpass, example http://overpass-turbo.eu/s/rJ0 (Note doing this in a larger way with a public overpass instance is likely going to get you in trouble). whosonfirst is a product of mapzen and uses something between little and no OSM data. We obviously cannot help you with non-OSM based projects. |