Invalid 25832 coordinates #585
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
Some geometries in the database appear to be assigned to EPSG:25832 and have northing values (y-coordinates) within the expected range. However, their easting values (x-coordinates) are implausibly large.
My assumption is that some users inadvertently included the UTM zone number (
32) when exporting data from their CAD or GIS software. Another possibility is that some other export-related issue caused32to be prepended to all x-coordinates.As a result, these geometries cannot be used for parcel identification. We previously assumed that geometries of this kind would be rejected by the various validation mechanisms in GDAL, GEOS, or PostGIS and that an error would be raised. Apparently, this is not the case.
To do
The coordinates should be validated when the geometries are saved to ensure that they fall within the valid coordinate range for EPSG:25832.
This check could be implemented in the newly added
GeoJsonValidator.Merged in #586