Why not ask your question on the new OpenStreetMap Community Forum?

I have an application that retrieves small areas of map data via the Overpass API to generate custom-rendered maps of interest. However, if the area of interest is completely inside certain relations (e.g. in one case, a multipolygon of natural = heath), this relation is not returned by the bbox query and therefore the landuse is not tagged appropriately. I understand that simple areas (closed ways) and named relations can be retrieved using an "is_in" query - but how can I retrieve unnamed relations such as the example above? Thanks!

asked 19 Oct '22, 19:59

ddixon's gravatar image

accept rate: 0%


Could you post the routine?

(19 Oct '22, 22:20) DaveF

My usual query is:


I've also tried to union that with an is_in query (after extracting the nodes from the area):


Neither find this relation:


(20 Oct '22, 07:57) ddixon
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](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:


question asked: 19 Oct '22, 19:59

question was seen: 506 times

last updated: 20 Oct '22, 07:57

powered by OSQA