Ë
    ~ìqjÈ  ã                   óh   — d Z ddlZddlmZmZ  G d„ de«      Zeej                  j                  d<   y)z%Multi-part collections of geometries.é    N)ÚBaseGeometryÚBaseMultipartGeometryc                   ó,   — e Zd ZdZg Zdd„Zed„ «       Zy)ÚGeometryCollectionaG  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                 óÐ   — t        |t        «      rt        |d«      r|j                  }n)|g}n%|�t	        |«      dk(  rt        j                  d«      S t        j                  |«      S )z Create a new GeometryCollection.Úgeomsr   zGEOMETRYCOLLECTION EMPTY)Ú
isinstancer   Úhasattrr   ÚlenÚshapelyÚfrom_wktÚgeometrycollections)Úselfr   s     úW/var/www/html/truck-me/venv/lib/python3.12/site-packages/shapely/geometry/collection.pyÚ__new__zGeometryCollection.__new__"   sZ   € ä�eœ\Ô*ô �u˜gÔ&ØŸ™‘à˜‘Øˆ]œc %›j¨Ašoä×#Ñ#Ð$>Ó?Ð?ä×*Ñ*¨5Ó1Ð1ó    c                 óx   — g }| j                   D ]  }|j                  |j                  «       Œ t        d|¬«      S )z9Return a GeoJSON-like mapping of the geometry collection.r   )ÚtypeÚ
geometries)r   ÚappendÚ__geo_interface__Údict)r   r   Úgeoms      r   r   z$GeometryCollection.__geo_interface__1   s>   € ð ˆ
Ø—J‘Jò 	6ˆDØ×Ñ˜d×4Ñ4Õ5ð	6äÐ-¸*ÔEÐEr   )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   Úpropertyr   © r   r   r   r      s)   „ ñð0 €Ió2ð ñFó ñFr   r   é   )r   r   Úshapely.geometry.baser   r   r   ÚlibÚregistryr    r   r   ú<module>r%      s4   ðÙ +ã ß Eô0FÐ.ô 0Fðf -€‡�× Ñ �QÒ r   