Why not ask your question on the new OpenStreetMap Community Forum?

For reasons unknown, a person has changed a load of tracks, bridleways, and cycleways that I previously edited to footways. I doubt that they singled me out - the relevant edits are generally localised around a particular area.

Assuming that they either need assistance or don't respond to my queries, I'd like an easy way to identify only the subset of ways that I previously edited and which that person has also edited. I suppose I'll then manually edit them, since all that has changed is the highway type.

My alternative is to go through their change history, open each of their changesets, open all footways which have version 2 or above, then check through the change history for each to see if it was one of mine. The number of changesets isn't huge at the moment.

If it makes any difference, I'm still using Potlatch 2.

asked 24 Oct '17, 20:29

jpennycook's gravatar image

accept rate: 0%

Unfortunately the person who made the "mistake" originally has repeated the "mistake". I will request a reversion of their edit.

(04 Dec '17, 19:12) jpennycook

You could use a query like "highway=* and user:maxerickson" in the Overpass Turbo Wizard to visualize the ways they have changed in an area. There's no way to get it to look back a version, but it might be an improvement over going through the changesets.

permanent link

answered 24 Oct '17, 23:24

maxerickson's gravatar image

accept rate: 32%

edited 24 Oct '17, 23:25

Thanks maxerickson. I got that working fairly easily.

(26 Oct '17, 09:03) jpennycook

If you're willing in to dig a little bit more, and if you have programming abilities in more or less any language, you could do this:

  • download the .osh.pbf ("history") file for the are of interest from download.geofabrik.de
  • (optionally) use the osmium command line utility (github.com/osmcode/osmium-tool or use ready-made Debian/Ubuntu packages) to further reduce the area
  • convert the file to "opl" format, again using the osmium command line utility (osmium cat myfile.osh.pbf -f opl)

The "opl" format is easily parseable; it is an ASCII text file with all versions of every object, using exactly one line for each version. You can process that file with a little code written in the programming language of your choice - for your particular use case, you could even use the command line "grep" utility to find all lines that contain either your or their user name, and then use further text-based Unix utilities like sort and/or comm to determine which object IDs have been touched by both of you.

permanent link

answered 25 Oct '17, 07:12

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Thanks Frederik.

I'm concerned that I might make a mistake and break large parts of the area concerned! I think I'll do this change by hand, and then try your method another time on a small area.


(26 Oct '17, 09:15) jpennycook
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 24 Oct '17, 20:29

question was seen: 1,837 times

last updated: 04 Dec '17, 19:12

powered by OSQA