+
    S<Âj�  ã                   óP   € R t ^ RIHtHt ^ RIHt  ! R R]4      t ! R R4      tR# )aÏ  
The GDAL/OGR library uses an Envelope structure to hold the bounding
box information for a geometry. The envelope (bounding box) contains
two pairs of coordinates, one for the lower left coordinate and one
for the upper right coordinate:

                          +----------o Upper right; (max_x, max_y)
                          |          |
                          |          |
                          |          |
Lower left (min_x, min_y) o----------+
)Ú	StructureÚc_double)ÚGDALExceptionc                   ó6   € ] tR t^tRtR]3R]3R]3R]3.tRtR# )ÚOGREnvelopez&Represent the OGREnvelope C Structure.ÚMinXÚMaxXÚMinYÚMaxY© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Ú_fields_Ú__static_attributes__r   ó    Ú`/var/www/html/data_capital/venv/lib/python3.14/site-packages/django/contrib/gis/gdal/envelope.pyr   r      s.   † Ù,ð 
�ÐØ	�ÐØ	�ÐØ	�Ðð	„Hr   r   c                   óÂ   a € ] tR t^!t o RtR tR tR tR tR t	]
R 4       t]
R 4       t]
R	 4       t]
R
 4       t]
R 4       t]
R 4       t]
R 4       t]
R 4       tRtV tR# )ÚEnvelopezÆ
The Envelope object is a C structure that contains the minimum and
maximum X, Y coordinates for a rectangle bounding box. The naming
of the variables is compatible with the OGR Envelope structure.
c                óú  € \        V4      ^8X  dÄ   \        V^ ,          \        4      '       d   V^ ,          V n        Mí\        V^ ,          \        \
        34      '       dS   \        V^ ,          4      ^8w  d#   \        R\        V^ ,          4      ,          4      hV P                  V^ ,          4       Mx\        R\        V^ ,          4      ,          4      h\        V4      ^8X  d,   T P                  V Uu. uF  p\        V4      NK  	  up4       M\        R\        V4      ,          4      hV P                  V P                  8”  d   \        R4      hV P                  V P                  8”  d   \        R4      hR# u upi )zt
