Skip to content

Within expected geographic boundaries

geo_within_bounds - Column-level - Geospatial

Validates that geometries fall within an expected longitude/latitude bounding box.

Parameters

Parameter Type Default Required Description
min_lon float none No Minimum allowed longitude.
max_lon float none No Maximum allowed longitude.
min_lat float none No Minimum allowed latitude.
max_lat float none No Maximum allowed latitude.
threshold_percent float 0.0 No Fail if the percentage of out-of-bounds geometries exceeds this.

YAML example

checks:
  - name: example_geo_within_bounds
    check_type: geo_within_bounds
    table_name: schema.table
    column_name: example_column
    parameters:
      threshold_percent: 0.0

See YAML check format for the full field reference.