After hours of internet sleuthing and more-error-than-trials on overpassturbo, I admit defeat and ask for help. Here's the thing: I'd like to..

  1. take a given coordinate as input
  2. get its corresponding administrative boundary (admin_level=6) node
  3. to (2), give me all adjacent (as in: bordering on) admin boundaries

Any idea how this could be accomplished? I found the "around" clause but couldn't get it to work either.

Any help is greatly appreciated!

asked 05 May '21, 15:34

supyall's gravatar image

accept rate: 0%

  1. Check out the 'is_in' command. 3. admin_level boundaries should be all relations so 'recurse' back up from your found boundary to the ways it's attached to & search those ways to see if it has any other associated relations.
(05 May '21, 16:20) DaveF

Thanks for the tip, but I'm a bloody noob on the whole OSM thing. Would you (are anyone else watching) be willing to write some example code (overpass would be best for testing purpose) on this?

(06 May '21, 08:58) supyall
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 05 May '21, 15:34

question was seen: 281 times

last updated: 06 May '21, 08:58

powered by OSQA