You are not logged in.

#1 2014-02-17 12:03:06

RocketMan
Member
Registered: 2012-05-04
Posts: 249

Pattaya gone

Removed

Last edited by RocketMan (2015-06-29 10:55:36)

Offline

#2 2014-02-17 12:12:11

Johnny Carlsen
Member
From: Chiang Mai, Thailand
Registered: 2011-02-19
Posts: 134

Re: Pattaya gone

RocketMan wrote:

Pattaya's place mark is gone from the map.

Was it removed by this change set http://www.openstreetmap.org/changeset/20346060?

Yes, it was removed in that changeset:
http://www.openstreetmap.org/node/278056967/history

Maybe send a message to the user to inform him/her of the error.

I can revert the change in a moment, but I need to do some other stuff first.

Offline

#3 2014-02-17 12:48:28

RocketMan
Member
Registered: 2012-05-04
Posts: 249

Re: Pattaya gone

Removed

Last edited by RocketMan (2015-06-29 10:55:47)

Offline

#4 2014-02-17 13:00:27

Johnny Carlsen
Member
From: Chiang Mai, Thailand
Registered: 2011-02-19
Posts: 134

Re: Pattaya gone

RocketMan wrote:

Cool, the history works despite the node is deleted. What happens if the node ID is reused for a new node?

ID's are never re-used, new ID's will always be created for new nodes.

Though you didn't ask, I still think this might be of interest to you:
You can't rely on the ID always staying the same either, which is nice to know if you ever try to link external datasets to OSM objects. Wikipedia for ecample wanted to have the Chiang Mai province article pointed at the Chiang Mai province boundary id - this is not recommended.

At some point the OSM database might change form and all ID's could renumbered, and only internal references would be automatically updated.

Another issue is if someone splits the boundary, then two new boundaries are created - some with the old ID and some with the new ID - later these boundaries could be re-joined and the old ID could disappear.

Anyway, this is an issue that people are still trying to solve and not really related to this problem.

Offline

#5 2014-02-17 13:13:39

Johnny Carlsen
Member
From: Chiang Mai, Thailand
Registered: 2011-02-19
Posts: 134

Re: Pattaya gone

Johnny Carlsen wrote:

I can revert the change in a moment, but I need to do some other stuff first.

Reverted.


For those curious in the Python code behind this:

from osmapi import OsmApi

# Login to OSM
MyApi = OsmApi(username = u"Johnny Carlsen", password = u"******")

# Create a new changeset
MyApi.ChangesetCreate({u"comment": u"Restored Pattaya"})

# Load version 8 of the Pattaya node - this was the lastest non-deleted version 
node = MyApi.NodeGet(278056967, 8)

# Update the version to 9, so we don't get conflict errors
node[u'version'] = 9

# Re-upload version 8 of the node as version 9
MyApi.NodeUpdate(node)

I believe there are several ways of undeleting nodes, some might even be built in to editors like JOSM.

Last edited by Johnny Carlsen (2014-02-17 13:17:27)

Offline

#6 2014-02-17 13:19:40

RocketMan
Member
Registered: 2012-05-04
Posts: 249

Re: Pattaya gone

Removed

Last edited by RocketMan (2015-06-29 10:56:01)

Offline

#7 2014-02-17 13:24:54

RocketMan
Member
Registered: 2012-05-04
Posts: 249

Re: Pattaya gone

Removed

Last edited by RocketMan (2015-06-29 10:56:16)

Offline

#8 2014-02-17 16:48:57

Johnny Carlsen
Member
From: Chiang Mai, Thailand
Registered: 2011-02-19
Posts: 134

Re: Pattaya gone

RocketMan wrote:

Good info, thanks.

When I see things like this deleted I wonder how much data is deleted without being noticed.

I think quite a bit is being lost and it is difficult to track because there are many correct deletions as well.

Offline

#9 2014-02-18 09:17:10

Paul_012
Member
Registered: 2011-08-05
Posts: 211

Re: Pattaya gone

Change monitoring tools such as Who Did It (Implementations here and here) and OWL (beta implementation here) can be useful for monitoring changes and deletions in an area. Actively going through them to check for unconstructive edits can still be quite a pain, though.

Offline

Board footer

Powered by FluxBB