Invalid 25832 coordinates #585

Closed
opened 2026-09-13 11:35:53 +02:00 by mpeltriaux · 1 comment
Owner

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 caused 32 to 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.

# 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 caused `32` to 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`.
mpeltriaux added the bug label 2026-09-13 11:35:54 +02:00
mpeltriaux self-assigned this 2026-09-13 11:35:54 +02:00
mpeltriaux added reference 585_Invalid_25832_coordinates 2026-09-13 11:36:13 +02:00
Author
Owner

Merged in #586

Merged in #586
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#585