Expand description
Simple-Features geometry tree with optional Z/M ordinates.
The shape is deliberately close to OGC Simple Features + WKB so writers (WKB, GeoJSON, Shapefile, GeoParquet) reduce to direct tree walks.
Structs§
- Coord
- A single coordinate.
zandmareOptions so we can distinguish “this geometry has no Z dimension” from “Z is invalid”. We do not use NaN as a sentinel — that’s a GDB-specific quirk handled inside its reader. - Line
String - Polygon
- A polygon: one exterior ring plus zero or more interior rings (holes).
Enums§
- Geometry
- The geometry tree. Marked
#[non_exhaustive]so future SemVer-minor releases can add variants (curves, surfaces, Z/M-bearing variants once the IR grows past 2D). - Geometry
Type - Discriminant of
Geometry. Used inGeometry::Empty(_)to preserve the type of a typed-empty geometry (WKB requires this).