geopandas.GeoSeries.z#

property GeoSeries.z[来源]#

返回GeoSeries中点几何的z位置

Returns:
pandas.Series

另请参阅

GeoSeries.x
GeoSeries.y

示例

>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1, 1), Point(2, 2, 2), Point(3, 3, 3)])
>>> s.z
0    1.0
1    2.0
2    3.0
dtype: float64