openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.22k stars 918 forks source link

Rejecting edits at the null island (0,0) #5279

Closed opk12 closed 1 month ago

opk12 commented 1 month ago

Problem

What about rejecting edits where a node, or a way's node, has coordinates 0, 0 (null island)? It must always be a bug in the editor.

Corresponding ticket at openstreetmap-ng: 128

tomhughes commented 1 month ago

Unless it isn't like when there was a buoy moored there.

SomeoneElseOSM commented 1 month ago

Speaking as one of the people who tends to get involved when people try and upload "wrong edits", it's quite useful to have some sort of canary around (such as a large bounding box that shouldn't cover 0,0 but does) when they occur. We'd typically want to look at what else they have done wrong in addition to adding nodes at 0,0, since they or their editor clearly haven't sanity checked their data.