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

I want to get the diff of the area, but I'm only interested in the nodes and ways that changed. I don't care about relations. I know I can do:

[adiff:"2016-03-01T15:00:00Z"];
(
  node(52.1,20.9,52.3,21.2);
  <;
);
out;

Which returns nodes, ways they're on, relations they're on (correct me if I understand something wrong).

So I've modified the query.:

[adiff:"2016-03-01T15:00:00Z"];
(
  node(52.1,20.9,52.3,21.2);
  way(bn);
);
out;

But then I thought, what if a way was changed, but not the node's on it (two ways merged, or a way split or something like that). Is that possible? Would the below query be my final form ?

[adiff:"2016-03-01T15:00:00Z"];
(
  node(52.1,20.9,52.3,21.2);
  way(bn);
  way(52.1,20.9,52.3,21.2);
  node(w);
);
out;

asked 15 Apr '16, 13:36

prajmus's gravatar image

prajmus
16225
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:

×483
×213
×32

question asked: 15 Apr '16, 13:36

question was seen: 1,288 times

last updated: 15 Apr '16, 22:09

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