The initialization function may take an OGREnvelope structure,
4-element tuple or list, or 4 individual arguments.
ú(Incorrect number of tuple elements (%d).úIncorrect type of argument: %sú#Incorrect number (%d) of arguments.zEnvelope minimum X > maximum X.zEnvelope minimum Y > maximum Y.N)ÚlenÚ
isinstancer   Ú	_envelopeÚtupleÚlistr   Ú_from_sequenceÚ	TypeErrorÚtypeÚfloatÚmin_xÚmax_xÚmin_yÚmax_y)ÚselfÚargsÚas   &* r   Ú__init__ÚEnvelope.__init__(   s!  € ô ˆt‹9˜Œ>Ü˜$˜q�'¤;×/Ò/à!% a¥�•Ü˜D �G¤e¬T ]×3Ò3ä�t˜A•w“< 1Ô$Ü'ØBÄSÈÈaÍÃ\ÕQóð ð ×'Ñ'¨¨Q­Õ0äÐ @Ä4ÈÈQÍÃ=Õ PÓQÐQÜ�‹Y˜!Œ^ð ×Ñ±4Ó 8±4¨a¤ q¦±4Ñ 8Õ9äÐ EÌÈDË	Õ QÓRÐRð �:‰:˜Ÿ
™
Ô"ÜÐ AÓBÐBØ�:‰:˜Ÿ
™
Ô"ÜÐ AÓBÐBñ #ùò !9s   Ã3E8c                óh  € \        V\        4      '       d}   V P                  VP                  8H  ;'       d\    V P                  VP                  8H  ;'       d;    V P                  VP                  8H  ;'       d    V P
                  VP
                  8H  # \        V\        4      '       d�   \        V4      ^8X  dq   V P                  V^ ,          8H  ;'       dS    V P                  V^,          8H  ;'       d5    V P                  V^,          8H  ;'       d    V P
                  V^,          8H  # \        R4      h)z`
Return True if the envelopes are equivalent; can compare against
other Envelopes and 4-tuples.
z4Equivalence testing only works with other Envelopes.)	r   r   r$   r&   r%   r'   r   r   r   )r(   Úothers   &&r   Ú__eq__ÚEnvelope.__eq__I   s  € ô
 �eœX×&Ò&à—‘˜uŸ{™{Ñ*÷ 0ð 0Ø—Z‘Z 5§;¡;Ñ.÷0ð 0à—Z‘Z 5§;¡;Ñ.÷0ð 0ð —Z‘Z 5§;¡;Ñ.ð	ô ˜œu×%Ò%¬#¨e«*¸¬/à—‘˜u Q�xÑ'÷ -ð -Ø—Z‘Z 5¨¥8Ñ+÷-ð -à—Z‘Z 5¨¥8Ñ+÷-ð -ð —Z‘Z 5¨¥8Ñ+ð	ô  Ð VÓWÐWr   c                ó,   € \        V P                  4      # )z,Return a string representation of the tuple.)Ústrr   ©r(   s   &r   Ú__str__ÚEnvelope.__str___   s   € ä�4—:‘:‹Ðr   c                óä   € \        4       V n        V^ ,          V P                  n        V^,          V P                  n        V^,          V P                  n        V^,          V P                  n        R# )z@Initialize the C OGR Envelope structure from the given sequence.N)r   r   r   r	   r   r
   )r(   Úseqs   &&r   r    ÚEnvelope._from_sequencec   sK   € ä$›ˆŒØ! !�fˆ�‰ÔØ! !�fˆ�‰ÔØ! !�fˆ�‰ÔØ! !�fˆ�‰Ör   c                óô  € \        V4      ^8X  Ede   \        V^ ,          \        4      '       d#   V P                  V^ ,          P                  4      # \        V^ ,          R4      '       dr   \        V^ ,          R4      '       dY   V P                  V^ ,          P                  V^ ,          P                  V^ ,          P                  V^ ,          P                  4      # \        V^ ,          \        \        34      '       EdV   \        V^ ,          4      ^8X  dN   V P                  V^ ,          ^ ,          V^ ,          ^,          V^ ,          ^ ,          V^ ,          ^,          34      # \        V^ ,          4      ^8X  d¹   V^ ,          w  r#rEW P                  P                  8  d   W P                  n
        W0P                  P                  8  d   W0P                  n        W@P                  P                  8”  d   W@P                  n        WPP                  P                  8”  d   WPP                  n        R# R# \        R\        V^ ,          4      ,          4      h\        R\!        V^ ,          4      ,          4      h\        V4      ^8X  d2   V P                  V^ ,          V^,          V^ ,          V^,          34      # \        V4      ^8X  d   V P                  V4      # \        R\        V^ ,          4      ,          4      h)z~
Modify the envelope to expand to include the boundaries of
the passed-in 2-tuple (a point), 4-tuple (an extent) or
envelope.
ÚxÚyr   r   r   N)r   r   r   Úexpand_to_includer   Úhasattrr:   r;   r   r   r   r	   r   r
   r   r!   r"   )r(   r)   ÚminxÚminyÚmaxxÚmaxys   &*    r   r<   ÚEnvelope.expand_to_includek   s.  € ô ˆt‹9˜�>Ü˜$˜q�'¤8×,Ò,Ø×-Ñ-¨d°1­g¯m©mÓ<Ð<Ü˜˜a� #×&Ò&¬7°4¸µ7¸C×+@Ò+@Ø×-Ñ-Ø˜•G—I‘I˜t A�wŸy™y¨$¨q­'¯)©)°T¸!µW·Y±Yóð ô ˜D �G¤e¬T ]×3Ó3ä�t˜A•w“< 1Ô$Ø×1Ñ1Ø˜a� � T¨!¥W¨Q¥Z°°aµ¸µ¸TÀ!½WÀQ½ZÐHóð ô ˜˜a�“\ QÔ&Ø-1°!­WÑ*�D ØŸn™n×1Ñ1Ô1Ø.2Ÿ™Ô+ØŸn™n×1Ñ1Ô1Ø.2Ÿ™Ô+ØŸn™n×1Ñ1Ô1Ø.2Ÿ™Ô+ØŸn™n×1Ñ1Ô1Ø.2Ÿ™Ö+ñ 2ô (ØBÄSÈÈaÍÃ\ÕQóð ô  Ð @Ä4ÈÈQÍÃ=Õ PÓQÐQÜ�‹Y˜!Œ^à×)Ñ)¨4°­7°D¸µG¸TÀ!½WÀdÈ1ÅgÐ*NÓOÐOÜ�‹Y˜!Œ^à×)Ñ)¨$Ó/Ð/äÐ EÌÈDÐQRÍGËÕ TÓUÐUr   c                ó.   € V P                   P                  # )z-Return the value of the minimum X coordinate.)r   r   r3   s   &r   r$   ÚEnvelope.min_x›   ó   € ð �~‰~×"Ñ"Ð"r   c                ó.   € V P                   P                  # )z-Return the value of the minimum Y coordinate.)r   r	   r3   s   &r   r&   ÚEnvelope.min_y    rE   r   c                ó.   € V P                   P                  # )z-Return the value of the maximum X coordinate.)r   r   r3   s   &r   r%   ÚEnvelope.max_x¥   rE   r   c                ó.   € V P                   P                  # )z-Return the value of the maximum Y coordinate.)r   r
   r3   s   &r   r'   ÚEnvelope.max_yª   rE   r   c                ó2   € V P                   V P                  3# )z"Return the upper-right coordinate.)r%   r'   r3   s   &r   ÚurÚEnvelope.ur¯   ó   € ð —
‘
˜DŸJ™JÐ'Ð'r   c                ó2   € V P                   V P                  3# )z!Return the lower-left coordinate.)r$   r&   r3   s   &r   ÚllÚEnvelope.ll´   rO   r   c                ó^   € V P                   V P                  V P                  V P                  3# )z)Return a tuple representing the envelope.)r$   r&   r%   r'   r3   s   &r   r   ÚEnvelope.tuple¹   s#   € ð —
‘
˜DŸJ™J¨¯
©
°D·J±JÐ?Ð?r   c                ó   € RV P                   : RV P                  : RV P                   : RV P                  : RV P                  : RV P                  : RV P                  : RV P                  : RV P                   : RV P                  : R2# )z4Return WKT representing a Polygon for this envelope.z	POLYGON((Ú Ú,z)))r$   r&   r'   r%   r3   s   &r   ÚwktÚEnvelope.wkt¾   sT   � ð
 �JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJØ�JŒJð
ð 	
r   )r   N)r   r   r   r   r   r+   r/   r4   r    r<   Úpropertyr$   r&   r%   r'   rM   rQ   r   rX   r   Ú__classdictcell__)Ú__classdict__s   @r   r   r   !   sÊ   ø‡ € ñòCòBXò,ò%ò.Vð` ñ#ó ð#ð ñ#ó ð#ð ñ#ó ð#ð ñ#ó ð#ð ñ(ó ð(ð ñ(ó ð(ð ñ@ó ð@ð ñ
ó ö
r   r   N)r   Úctypesr   r   Údjango.contrib.gis.gdal.errorr   r   r   r   r   r   Ú<module>r_      s*   ðñ÷ 'å 7ô�)ô ÷l
ó l
r   