flatgeom
Geospatial geometry primitives employing flat data structures instead of jagged arrays to represent Polygons, MultiPolygons, and other geometries. This design may be efficient for serialization and deserialization.
Visual examples of the data structure
LineString

Polygon

Polygon with a hole

Polygon with multiple holes

MultiPolygon

MultiPolygon with holes

Multiple polygons, multiple holes
