[OHM] Changeset stuck in iD

Albin Larsson albin.post at gmail.com
Sun May 29 18:32:15 UTC 2016


The OSM database does not support any value over 255 characters, not for
tags nor as in this case changeset comments.

The solution is to modify the automatically created edit history that iD
bases it's changeset comments on.

For the following solution I assume you are using Chrome or Opera(or
whatever Chromium based browser there is nowadays) and have the iD save
dialog open.

Right clicking on the web page should open a context menu with the option
"inspect element"(if not there is some developer setting to be enabled in
your browser).
Clicking it should bring up a developer panel, there should be a
"resources" tab at the top.
Clicking it should make a left panel menu available, There should be a
"Local storage" option with a sub item(openhistoricalmap url).
Clicking this item should reveal a few local variables one of them "iD_
http://www.openhistoricalmap.org_saved_history"(note: this variable
contains all your changes, take a backup).
Copy the content of this variable into a text editor.
You should be able to find a few places where the following is found:
"imageryUsed": ["URL OR NAME OF IMAGERY"], turn it into "imageryUsed":
["x"], and get back to the browser and enter the new resulting value.

Now try to click the save button.

It's a bit tricky and a bit technical but it's the only solution I could
think of without writing a bunch of JavaScript.

//
Albin

2016-05-29 19:04 GMT+02:00 Susanna Ånäs <susanna.anas at gmail.com>:

> Could anyone help fix OHM iD, or just help.
>
> I have made a changeset of 130 edits, and used 5 different TMS aerial
> images for it. iD will not save the set because the link text for the
> background layers is too long (over 255 characters).
>
> Susanna
>
>
> _______________________________________________
> Historic mailing list
> Historic at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/historic
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/historic/attachments/20160529/be78f978/attachment.html>


More information about the Historic mailing list