Skip to content

GeoTable

geoarrow.rust.core

GeoTable

A spatially-enabled table.

This is a table, or DataFrame, consisting of named columns with the same length. One of these columns contains a chunked geometry array.

This is similar to a GeoPandas GeoDataFrame.

geometry

geometry: ChunkedPointArray | ChunkedLineStringArray | ChunkedPolygonArray | ChunkedMultiPointArray | ChunkedMultiLineStringArray | ChunkedMultiPolygonArray | ChunkedMixedGeometryArray | ChunkedGeometryCollectionArray = <attribute 'geometry' of 'geoarrow.rust.core._rust.GeoTable' objects>

num_columns

num_columns: int = <attribute 'num_columns' of 'geoarrow.rust.core._rust.GeoTable' objects>

Number of columns in this table.

__arrow_c_stream__ method descriptor

__arrow_c_stream__(_requested_schema=None) -> Tuple[object, object]

An implementation of the Arrow PyCapsule Interface. This dunder method should not be called directly, but enables zero-copy data transfer to other Python libraries that understand Arrow memory.

For example, you can call pyarrow.table() to convert this array into a pyarrow table, without copying memory.

from_arrow builtin

from_arrow(input: ArrowStreamExportable) -> Self

Construct this object from existing Arrow data

Parameters:

Returns: