
    ph                    \   S SK Jr  S SKrS SKrS SKJr  S SKrS SKrS SKJ	r	  S SK
Jr  S SKrS SKJr  S SKJr  S SKrS SKJrJr  S S	KJr  S S
KJr  SSKJr  SSKJr  SSKJrJ r J!r!J"r"J#r#J$r$J%r%  SSK&J'r'  \RP                  (       a
  S SK)r)S SK*J+r+   S SS jjr,S r-SS jr. " S S\\	5      r/g)    )annotationsN)Any)Series)SingleBlockManager)GeometryCollection)BaseGeometry)GeoPandasBase_delegate_property_explore_geoseriesplot_series   )_compat)doc)GeometryDtypefrom_shapelyfrom_wkbfrom_wktpoints_from_xyto_wkbto_wkt)is_geometry_type)Callablec                Z     [        SXUS.UD6$ ! [         a    [        SXS.UD6s $ f = f)zA flexible constructor for GeoSeries._constructor, which needs to be able
to fall back to a Series (if a certain operation does not produce
geometries).
)dataindexcrs)r   r    )	GeoSeries	TypeErrorr   )r   r   r   kwargss       kC:\Users\julio\OneDrive\Documentos\Trabajo\IdeasFrscas\Cabanna\env\Lib\site-packages\geopandas/geoseries.py$_geoseries_constructor_with_fallbackr$   '   s>    8CdSCFCC 8747778s    **c                   SSK Jn  U R                  S:H  R                  5       S:  a\  U R                  S   S:X  a  U R
                  S   nOSnUb  [        X   5      (       d  U" U 5      n SU l        U $ U R                  U5      n U $ )zLShared logic for _constructor_expanddim and _constructor_from_mgr_expanddim.r   GeoDataFramegeometryr   N)		geopandasr'   dtypessumshapecolumnsr   _geometry_column_nameset_geometry)dfr'   geo_col_names      r#   _expanddim_logicr2   4   s    &
		Z$$&*88A;!::a=LL'78H'I'Ib!B'+B$ I .BI    c                L    [         R                  " U /UQ70 UD6n[        U5      $ N)pd	DataFramer2   )r   argsr"   r0   s       r#   _geoseries_expanddimr9   G   s'     
d	,T	,V	,BBr3   c                    ^  \ rS rSrSrS-S.U 4S jjjr\R                  R                  S 5       r\	S/S j5       r
\	S0S j5       r\	S0S j5       r\	S0S j5       r\	S0S	 j5       r\S1S
 j5       r\ S2   S3S jj5       r\ S2   S3S jj5       r\S-S/S jj5       r\   S2       S4S jj5       r\S/S j5       r\	S5S j5       r  S6     S7S jjr\	S 5       rS r\	S 5       rS rU 4S jrS r\" \R@                  5      S 5       r!\" \R@                  5      S 5       r"\" \R@                  5      S8S9U 4S jjj5       r#S0U 4S jjr$S0S jr%S0U 4S jjr&S0S jr'S:S;U 4S jjjr(S<S  jr)\" \*5      S! 5       r+\" \,5      S" 5       r-S=S/S# jjr.\/R`                      S>       S?S$ jj5       r1S6S@S% jjr2SASBS& jjr3   SC       SDS' jjr4SESFS( jjr5S0S) jr6SGS* jr7S=SHS+ jjr8S,r9U =r:$ )Ir    N   uN  
A Series object designed to store shapely geometry objects.

Parameters
----------
data : array-like, dict, scalar value
    The geometries to store in the GeoSeries.
index : array-like or Index
    The index for the GeoSeries.
crs : value (optional)
    Coordinate Reference System of the geometry objects. Can be anything accepted by
    :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.

kwargs
    Additional arguments passed to the Series constructor,
     e.g. ``name``.

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry

>>> s = geopandas.GeoSeries(
...     [Point(1, 1), Point(2, 2), Point(3, 3)], crs="EPSG:3857"
... )
>>> s.crs  # doctest: +SKIP
<Projected CRS: EPSG:3857>
Name: WGS 84 / Pseudo-Mercator
Axis Info [cartesian]:
- X[east]: Easting (metre)
- Y[north]: Northing (metre)
Area of Use:
- name: World - 85°S to 85°N
- bounds: (-180.0, -85.06, 180.0, 85.06)
Coordinate Operation:
- name: Popular Visualisation Pseudo-Mercator
- method: Popular Visualisation Pseudo Mercator
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

>>> s = geopandas.GeoSeries(
...    [Point(1, 1), Point(2, 2), Point(3, 3)], index=["a", "b", "c"], crs=4326
... )
>>> s
a    POINT (1 1)
b    POINT (2 2)
c    POINT (3 3)
dtype: geometry

>>> s.crs
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
- Lat[north]: Geodetic latitude (degree)
- Lon[east]: Geodetic longitude (degree)
Area of Use:
- name: World.
- bounds: (-180.0, -90.0, 180.0, 90.0)
Datum: World Geodetic System 1984 ensemble
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

See Also
--------
GeoDataFrame
pandas.Series

c                  > [        US5      (       d:  [        U[        R                  5      (       a}  [        UR                  S5      (       ab  U(       a[  [        US5      (       a  UR
                  OUR                  R
                  nU(       d  UR                  5       nOXS:X  d  [        S5      e[        U[        5      (       aR  [        UR                  S   R                  [        5      (       d&  [        SUR                  S   R                   S35      e[        U[        5      (       a  Ub  [        U5      OSnU/U-  nUR                  SS 5      n[!        U5      (       Gd0  UR                  SS 5        ["        R$                  " 5          S	n["        R&                  " S
U[(        5        ["        R&                  " S
U[*        5        [        R                  " U4X'S.UD6n	S S S 5        W	R                  [,        :w  aS  U	R.                  (       a  U	R                  S:X  d  Uc  U	R1                  [,        5      n	O[        SU	R                   S35      eU	R3                  5       n SUR4                  l         [9        X5      nU	R:                  nU	R<                  n[>        T
U ]  " U4X'S.UD6  U R
                  (       d  X0l        g g ! , (       d  f       N= f! [         a     Nmf = f! [         a    [        SU	R                   S35      ef = f)Nr   zCRS mismatch between CRS of the passed geometries and 'crs'. Use 'GeoSeries.set_crs(crs, allow_override=True)' to overwrite CRS or 'GeoSeries.to_crs(crs)' to reproject geometries. r   zKNon geometry data passed to GeoSeries constructor, received data of dtype ''r   namedtypez"The default dtype for empty Seriesignorer   r>   float64T)!hasattr
isinstancer6   r   arrayr   copy
ValueErrorr   blocksr?   r   r!   r   lenpopr   warningscatch_warningsfilterwarningsDeprecationWarningFutureWarningobjectemptyastypeto_numpyflags	writeabler   r   r>   super__init__)selfr   r   r   r"   data_crsnr>   	empty_msgs	__class__s             r#   rW   GeoSeries.__init__   s   D%  4++

E0J0J#*4#7#7txxTZZ^^Hyy{$L  d.//dkk!n22MBB//3{{1~/C/C.DAG 
 dL)) $/E
QA6A:Dzz&$'%% JJw%((* A	'')=OP'')]KIIdE%EfE + ww& GG9 4(A#33477)1>  ::<D'+

$#D. GGE66D@U@@xxH K +*.  
  //0wwiq: s+   AK K 1K!  
K
KK!$Lc                    U R                   b  [        R                  " SS[        S9  XR                  R
                  l         g )NzOverriding the CRS of a GeoSeries that already has CRS. This unsafe behavior will be deprecated in future versions. Use GeoSeries.set_crs method instead.   )
stacklevelcategory)r   rK   warnrN   r(   values)rX   values     r#   r   GeoSeries.crs   s7    88MM8 + $) r3   c                    U $ r5   r   rX   s    r#   r(   GeoSeries.geometry   s    r3   c                    [        SU 5      $ )a6  Return the x location of point geometries in a GeoSeries.

Returns
-------
pandas.Series

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

See Also
--------
GeoSeries.y
GeoSeries.z

xr
   rh   s    r#   rk   GeoSeries.x   s    0 "#t,,r3   c                    [        SU 5      $ )aB  Return the y location of point geometries in a GeoSeries.

Returns
-------
pandas.Series

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

See Also
--------
GeoSeries.x
GeoSeries.z
GeoSeries.m

yrl   rh   s    r#   ro   GeoSeries.y      2 "#t,,r3   c                    [        SU 5      $ )aK  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
GeoSeries.m

zrl   rh   s    r#   rs   GeoSeries.z/  rq   r3   c                    [        SU 5      $ )a  Return the m coordinate of point geometries in a GeoSeries.

Requires Shapely >= 2.1.

.. versionadded:: 1.1.0

Returns
-------
pandas.Series

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries.from_wkt(
...     [
...         "POINT M (2 3 5)",
...         "POINT M (1 2 3)",
...     ]
... )
>>> s
0    POINT M (2 3 5)
1    POINT M (1 2 3)
dtype: geometry

>>> s.m
0    5.0
1    3.0
dtype: float64

See Also
--------
GeoSeries.x
GeoSeries.y
GeoSeries.z

mrl   rh   s    r#   rv   GeoSeries.mJ  s    L "#t,,r3   c                p    SSK Jn  UR                  " U40 UD6n[        UR                  UR
                  S9$ )a  Alternate constructor to create a ``GeoSeries`` from a file.

Can load a ``GeoSeries`` from a file from any format recognized by
`pyogrio`. See http://pyogrio.readthedocs.io/ for details.
From a file with attributes loads only geometry column. Note that to do
that, GeoPandas first loads the whole GeoDataFrame.

Parameters
----------
filename : str
    File path or file handle to read from. Depending on which kwargs
    are included, the content of filename may vary. See
    :func:`pyogrio.read_dataframe` for usage details.
kwargs : key-word arguments
    These arguments are passed to :func:`pyogrio.read_dataframe`, and can be
    used to access multi-layer data, data stored within archives (zip files),
    etc.

Examples
--------
>>> import geodatasets
>>> path = geodatasets.get_path('nybb')
>>> s = geopandas.GeoSeries.from_file(path)
>>> s
0    MULTIPOLYGON (((970217.022 145643.332, 970227....
1    MULTIPOLYGON (((1029606.077 156073.814, 102957...
2    MULTIPOLYGON (((1021176.479 151374.797, 102100...
3    MULTIPOLYGON (((981219.056 188655.316, 980940....
4    MULTIPOLYGON (((1012821.806 229228.265, 101278...
Name: geometry, dtype: geometry

See Also
--------
read_file : read file to GeoDataFrame
r   r&   r   )r)   r'   	from_filer    r(   r   )clsfilenamer"   r'   r0   s        r#   rz   GeoSeries.from_filer  s2    J 	+##H77"&&11r3   c                8    U R                   " [        U4X#US.UD6$ )a  Alternate constructor to create a ``GeoSeries``
from a list or array of WKB objects.

Parameters
----------
data : array-like or Series
    Series, list or array of WKB objects
index : array-like or Index
    The index for the GeoSeries.
crs : value, optional
    Coordinate Reference System of the geometry objects. Can be anything
    accepted by
    :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.
on_invalid: {"raise", "warn", "ignore"}, default "raise"
    - raise: an exception will be raised if a WKB input geometry is invalid.
    - warn: a warning will be raised and invalid WKB geometries will be returned
      as None.
    - ignore: invalid WKB geometries will be returned as None without a warning.
    - fix: an effort is made to fix invalid input geometries (e.g. close
      unclosed rings). If this is not possible, they are returned as ``None``
      without a warning. Requires GEOS >= 3.11 and shapely >= 2.1.

kwargs
    Additional arguments passed to the Series constructor,
    e.g. ``name``.

Returns
-------
GeoSeries

See Also
--------
GeoSeries.from_wkt

Examples
--------
>>> wkbs = [
... (
...     b"\x01\x01\x00\x00\x00\x00\x00\x00\x00"
...     b"\x00\x00\xf0?\x00\x00\x00\x00\x00\x00\xf0?"
... ),
... (
...     b"\x01\x01\x00\x00\x00\x00\x00\x00\x00"
...     b"\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00@"
... ),
... (
...    b"\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00"
...    b"\x00\x08@\x00\x00\x00\x00\x00\x00\x08@"
... ),
... ]
>>> s = geopandas.GeoSeries.from_wkb(wkbs)
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry
r   r   
on_invalid)_from_wkb_or_wktr   r{   r   r   r   r   r"   s         r#   r   GeoSeries.from_wkb  s/    | ##d
"'Z
KQ
 	
r3   c                8    U R                   " [        U4X#US.UD6$ )as  Alternate constructor to create a ``GeoSeries``
from a list or array of WKT objects.

Parameters
----------
data : array-like, Series
    Series, list, or array of WKT objects
index : array-like or Index
    The index for the GeoSeries.
crs : value, optional
    Coordinate Reference System of the geometry objects. Can be anything
    accepted by
    :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.
on_invalid : {"raise", "warn", "ignore"}, default "raise"
    - raise: an exception will be raised if a WKT input geometry is invalid.
    - warn: a warning will be raised and invalid WKT geometries will be
      returned as ``None``.
    - ignore: invalid WKT geometries will be returned as ``None`` without a
      warning.
    - fix: an effort is made to fix invalid input geometries (e.g. close
      unclosed rings). If this is not possible, they are returned as ``None``
      without a warning. Requires GEOS >= 3.11 and shapely >= 2.1.

kwargs
    Additional arguments passed to the Series constructor,
    e.g. ``name``.

Returns
-------
GeoSeries

See Also
--------
GeoSeries.from_wkb

Examples
--------
>>> wkts = [
... 'POINT (1 1)',
... 'POINT (2 2)',
... 'POINT (3 3)',
... ]
>>> s = geopandas.GeoSeries.from_wkt(wkts)
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry
r   )r   r   r   s         r#   r   GeoSeries.from_wkt  s/    l ##d
"'Z
KQ
 	
r3   c           	     r   Uc  [        U[        5      (       a  [        U[        5      (       ax  UR                  R                  UR                  5      (       aN  Ub?  [        U[        5      (       a6  UR                  R                  UR                  5      (       a  UR                  nU " [	        XX5S94XES.UD6$ )a:  Alternate constructor to create a :class:`~geopandas.GeoSeries` of Point
geometries from lists or arrays of x, y(, z) coordinates.

In case of geographic coordinates, it is assumed that longitude is captured
by ``x`` coordinates and latitude by ``y``.

Parameters
----------
x, y, z : iterable
index : array-like or Index, optional
    The index for the GeoSeries. If not given and all coordinate inputs
    are Series with an equal index, that index is used.
crs : value, optional
    Coordinate Reference System of the geometry objects. Can be anything
    accepted by
    :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.
**kwargs
    Additional arguments passed to the Series constructor,
    e.g. ``name``.

Returns
-------
GeoSeries

See Also
--------
GeoSeries.from_wkt
points_from_xy

Examples
--------
>>> x = [2.5, 5, -3.0]
>>> y = [0.5, 1, 1.5]
>>> s = geopandas.GeoSeries.from_xy(x, y, crs="EPSG:4326")
>>> s
0    POINT (2.5 0.5)
1    POINT (5 1)
2    POINT (-3 1.5)
dtype: geometry
ry   r   r   )rD   r   r   equalsr   )r{   rk   ro   rs   r   r   r"   s          r#   from_xyGeoSeries.from_xy  s    V =1f%%q&))GGNN177++Y:a#8#8QWW^^AGG=T=T>!3T5TVTTr3   c                    [        U[        5      (       a-  Ub  UR                  U5      nOUR                  nUR                  nU " U" X$US94SU0UD6$ )z1Create a GeoSeries from either WKT or WKB values.)r   r   r   )rD   r   reindexr   rd   )r{   from_wkb_or_wkt_functionr   r   r   r   r"   s          r#   r   GeoSeries._from_wkb_or_wktN  s`     dF## ||E*

;;D$TzJ

 
 	
r3   c                ,    SSK Jn  U " U" U5      40 UD6$ )a  
Construct a GeoSeries from a Arrow array object with a GeoArrow
extension type.

See https://geoarrow.org/ for details on the GeoArrow specification.

This functions accepts any Arrow array object implementing
the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__``
method).

.. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html

.. versionadded:: 1.0

Parameters
----------
arr : pyarrow.Array, Arrow array
    Any array object implementing the Arrow PyCapsule Protocol
    (i.e. has an ``__arrow_c_array__`` or ``__arrow_c_stream__``
    method). The type of the array should be one of the
    geoarrow geometry types.
**kwargs
    Other parameters passed to the GeoSeries constructor.

Returns
-------
GeoSeries

r   )arrow_to_geometry_array)geopandas.io._geoarrowr   )r{   arrr"   r   s       r#   
from_arrowGeoSeries.from_arrowe  s    > 	C*3/:6::r3   c                6    SSK Jn  U" SU 05      R                  $ )a  Returns a ``GeoSeries`` as a python feature collection.

Implements the `geo_interface`. The returned python data structure
represents the ``GeoSeries`` as a GeoJSON-like ``FeatureCollection``.
Note that the features will have an empty ``properties`` dict as they
don't have associated attributes (geometry only).

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s.__geo_interface__
{'type': 'FeatureCollection', 'features': [{'id': '0', 'type': 'Feature', 'properties': {}, 'geometry': {'type': 'Point', 'coordinates': (1.0, 1.0)}, 'bbox': (1.0, 1.0, 1.0, 1.0)}, {'id': '1', 'type': 'Feature', 'properties': {}, 'geometry': {'type': 'Point', 'coordinates': (2.0, 2.0)}, 'bbox': (2.0, 2.0, 2.0, 2.0)}, {'id': '2', 'type': 'Feature', 'properties': {}, 'geometry': {'type': 'Point', 'coordinates': (3.0, 3.0)}, 'bbox': (3.0, 3.0, 3.0, 3.0)}], 'bbox': (1.0, 1.0, 3.0, 3.0)}
r   r&   r(   )r)   r'   __geo_interface__)rX   r'   s     r#   r   GeoSeries.__geo_interface__  s    , 	+Z./AAAr3   c                `    SSK Jn  U" SU 0U R                  S9nUR                  " X4SU0UD6  g)a
  Write the ``GeoSeries`` to a file.

By default, an ESRI shapefile is written, but any OGR data source
supported by Pyogrio or Fiona can be written.

Parameters
----------
filename : string
    File path or file handle to write to. The path may specify a
    GDAL VSI scheme.
driver : string, default None
    The OGR format driver used to write the vector file.
    If not specified, it attempts to infer it from the file extension.
    If no extension is specified, it saves ESRI Shapefile to a folder.
index : bool, default None
    If True, write index into one or more columns (for MultiIndex).
    Default None writes the index into one or more columns only if
    the index is named, is a MultiIndex, or has a non-integer data
    type. If False, no index is written.

    .. versionadded:: 0.7
        Previously the index was not written.
mode : string, default 'w'
    The write mode, 'w' to overwrite the existing file and 'a' to append.
    Not all drivers support appending. The drivers that support appending
    are listed in fiona.supported_drivers or
    https://github.com/Toblerity/Fiona/blob/master/fiona/drvsupport.py
crs : pyproj.CRS, default None
    If specified, the CRS is passed to Fiona to
    better control how the file is written. If None, GeoPandas
    will determine the crs based on crs df attribute.
    The value can be anything accepted
    by :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string. The keyword
    is not supported for the "pyogrio" engine.
engine : str, "pyogrio" or "fiona"
    The underlying library that is used to write the file. Currently, the
    supported options are "pyogrio" and "fiona". Defaults to "pyogrio" if
    installed, otherwise tries "fiona".
**kwargs :
    Keyword args to be passed to the engine, and can be used to write
    to multi-layer data, store data within archives (zip files), etc.
    In case of the "pyogrio" engine, the keyword arguments are passed to
    `pyogrio.write_dataframe`. In case of the "fiona" engine, the keyword
    arguments are passed to fiona.open`. For more information on possible
    keywords, type: ``import pyogrio; help(pyogrio.write_dataframe)``.

See Also
--------
GeoDataFrame.to_file : write GeoDataFrame to file
read_file : read file to GeoDataFrame

Examples
--------
>>> s.to_file('series.shp')  # doctest: +SKIP

>>> s.to_file('series.gpkg', driver='GPKG', layer='name1')  # doctest: +SKIP

>>> s.to_file('series.geojson', driver='GeoJSON')  # doctest: +SKIP
r   r&   r(   r   r   N)r)   r'   r   to_file)rX   r|   driverr   r"   r'   r   s          r#   r   GeoSeries.to_file  s3    F 	+Z.djjAX=U=f=r3   c                    [         $ r5   )r$   rh   s    r#   _constructorGeoSeries._constructor  s    33r3   c                    [        U[        5      (       d   e[        UR                  S   R                  [        5      (       d  [
        R                  " X5      $ [        R                  X5      $ )Nr   )rD   r   rH   r?   r   r   	_from_mgrr    )rX   mgraxess      r#   _constructor_from_mgrGeoSeries._constructor_from_mgr  sS    #12222#**Q---}==##C..""3--r3   c                    [         $ r5   )r9   rh   s    r#   _constructor_expanddim GeoSeries._constructor_expanddim  s    ##r3   c                V    [         R                  R                  X5      n[        U5      $ r5   )r6   r7   r   r2   )rX   r   r   r0   s       r#   _constructor_expanddim_from_mgr)GeoSeries._constructor_expanddim_from_mgr  s!    \\##C.##r3   c                   > [        [        5       U5      " U0 UD6n[        U5      [        L a  [        Ul        U R                  Ul        U$ )z>Wrap a generic pandas method to ensure it returns a GeoSeries.)getattrrV   typer   r    r]   r   )rX   mtdr8   r"   valr]   s        r#   _wrapped_pandas_method GeoSeries._wrapped_pandas_method  s>    egs#T4V49%CMhhCG
r3   c                &    U R                  SU5      $ )N__getitem__r   )rX   keys     r#   r   GeoSeries.__getitem__
  s    **=#>>r3   c                .    U R                   " S/UQ70 UD6$ )N
sort_indexr   rX   r8   r"   s      r#   r   GeoSeries.sort_index  s    **<I$I&IIr3   c                .    U R                   " S/UQ70 UD6$ )Ntaker   r   s      r#   r   GeoSeries.take  s    **6CDCFCCr3   c                   > Ub  X$S'   O[         R                  (       d  SUS'   [        TU ]  " U4SU0UD6n[	        U[
        5      (       a'  U R                  b  UR                  U R                  SS9  U$ )Nconvert_dtypeTr8   )inplace)compatPANDAS_GE_21rV   applyrD   r    r   set_crs)rX   funcr   r8   r"   resultr]   s         r#   r   GeoSeries.apply  sp    $&3?# &&*.' t9$9&9fi((xx#txx6r3   c                    > [         TU ]  5       $ )aq  
Detect missing values.

Historically, NA values in a GeoSeries could be represented by
empty geometric objects, in addition to standard representations
such as None and np.nan. This behaviour is changed in version 0.6.0,
and now only actual missing values return True. To detect empty
geometries, use ``GeoSeries.is_empty`` instead.

Returns
-------
A boolean pandas Series of the same size as the GeoSeries,
True where a value is NA.

Examples
--------
>>> from shapely.geometry import Polygon
>>> s = geopandas.GeoSeries(
...     [Polygon([(0, 0), (1, 1), (0, 1)]), None, Polygon([])]
... )
>>> s
0    POLYGON ((0 0, 1 1, 0 1, 0 0))
1                              None
2                     POLYGON EMPTY
dtype: geometry

>>> s.isna()
0    False
1     True
2    False
dtype: bool

See Also
--------
GeoSeries.notna : inverse of isna
GeoSeries.is_empty : detect empty geometries
)rV   isnarX   r]   s    r#   r   GeoSeries.isna&  s    L w|~r3   c                "    U R                  5       $ )z4Alias for `isna` method. See `isna` for more detail.)r   rh   s    r#   isnullGeoSeries.isnullN  s    yy{r3   c                   > U R                   R                  5       (       a  [        R                  " S[        SS9  [
        TU ]  5       $ )ay  
Detect non-missing values.

Historically, NA values in a GeoSeries could be represented by
empty geometric objects, in addition to standard representations
such as None and np.nan. This behaviour is changed in version 0.6.0,
and now only actual missing values return False. To detect empty
geometries, use ``~GeoSeries.is_empty`` instead.

Returns
-------
A boolean pandas Series of the same size as the GeoSeries,
False where a value is NA.

Examples
--------
>>> from shapely.geometry import Polygon
>>> s = geopandas.GeoSeries(
...     [Polygon([(0, 0), (1, 1), (0, 1)]), None, Polygon([])]
... )
>>> s
0    POLYGON ((0 0, 1 1, 0 1, 0 0))
1                              None
2                     POLYGON EMPTY
dtype: geometry

>>> s.notna()
0     True
1    False
2     True
dtype: bool

See Also
--------
GeoSeries.isna : inverse of notna
GeoSeries.is_empty : detect empty geometries
a  GeoSeries.notna() previously returned False for both missing (None) and empty geometries. Now, it only returns False for missing values. Since the calling GeoSeries contains empty geometries, the result has changed compared to previous versions of GeoPandas.
Given a GeoSeries 's', you can use '~s.is_empty & s.notna()' to get back the old behaviour.

To further ignore this warning, you can do: 
import warnings; warnings.filterwarnings('ignore', 'GeoSeries.notna', UserWarning)r`   )ra   )is_emptyanyrK   rc   UserWarningrV   notnar   s    r#   r   GeoSeries.notnaR  s@    L ==MM2  w}r3   c                "    U R                  5       $ )z6Alias for `notna` method. See `notna` for more detail.)r   rh   s    r#   notnullGeoSeries.notnull  s    zz|r3   c                D   > Uc
  [        5       n[        TU ]  " SXUS.UD6$ )a\  
Fill NA values with geometry (or geometries).

Parameters
----------
value : shapely geometry or GeoSeries, default None
    If None is passed, NA values will be filled with GEOMETRYCOLLECTION EMPTY.
    If a shapely geometry object is passed, it will be
    used to fill all missing values. If a ``GeoSeries`` or ``GeometryArray``
    are passed, missing values will be filled based on the corresponding index
    locations. If pd.NA or np.nan are passed, values will be filled with
    ``None`` (not GEOMETRYCOLLECTION EMPTY).
limit : int, default None
    This is the maximum number of entries along the entire axis
    where NaNs will be filled. Must be greater than 0 if not None.

Returns
-------
GeoSeries

Examples
--------
>>> from shapely.geometry import Polygon
>>> s = geopandas.GeoSeries(
...     [
...         Polygon([(0, 0), (1, 1), (0, 1)]),
...         None,
...         Polygon([(0, 0), (-1, 1), (0, -1)]),
...     ]
... )
>>> s
0      POLYGON ((0 0, 1 1, 0 1, 0 0))
1                                None
2    POLYGON ((0 0, -1 1, 0 -1, 0 0))
dtype: geometry

Filled with an empty polygon.

>>> s.fillna()
0      POLYGON ((0 0, 1 1, 0 1, 0 0))
1            GEOMETRYCOLLECTION EMPTY
2    POLYGON ((0 0, -1 1, 0 -1, 0 0))
dtype: geometry

Filled with a specific polygon.

>>> s.fillna(Polygon([(0, 1), (2, 1), (1, 2)]))
0      POLYGON ((0 0, 1 1, 0 1, 0 0))
1      POLYGON ((0 1, 2 1, 1 2, 0 1))
2    POLYGON ((0 0, -1 1, 0 -1, 0 0))
dtype: geometry

Filled with another GeoSeries.

>>> from shapely.geometry import Point
>>> s_fill = geopandas.GeoSeries(
...     [
...         Point(0, 0),
...         Point(1, 1),
...         Point(2, 2),
...     ]
... )
>>> s.fillna(s_fill)
0      POLYGON ((0 0, 1 1, 0 1, 0 0))
1                         POINT (1 1)
2    POLYGON ((0 0, -1 1, 0 -1, 0 0))
dtype: geometry

See Also
--------
GeoSeries.isna : detect missing values
)re   limitr   r   )r   rV   fillna)rX   re   r   r   r"   r]   s        r#   r   GeoSeries.fillna  s,    R =&(Ew~RER6RRr3   c                x    [        U[        5      (       a%  [        R                  " U R	                  U5      5      $ g)zAllow tests of the form "geom in s".

Tests whether a GeoSeries contains a geometry.

Note: This is not the same as the geometric method "contains".
F)rD   r   npr   geom_equals)rX   others     r#   __contains__GeoSeries.__contains__  s.     e\**66$**5122r3   c                     [        U /UQ70 UD6$ r5   r   r   s      r#   plotGeoSeries.plot  s    41$1&11r3   c                     [        U /UQ70 UD6$ )z;Explore with an interactive map based on folium/leaflet.js.r   r   s      r#   exploreGeoSeries.explore  s     "$8888r3   c                    SSK Jn  [        R                  " U R                  R
                  SS9u  pEU" U R                  UUUS9n[        XFU R                  S9R                  U 5      $ )u  
Explode multi-part geometries into multiple single geometries.

Single rows can become multiple rows.
This is analogous to PostGIS's ST_Dump(). The 'path' index is the
second level of the returned MultiIndex

Parameters
----------
ignore_index : bool, default False
    If True, the resulting index will be labelled 0, 1, …, n - 1,
    ignoring `index_parts`.
index_parts : boolean, default False
    If True, the resulting index will be a multi-index (original
    index with an additional level indicating the multiple
    geometries: a new zero-based index for each single part geometry
    per multi-part geometry).

Returns
-------
A GeoSeries with a MultiIndex. The levels of the MultiIndex are the
original index and a zero-based integer index that counts the
number of single geometries within a multi-part geometry.

Examples
--------
>>> from shapely.geometry import MultiPoint
>>> s = geopandas.GeoSeries(
...     [MultiPoint([(0, 0), (1, 1)]), MultiPoint([(2, 2), (3, 3), (4, 4)])]
... )
>>> s
0           MULTIPOINT ((0 0), (1 1))
1    MULTIPOINT ((2 2), (3 3), (4 4))
dtype: geometry

>>> s.explode(index_parts=True)
0  0    POINT (0 0)
   1    POINT (1 1)
1  0    POINT (2 2)
   1    POINT (3 3)
   2    POINT (4 4)
dtype: geometry

See Also
--------
GeoDataFrame.explode

r   )_get_index_for_partsT)return_index)ignore_indexindex_partsr   )
baser   shapely	get_partsrd   _datar   r    r   __finalize__)rX   r   r   r   
geometries	outer_idxr   s          r#   explodeGeoSeries.explode  s`    b 	/ ' 1 1$++2C2CRV W
$JJ%#	
 dhh?LLTRRr3   c                   SSK Jn  Ub  UR                  U5      nOUb  UR                  U5      nU(       d(  U R                  b  U R                  U:X  d  [        S5      eU(       d  U R                  5       nOU nXR                  l        U$ )uv  
Set the Coordinate Reference System (CRS) of a ``GeoSeries``.

Pass ``None`` to remove CRS from the ``GeoSeries``.

Notes
-----
The underlying geometries are not transformed to this CRS. To
transform the geometries to a new CRS, use the ``to_crs`` method.

Parameters
----------
crs : pyproj.CRS | None, optional
    The value can be anything accepted
    by :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.
epsg : int, optional if `crs` is specified
    EPSG code specifying the projection.
inplace : bool, default False
    If True, the CRS of the GeoSeries will be changed in place
    (while still returning the result) instead of making a copy of
    the GeoSeries.
allow_override : bool, default False
    If the the GeoSeries already has a CRS, allow to replace the
    existing CRS, even when both are not equal.

Returns
-------
GeoSeries

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry

Setting CRS to a GeoSeries without one:

>>> s.crs is None
True

>>> s = s.set_crs('epsg:3857')
>>> s.crs  # doctest: +SKIP
<Projected CRS: EPSG:3857>
Name: WGS 84 / Pseudo-Mercator
Axis Info [cartesian]:
- X[east]: Easting (metre)
- Y[north]: Northing (metre)
Area of Use:
- name: World - 85°S to 85°N
- bounds: (-180.0, -85.06, 180.0, 85.06)
Coordinate Operation:
- name: Popular Visualisation Pseudo-Mercator
- method: Popular Visualisation Pseudo Mercator
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

Overriding existing CRS:

>>> s = s.set_crs(4326, allow_override=True)

Without ``allow_override=True``, ``set_crs`` returns an error if you try to
override CRS.

See Also
--------
GeoSeries.to_crs : re-project to another CRS

r   )CRSzThe GeoSeries already has a CRS which is not equal to the passed CRS. Specify 'allow_override=True' to allow replacing the existing CRS without doing any transformation. If you actually want to transform the geometries, use 'GeoSeries.to_crs' instead.)pyprojr   from_user_input	from_epsgr   rG   rF   rE   )rX   r   epsgr   allow_overrider   r   s          r#   r   GeoSeries.set_crs/  s~    d 	?%%c*C--%C$(("6txx3L  YY[FFr3   c                n    [        U R                  R                  XS9U R                  U R                  S9$ )ud  Return a ``GeoSeries`` with all geometries transformed to a new
coordinate reference system.

Transform all geometries in a GeoSeries to a different coordinate
reference system.  The ``crs`` attribute on the current GeoSeries must
be set.  Either ``crs`` or ``epsg`` may be specified for output.

This method will transform all points in all objects.  It has no notion
of projecting entire geometries.  All segments joining points are
assumed to be lines in the current projection, not geodesics.  Objects
crossing the dateline (or other projection boundary) will have
undesirable behavior.

Parameters
----------
crs : pyproj.CRS, optional if `epsg` is specified
    The value can be anything accepted
    by :meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
    such as an authority string (eg "EPSG:4326") or a WKT string.
epsg : int, optional if `crs` is specified
    EPSG code specifying output projection.

Returns
-------
GeoSeries

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)], crs=4326)
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry
>>> s.crs  # doctest: +SKIP
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
- Lat[north]: Geodetic latitude (degree)
- Lon[east]: Geodetic longitude (degree)
Area of Use:
- name: World
- bounds: (-180.0, -90.0, 180.0, 90.0)
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

>>> s = s.to_crs(3857)
>>> s
0    POINT (111319.491 111325.143)
1    POINT (222638.982 222684.209)
2    POINT (333958.472 334111.171)
dtype: geometry
>>> s.crs  # doctest: +SKIP
<Projected CRS: EPSG:3857>
Name: WGS 84 / Pseudo-Mercator
Axis Info [cartesian]:
- X[east]: Easting (metre)
- Y[north]: Northing (metre)
Area of Use:
- name: World - 85°S to 85°N
- bounds: (-180.0, -85.06, 180.0, 85.06)
Coordinate Operation:
- name: Popular Visualisation Pseudo-Mercator
- method: Popular Visualisation Pseudo Mercator
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

See Also
--------
GeoSeries.set_crs : assign CRS

)r   r   rA   )r    rd   to_crsr   r>   )rX   r   r   s      r#   r   GeoSeries.to_crs  s3    X KK32$**499
 	
r3   c                8    U R                   R                  U5      $ )uX  Return the estimated UTM CRS based on the bounds of the dataset.

.. versionadded:: 0.9

Parameters
----------
datum_name : str, optional
    The name of the datum to use in the query. Default is WGS 84.

Returns
-------
pyproj.CRS

Examples
--------
>>> import geodatasets
>>> df = geopandas.read_file(
...     geodatasets.get_path("geoda.chicago_health")
... )
>>> df.geometry.estimate_utm_crs()  # doctest: +SKIP
<Derived Projected CRS: EPSG:32616>
Name: WGS 84 / UTM zone 16N
Axis Info [cartesian]:
- E[east]: Easting (metre)
- N[north]: Northing (metre)
Area of Use:
- name: Between 90°W and 84°W, northern hemisphere between equator and 84°N, ...
- bounds: (-90.0, 0.0, -84.0, 84.0)
Coordinate Operation:
- name: UTM zone 16N
- method: Transverse Mercator
Datum: World Geodetic System 1984 ensemble
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich
)rd   estimate_utm_crs)rX   
datum_names     r#   r  GeoSeries.estimate_utm_crs  s    H {{++J77r3   c                L    U R                  S5      R                  " SSXUS.UD6$ )a  Return a GeoJSON string representation of the GeoSeries.

Parameters
----------
show_bbox : bool, optional, default: True
    Include bbox (bounds) in the geojson
drop_id : bool, default: False
    Whether to retain the index of the GeoSeries as the id property
    in the generated GeoJSON. Default is False, but may want True
    if the index is just arbitrary row numbers.
to_wgs84: bool, optional, default: False
    If the CRS is set on the active geometry column it is exported as
    WGS84 (EPSG:4326) to meet the `2016 GeoJSON specification
    <https://tools.ietf.org/html/rfc7946>`_.
    Set to True to force re-projection and set to False to ignore CRS. False by
    default.

*kwargs* that will be passed to json.dumps().

Returns
-------
JSON string

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry

>>> s.to_json()
'{"type": "FeatureCollection", "features": [{"id": "0", "type": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [1.0, 1.0]}, "bbox": [1.0, 1.0, 1.0, 1.0]}, {"id": "1", "type": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [2.0, 2.0]}, "bbox": [2.0, 2.0, 2.0, 2.0]}, {"id": "2", "type": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3.0, 3.0]}, "bbox": [3.0, 3.0, 3.0, 3.0]}], "bbox": [1.0, 1.0, 3.0, 3.0]}'

See Also
--------
GeoSeries.to_file : write GeoSeries to file
r(   null)na	show_bboxdrop_idto_wgs84r   )to_frameto_json)rX   r	  r
  r  r"   s        r#   r  GeoSeries.to_json  s5    h }}Z(00 
h
RX
 	
r3   c                V    [        [        U R                  4SU0UD6U R                  S9$ )ag  Convert GeoSeries geometries to WKB.

Parameters
----------
hex : bool
    If true, export the WKB as a hexadecimal string.
    The default is to return a binary bytes object.
kwargs
    Additional keyword args will be passed to
    :func:`shapely.to_wkb`.

Returns
-------
Series
    WKB representations of the geometries

See Also
--------
GeoSeries.to_wkt
hexr   )r   r   rE   r   )rX   r  r"   s      r#   r   GeoSeries.to_wkbD  s(    * fTZZ;S;F;4::NNr3   c                R    [        [        U R                  40 UD6U R                  S9$ )a  Convert GeoSeries geometries to WKT.

Parameters
----------
kwargs
    Keyword args will be passed to :func:`shapely.to_wkt`.

Returns
-------
Series
    WKT representations of the geometries

Examples
--------
>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: geometry

>>> s.to_wkt()
0    POINT (1 1)
1    POINT (2 2)
2    POINT (3 3)
dtype: object

See Also
--------
GeoSeries.to_wkb
r   )r   r   rE   r   )rX   r"   s     r#   r   GeoSeries.to_wkt[  s$    B fTZZ262$**EEr3   c                   SSK JnJnJn  U R                  b  U R                  OSnUR                  5       S:X  a5  U" [        R                  " U R                  5      UUU R                  US9u  pOTUR                  5       S:X  a2  U" [        R                  " U R                  5      XpR                  S9u  pO[        SU 35      eU" X5      $ )	a  Encode a GeoSeries to GeoArrow format.

See https://geoarrow.org/ for details on the GeoArrow specification.

This functions returns a generic Arrow array object implementing
the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__``
method). This object can then be consumed by your Arrow implementation
of choice that supports this protocol.

.. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html

.. versionadded:: 1.0

Parameters
----------
geometry_encoding : {'WKB', 'geoarrow' }, default 'WKB'
    The GeoArrow encoding to use for the data conversion.
interleaved : bool, default True
    Only relevant for 'geoarrow' encoding. If True, the geometries'
    coordinates are interleaved in a single fixed size list array.
    If False, the coordinates are stored as separate arrays in a
    struct type.
include_z : bool, default None
    Only relevant for 'geoarrow' encoding (for WKB, the dimensionality
    of the individial geometries is preserved).
    If False, return 2D geometries. If True, include the third dimension
    in the output (if a geometry has no third dimension, the z-coordinates
    will be NaN). By default, will infer the dimensionality from the
    input geometries. Note that this inference can be unreliable with
    empty geometries (for a guaranteed result, it is recommended to
    specify the keyword).

Returns
-------
GeoArrowArray
    A generic Arrow array object with geometry data encoded to GeoArrow.

Examples
--------
>>> from shapely.geometry import Point
>>> gser = geopandas.GeoSeries([Point(1, 2), Point(2, 1)])
>>> gser
0    POINT (1 2)
1    POINT (2 1)
dtype: geometry

>>> arrow_array = gser.to_arrow()
>>> arrow_array
<geopandas.io._geoarrow.GeoArrowArray object at ...>

The returned array object needs to be consumed by a library implementing
the Arrow PyCapsule Protocol. For example, wrapping the data as a
pyarrow.Array (requires pyarrow >= 14.0):

>>> import pyarrow as pa
>>> array = pa.array(arrow_array)
>>> array
<pyarrow.lib.BinaryArray object at ...>
[
  0101000000000000000000F03F0000000000000040,
  01010000000000000000000040000000000000F03F
]

r   )GeoArrowArrayconstruct_geometry_arrayconstruct_wkb_array geoarrow)	include_z
field_namer   interleavedwkb)r  r   z3Expected geometry encoding 'WKB' or 'geoarrow' got )r   r  r  r  r>   lowerr   rE   r   asarrayrG   )
rX   geometry_encodingr  r  r  r  r  r  fieldgeom_arrs
             r#   to_arrowGeoSeries.to_arrow~  s    B	
 	
 #'))"7TYYR
""$
26$#%HH'OE8 $$&%/1

4::&:88OE8 ()+ 
 U--r3   c                ,    [         R                  " XX#S9$ )a  Clip points, lines, or polygon geometries to the mask extent.

Both layers must be in the same Coordinate Reference System (CRS).
The GeoSeries will be clipped to the full extent of the `mask` object.

If there are multiple polygons in mask, data from the GeoSeries will be
clipped to the total boundary of all polygons in mask.

Parameters
----------
mask : GeoDataFrame, GeoSeries, (Multi)Polygon, list-like
    Polygon vector layer used to clip `gdf`.
    The mask's geometry is dissolved into one geometric feature
    and intersected with GeoSeries.
    If the mask is list-like with four elements ``(minx, miny, maxx, maxy)``,
    ``clip`` will use a faster rectangle clipping
    (:meth:`~GeoSeries.clip_by_rect`), possibly leading to slightly different
    results.
keep_geom_type : boolean, default False
    If True, return only geometries of original type in case of intersection
    resulting in multiple geometry types or GeometryCollections.
    If False, return all resulting geometries (potentially mixed-types).
sort : boolean, default False
    If True, the order of rows in the clipped GeoSeries will be preserved
    at small performance cost.
    If False the order of rows in the clipped GeoSeries will be random.

Returns
-------
GeoSeries
    Vector data (points, lines, polygons) from `gdf` clipped to
    polygon boundary from mask.

See Also
--------
clip : top-level function for clip

Examples
--------
Clip points (grocery stores) with polygons (the Near West Side community):

>>> import geodatasets
>>> chicago = geopandas.read_file(
...     geodatasets.get_path("geoda.chicago_health")
... )
>>> near_west_side = chicago[chicago["community"] == "NEAR WEST SIDE"]
>>> groceries = geopandas.read_file(
...     geodatasets.get_path("geoda.groceries")
... ).to_crs(chicago.crs)
>>> groceries.shape
(148, 8)

>>> nws_groceries = groceries.geometry.clip(near_west_side)
>>> nws_groceries.shape
(7,)
)maskkeep_geom_typesort)r)   clip)rX   r&  r'  r(  s       r#   r)  GeoSeries.clip  s    r ~~dnXXr3   ry   NNNr   
Any | None)returnr    )r.  r   )r|   os.PathLike | typing.IOr.  r    )NNraise)r   r-  r.  r    )r   r   r   r-  r   strr.  r    )r.  dict)NN)r|   r/  r   z
str | Noner   bool | None)Nr   )r   r3  )NFN)r   bool)r.  r4  )FF)NNFF)r   r-  r   
int | Noner   r4  r   r4  )r   r-  r   r5  r.  r    )zWGS 84)r  r1  )TFF)r	  r4  r
  r4  r  r4  r.  r1  )F)r  r4  r.  r   )WKBTN)r'  r4  r.  r    );__name__
