PDOK / geopackage-validator

The geopackage-validator is a CLI tool that validates geopackage files (.gpkg) against PDOK requirements
MIT License
5 stars 1 forks source link

Geometry_type_name validation is case-sensitive #103

Open henrywild opened 1 year ago

henrywild commented 1 year ago

On version 0.8.1 of your package, when exporting data as a GeoPackage and testing it with the validator, it is failing on RQ14: "The geometry_type_name from the gpkg_geometry_columns table must be one of POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, or MULTIPOLYGON. Found geometry_type_name: Point"

The geometry_type_name doesn't match due to the title case being used. Can the comparison used for RQ14 be made case insensitive to accommodate how this GeoServer extension handles gpkg exports?

I have attached a zipped example GeoPackage which is currently failing this validation v_os_open_greenspace_allotment_centroids_april_2021.zip

RoelvandenBerg commented 1 year ago

Thanks @henrywild we will look into this and improve this in a future version.