NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

ddixon
11112
accept rate: 0%

1

Could you post the routine?

(19 Oct '22, 22:20) DaveF

My usual query is:

node(53.113093987353764,-4.054470062255859,53.11925273065562,-4.040318727493286);<;>;

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

is_in(53.115,-4.05);

Neither find this relation:

https://www.openstreetmap.org/relation/14644322

(20 Oct '22, 07:57) ddixon

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:

×483
×290
×8

question asked: 19 Oct '22, 19:59

question was seen: 845 times

last updated: 20 Oct '22, 07:57

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