__module____qualname____firstlineno____doc__rW   r	   r   setterpropertyr(   rk   ro   rs   rv   classmethodrz   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r6   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   requires_pyprojr   r   r  r  r   r   r#  r)  __static_attributes____classcell__)r]   s   @r#   r    r    N   sl   JXM M^ 	) 	)   - -2 - -4 - -4 %- %-N (2 (2T BI?
$.?
	?
 ?
B BI7
$.7
	7
 7
r 2U 2Uh 
 !
"*

 
 
 

 
,  ;  ;D B B8 "!	F>)F> F> 	F>X 4 4. $ $$? 	^J J 	^D D 	^   &P4lKS KSZ
 	2 2 		9 9<SB  $dd d 	d
 d dLN
`$8P 	6
6
 6
 	6
 
6
pO.!FF[.z9Y 9Yr3   r    r+  r,  r5   )0
__future__r   typingrK   r   numpyr   pandasr6   r   pandas.core.internalsr   r   shapely.geometryr   shapely.geometry.baser   r)   geopandas.baser	   r
   geopandas.explorer   geopandas.plottingr   r  r   r   
_decoratorr   rE   r   r   r   r   r   r   r   r   r   TYPE_CHECKINGoscollections.abcr   r$   r2   r9   r    r   r3   r#   <module>rP     s    "       4  / .  < 0 *     #	( .2
8 *
8& FYv FYr3   