Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Renumber all nodes below 50000, and prevent edits to them #665

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: osm[at]randomjunk.co.uk
[Submitted to the original trac issue database at 11.00pm, Tuesday, 5th February 2008]

People often play with JOSM where they create themselves a .osm file via some script they've written, then they try to get JOSM to upload it. Unfortunately they've forgotten to use -ve IDs, and have managed to figure out how you convince JOSM to think the node has "changed".

When they upload it causes devastation, usually to low numbered nodes. They haven't got a big enough file to generate IDs bigger than that.

One way to catch this then, is to not have node IDs smaller than some "quite large" number. I picked 50000 randomly, there aren't actually that many nodes numbered below this anyway.

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 9.34pm, Wednesday, 6th February 2008]

I think 80n's suggestions of timestamp validation may be more sensible - it's something I've considered before.

@openstreetmap-trac
Copy link
Author

Author: grand.edgemaster[at]gmail.com
[Added to the original trac issue at 4.45pm, Wednesday, 6th May 2009]

Version validation now in place with 0.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant