Skip to content

Risk type: format/limitation

These 7 cases exercise the format/limitation failure mode. Run your function against all of them to check how it behaves.

Use GeoCase in your tests

Install the complete set of vector, raster, and NetCDF dependencies:

pip install "geocase[all]"

View GeoCase on PyPI.

Case Category Format Geometry
Empty Geometry in GeoPackage vector GPKG Point
Format-Limited KML Case vector KML Polygon
Format-limited Precision Polygon vector GeoJSON Polygon
GeoJSON Precision Loss Roundtrip vector GeoJSON Point
Shapefile Legacy DBF Encoding vector Shapefile Point
Shapefile Field Name Truncation vector Shapefile Point
Shapefile Ring Orientation Reversal vector Shapefile Polygon