cuspa.io.from_geoarrow#
- cuspa.io.from_geoarrow( ) Polygons#
Convert a GeoArrow Polygon/MultiPolygon table or array to
Polygons.- Parameters:
- obj
A pyarrow
Table/Array/ChunkedArrayor a GeoPandasto_arrow(geometry_encoding="geoarrow")result. Polygon and MultiPolygon arrays are supported. WKB columns are rejected because they require geometry parsing.- geometry
Geometry column name when
objis a table. If omitted, the first GeoArrow geometry column is used, falling back to"geometry".- dtype
Coordinate dtype for the GPU buffer. Defaults to
cupy.float32.