Skip to content

Risk type: precision/significant_digits

These 3 cases exercise the precision/significant_digits 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-15 vector GeoJSON Point