
    \i                     h    S r SSKrSSKJrJr   " S S\5      r\\R                  R                  S'   g)z%Multi-part collections of geometries.    N)BaseGeometryBaseMultipartGeometryc                   6    \ rS rSrSr/ rSS jr\S 5       rSr	g)GeometryCollection   a  Collection of one or more geometries that can be of different types.

Parameters
----------
geoms : list
    A list of shapely geometry instances, which may be of varying geometry
    types.

Attributes
----------
geoms : sequence
    A sequence of Shapely geometry instances

Examples
--------
Create a GeometryCollection with a Point and a LineString

>>> from shapely import GeometryCollection, LineString, Point
>>> p = Point(51, -1)
>>> l = LineString([(52, -1), (49, 2)])
>>> gc = GeometryCollection([p, l])

Nc                     [        U[        5      (       a"  [        US5      (       a  UR                  nO,U/nO(Ub  [	        U5      S:X  a  [
        R                  " S5      $ [
        R                  " U5      $ )z Create a new GeometryCollection.geomsr   zGEOMETRYCOLLECTION EMPTY)
isinstancer   hasattrr	   lenshapelyfrom_wktgeometrycollections)selfr	   s     ^/var/www/html/kml_chatgpt/mouzaenv/lib/python3.13/site-packages/shapely/geometry/collection.py__new__GeometryCollection.__new__"   s`    e\** ug&&]c%jAo##$>??**511    c                 v    / nU R                    H  nUR                  UR                  5        M      [        SUS9$ )z9Return a GeoJSON-like mapping of the geometry collection.r   )type
geometries)r	   append__geo_interface__dict)r   r   geoms      r   r   $GeometryCollection.__geo_interface__1   s9     
JJDd445 -*EEr    )N)
__name__
__module____qualname____firstlineno____doc__	__slots__r   propertyr   __static_attributes__r   r   r   r   r      s)    0 I2 F Fr   r   r   )r"   r   shapely.geometry.baser   r   r   libregistryr   r   r   <module>r)      s4    +  E0F. 0Ff -  Q r   