Type Alias GeometryEncodingExperimental

GeometryEncoding: "wkb" | "native" | "geojson"

How the geometry column is physically stored, which decides the SQL used to (a) evaluate a spatial predicate and (b) project GeoJSON output.

  • wkb: GeoParquet 1.0/1.1 well-known-binary BLOB — wrap with ST_GeomFromWKB(...).
  • native: Parquet-native GEOMETRY / GEOGRAPHY logical type (Parquet 2.11, Mar 2025) — DuckDB reads it as a GEOMETRY, used directly.
  • geojson: GeoParquet GeoJSON encoding (string) — wrap with ST_GeomFromGeoJSON(...).