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

0
1

I'm trying to query Overpass for trails and paths within nature reserves. My query seems to work fine in some nature reserves but not others. I have been querying in Maryland, USA. Specifically, I have noticed that it does not work in either of these national parks: Catoctin Mountain Park or Chesapeake and Ohio Canal National Historical Park. Can anyone tell me what I am doing wrong? Here's my query:

https://overpass-turbo.eu/s/1u8o

asked 24 Apr '23, 00:36

sillyboy22's gravatar image

sillyboy22
16112
accept rate: 0%


nature_reserve as ways are automatically converted to 'areas' in Overpass' database. Unsure if it's intentional, but relations aren't. Add map_to_area; to force a conversion

https://overpass-turbo.eu/s/1ua9

wr[leisure=nature_reserve]({{bbox}});
map_to_area;
wr[highway~"^(footway|path|track)$"](area);
out geom;
permanent link

answered 24 Apr '23, 15:04

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

edited 24 Apr '23, 15:25

Very helpful. Thanks!

(24 Apr '23, 15:11) sillyboy22

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
×37
×10

question asked: 24 Apr '23, 00:36

question was seen: 1,389 times

last updated: 24 Apr '23, 15:25

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