Esempio n. 1
0
    def z(self):
        """Return the z location of point geometries in a GeoSeries

        Returns
        -------
        pandas.Series

        Examples
        --------

        >>> 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

        See Also
        --------

        GeoSeries.x
        GeoSeries.y

        """
        return _delegate_property("z", self)
Esempio n. 2
0
 def y(self):
     """Return the y location of point geometries in a GeoSeries"""
     return _delegate_property("y", self)
Esempio n. 3
0
 def x(self):
     """Return the x location of point geometries in a GeoSeries"""
     return _delegate_property('x', self)
Esempio n. 4
0
 def y(self):
     """Return the y location of point geometries in a GeoSeries"""
     return _delegate_property('y', self)