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

Could I get some help with the syntax of an Overpass query? I modified an administrative boundary when adding a stream that borders that boundary. I thought I was careful to not join any nodes between the boundary way and the stream way and on checking in the iD editor I don't see any. So I'm trying to figure out the syntax of an Overpass query that would help me find the nodes in the boundary way that I may have changed inadvertently. I've tried the following but it doesn't give me the intersection of the nodes I've changed that are also part of the boundary.

( way"name"="name of admin boundary"; node(user:"myuserid"); );

thanks much!

asked 29 Aug '21, 03:45

mccarbc's gravatar image

mccarbc
31446
accept rate: 0%


I figured out the answer, I needed to do the node recursion. Here is the final query that I used.

[out:json][timeout:25];
// gather results
(
   way["name"="name of admin boundary"]({{bbox}});
);

  node(w)(user:"myuserid");

// print results
out body;
>;
out skel qt;
permanent link

answered 29 Aug '21, 06:09

mccarbc's gravatar image

mccarbc
31446
accept rate: 0%

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:

×228
×18

question asked: 29 Aug '21, 03:45

question was seen: 1,261 times

last updated: 29 Aug '21, 06:09

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