Skip to content

Risk type: failure_mode/reference_implementation

These 10 cases exercise the failure_mode/reference_implementation 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
Numeric Boundary: 15 Significant Digits vector GeoJSON Point
Numeric Boundary: 17 Significant Digits vector GeoJSON Point
Numeric Boundary: 1e-13 vector GeoJSON Point
Numeric Boundary: 1e-14 vector GeoJSON Point
Numeric Boundary: 1e-15 vector GeoJSON Point
Numeric Boundary: Trailing Nines vector GeoJSON Point
Numeric Boundary: Trailing Zeros vector GeoJSON Point
Optical Dateline Small raster GeoTIFF --
Optical Dateline West Small raster GeoTIFF --
GeoJSON Precision Loss Roundtrip vector GeoJSON Point