NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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.

asked 14 Sep '17, 20:52

johnalen's gravatar image

johnalen
26112
accept rate: 0%

edited 14 Sep '17, 20:53


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.

permanent link

answered 15 Sep '17, 07:44

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 15 Sep '17, 22:16

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710

question asked: 14 Sep '17, 20:52

question was seen: 2,036 times

last updated: 15 Sep '17, 22:16

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum