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

If I go to link text I see exactly the data I need:

Way: Forsythe Creek (30257498)
name    Forsythe Creek
waterway    river
Nodes
324480596 (part of ways Walker Creek (29440670) and Forsythe Creek (29440023))
324480597
324480598 
...

But if I export that page I also get the Walker Creek (29440670) and Forsythe Creek (29440023) waterways, plus a lot of roads. If I cut the map extent down enough I can get just those two "stream" waterways, but somehow that doesn't seem to work for 30257498 (which I believe becomes a "river") - I always get roads along with it.

I tried the Overpass web search, and the QuickOSM plugin in QGIS, and they can't find anything for 30257498. Or for the two upstream numbers. They don't give any errors, they just say "nothing found". I tried various ways to use the >> operator, but it didn't help.

QuickOSM is my easiest route. Is there a way to write an Overpass API query that will return just 30257498?

asked 13 Jun '18, 01:16

LorenAmelang's gravatar image

LorenAmelang
0112
accept rate: 0%


You can specify objects directly by id:

way(30257498);
out geom;
permanent link

answered 13 Jun '18, 01:25

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Thank you so much! That works perfectly at Overpass, and I have the line I need. Can't figure out how to enter it as a QuickOSM query, but I'm much more excited to get on with the next step in the real project.

(13 Jun '18, 06:02) LorenAmelang

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:

×315
×290
×147
×92
×91

question asked: 13 Jun '18, 01:16

question was seen: 3,270 times

last updated: 13 Jun '18, 06:02

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