linz / imagery

NZ Aerial imagery freely available to use under an open licence
s3://nz-imagery
Other
23 stars 3 forks source link

Geojson for dataset bay_hawkes-bay_2023-2024_0.125m doesn't validate #473

Open BoudewijnBoogaard opened 2 weeks ago

BoudewijnBoogaard commented 2 weeks ago

The capture-area.geojson for the dataset hawkes-bay_hawkes-bay_2023-2024_0.125m doesn't validate in https://geojson-validator.streamlit.app/. This results in errors in ArcGIS.

Error on validating Geometries:

{"invalid":{},"problematic":{"excessive_coordinate_precision":[{"0":[0,1,2]}]},"count_geometry_types":{"MultiPolygon":1},"skipped_validation":[]}

dwsilk commented 1 week ago

Excessive coordinate precision is listed by this tool as "problematic" not "invalid", so I wouldn't consider that to be an error, more a warning.

This would also seem to mean that ArcGIS would error out on any GeoJSON created with the two default settings that GDAL uses: https://gdal.org/en/latest/drivers/vector/geojson.html#layer-creation-options (GeoJSON 2008 and RFC 7946?)