1
1

Hi Everyone,

I've just discovered that long-term detours around construction sites on the Q1 highway in Doha have been removed. I need help undoing the following changesets:

  • 20169673

  • 20171525

These edits appear to be made to reflect the old satellite images. Two large interchanges are being constructed in this area and the detours will be in place for at least another year. I have sent an email to the concerned user explaining the situation.

Thanks in advance, Shaun

asked 04 Sep '14, 16:02

rovingmedic's gravatar image

rovingmedic
1.1k41321
accept rate: 5%


First of all - thanks for emailing the author of these changesets. It's not the first time that this particular user has made questionable edits like this. I'm sure that all edits were made in good faith - just that sometimes, they don't seem always particularly based in reality.

In order to get the old "detour" data back, you've got a few options:

1) If the changes had been recent, and the whole changeset is rubbish, then a complete changeset revert using JOSM's reverter plugin would have been an option. As Simon says, normally 6-7 months is way too late for that - other people will have edited many of the ways since. In Qatar that may or may not be a problem - I'm not sure how much regular local mapping is going on.

2) Another JOSM option is the "undelete" plugin. That requires that you find the numbers of the ways that have been deleted (and from looking at this changeset I'd guess that this way is one of them).

3) If you're not a regular JOSM user, then Potlatch 1's "undelete" option might be the easiest to use (I'll assume that this way is indeed the one to restore):

From the history page for the way, open a deleted node page in another browser tab and select "view history".

That will show (in the previous version) the location that it was deleted from. Click that, and you'll be taken to that location in the map.

Select "edit with Potlatch 2". Edit the browser URL so that instead of something like

http://www.openstreetmap.org/edit?editor=potlatch2#map=18/25.36404/51.44839

you get

http://www.openstreetmap.org/edit?editor=potlatch#map=18/25.36404/51.44839

(i.e. remove the "2" after "potlatch")

From the "Advanced" menu at the bottom select "Undelete" and wait a few seconds. You might get an error message, but ignore that - what you should see is some new bright red ways. Click on each of those in turn until you find the number (in this example 256138077) that you are looking for. Click "click to unlock" on the way and then immediately save.

Then edit the area in the normal way again using your normal editor - you'll see the undeleted way is back again, but you'll need to check it to make sure that it joins everything that it should.

4) One other option (mentioned only for completeness) is the perl revert scripts - but I wouldn't suggest trying that unless you've done it before.

Whatever method you end up using, it might be a good idea to ask in the #osm IRC channel (either for someone to help with the undelete, or to double-check what you've done)

permanent link

answered 04 Sep '14, 19:40

SomeoneElse's gravatar image

SomeoneElse ♦
30.2k62315701
accept rate: 15%

1

Thanks for the comprehensive reply. I'll have to spend some time studying the various options. I'll probably end up using JOSM (either a straight edit or one of the other techniques) as I can easily confirm arrangements with numerous gps tracks that I have of the area.

(04 Sep '14, 19:59) rovingmedic

Both changesets are rather old (6-7 months) and the first one is quite large. With other words simply reverting the changesets is likely going to create a lot of conflicts and work unless you can clearly identify the changes/elements that need undoing/restoring. Alternatively: why not simply recreate the detour?

permanent link

answered 04 Sep '14, 16:24

SimonPoole's gravatar image

SimonPoole ♦
33.9k13259539
accept rate: 18%

Thanks Simon, I was hoping not to have to redo all the changes. I haven't been able to see what the changesets include, but I'm basically only interested in the arrangements of the Q1 at the 2 locations near the IKEA store. The northern location involves the northbound lane and the on ramp while the southern location involves both lanes and on/off ramps. Unfortunately, I have been away from OSM for a while and only spotted this today.

(04 Sep '14, 18:25) rovingmedic
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:

×55
×25
×22
×1

question asked: 04 Sep '14, 16:02

question was seen: 2,039 times

last updated: 04 Sep '14, 19:59

powered by OSQA