Amenity editor cannot handle 64 bit node ids? #3
Comments
|
Seems as if the issue may be related to the use of Types.INTEGER in https://github.com/grundid/amenity-editor/blob/master/src/main/java/org/osmsurround/ae/dao/NodeUpdate.java the rest of the code seems to be 64bit ready. PS: while fixing this issue is of highest concern, there are a few other things that should be looked at if the editor is supposed to stay in operation. |
|
Another amenity editor changeset where a node has been moved a huge distance: https://www.openstreetmap.org/changeset/43411665 And more affected changesets, just created a few minutes ago: Note: I've already wrote user osm10005 a friendly message to stop using amenity editor for updating the position of existing amenities. Not sure if he/she reads the message, though. |
|
Another example where the node isn't moved. Pretty sure there isn't a mosque here in the middle of nowhere in Missouri, USA. |
|
The OAuth client ID being used used by the public install at http://ae.osmsurround.org/ has now been invalidated and all existing tokens revoked so it can no longer make edits - a new OAuth ID will need to be created once this bug has been fixed. |
|
sorry guys. the amenity editor was designed with long nodeIds from the start. unfortunately the conversion into 32-bit integers happened during the write operations into the db. |
|
@simonpoole ... what other things you have in mind? Minor like osm data is not under cc-by-sa any more? Or big things like using leaflet or openlayers 3 ? |
|
@stephan75 how is the question related to the amenity-editor? |
|
@simonpoole |
Apparently, Amenity Editor cannot deal with node ids larger than 32 bit.
Here is a changeset that originally concerned a mosque in Morocco, but affected a node belonging to the coastline of the Volga river in Central Russia:
https://www.openstreetmap.org/changeset/43411845
The node that should have been changed is this (4483045489) one, the one that was actually changed is that (188078193) one, however.
Looking at the respective node ids, it seems like Amenity Editor cannot handle node ids larger than 32 bit:
This would explain why a completely unrelated node was affected by the changeset mentioned above. I haven't looked at the code yet, but if this is true, Amenity Editor is not really safe for making live edits anymore.
The text was updated successfully, but these errors were encountered: