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

I am aware of WHODIDIT, which lets you monitor changes in a given area, but I would like to monitor changes to a list of specific relations and ways (a few hundreds of them) which are not necessarily close to one another. For example, I would like to know when the boundary of a certain city is modified.

Is there any tool that allows you to do that?

asked 10 Jun '14, 02:32

Augusto%20S's gravatar image

Augusto S
111348
accept rate: 0%

1

Be aware that this involves more than just the relation and ways. A boundary also changes whenever one of the way's nodes get moved. But changes in the position or the tags of a node are not recorded in the way's history. So you way want to monitor each single node, too.

(14 Jun '14, 10:52) scai ♦
1

This is exactly covered by the Overpass API example I provided below. You just have to define which objects (and depending objects) you want to include in your change analysis.

(14 Jun '14, 11:33) mmd

Overpass API can indeed help, at least starting with v0.7.50. As an example, you could query for changes to ways 5000000 + 5000001 (including their nodes) since January 1st 2012:

[adiff:"2012-01-01T00:00:00Z"];(way(5000000);>;way(5000001);>;);out meta;

Try this on turbo and switch to the Data tab to see old/new data as well as the type of change (create/modify/delete).

Note that there are no changes shown for way 5000001 as there weren't any in the last 5 years. Also some of the changes may no longer be available due to the License redaction bot. As a general rule of thumb, all changes since September 2012 should not be impacted by the bot.

For advanced visualization of augmented diffs please refer to Overpass Turbo Issue #80 (in planning phase at the time of writing this comment).

permanent link
This answer is marked "community wiki".

answered 13 Jun '14, 19:53

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 13 Jun '14, 19:57

Maybe you are able to load each relation element from the main OSM database with full meta data.

This should include the version number of each object, and if I am not wrong even a timestamp when it was modified the last time.

Each time when an OSM object is edited, the version number is increased by 1.

Try to store the version number of each object in a file or database of your choice. Then compare that stored version number with the result when you want to check it.

Perhabs you can benefit from the famous overpass-api.

permanent link

answered 13 Jun '14, 19:41

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

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:

×89
×79

question asked: 10 Jun '14, 02:32

question was seen: 4,248 times

last updated: 14 Jun '14, 11:33

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