vectools.is_z_axis_zero()

Return whether every Z coordinate is zero.

Usage

Source

vectools.is_z_axis_zero(gdf)

Parameters

gdf: geopandas.GeoDataFrame
Geometries to inspect.

Returns

bool
Whether all Z values are zero.

Raises

ValueError

If the geometry does not have a Z axis.

TypeError
If the geometry type is unknown.