I often come across an incorrect "highway=track" tag for existing ways. When looking at their history (using JOSM) I find that at some point the "highway" tag was changed from "path" to "track" by a particular user, whom I'll call "xyz" here.

So I got this idea: let's look at all changes of the type "highway tag changed from path to track", made by xyz. We might decide to revert them all at once, or do a survey on them one by one, or send them to xyz so he looks at them and reverts the incorrect ones himself (he has admitted on a forum that some of these changes were by mistake). Please note: I am not asking about how to correct these changes; we'll decide on it later. My question is technical: how to make such a list?

The problem is, xyz is a very active member, who has done thousands of edits, with many fixes in each edit. Reviewing them one by one would be counter-productive.

So, is there any way (a database query?) to find all changes of this type?

  • In a particular area
  • By a particular user
  • Changing a particular tag
  • From a specific value to another specific value

asked 21 May '16, 10:12

anatolyg's gravatar image

anatolyg
1715612
accept rate: 0%

edited 21 May '16, 10:38


You can get part of the way to what you want using Overpass API, which has support for restricting queries by user. Here's an example. So that at least gets you to tracks in your area of interest that were last touched by the user in question. I guess you could then retrieve the previous version of each way from the main api and examine it together with the current version to check for the questionable edits.

There is also some support in Overpass for examining changes, but it is based on dates not users or versions.

permanent link

answered 21 May '16, 14:19

maxerickson's gravatar image

maxerickson
10.8k1073151
accept rate: 30%

Your answer
toggle preview

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:

×117
×91
×20
×16
×5

question asked: 21 May '16, 10:12

question was seen: 2,108 times

last updated: 21 May '16, 14:19

powered by OSQA