ó
    gzi^	  ã                   ó¸   • S r SSKrSSKJrJrJr  SS jr " S S\5      r " S S\5      r " S	 S
\5      r	 " S S\
5      r " S S\5      r " S S\5      rS rg)zShapely errors.é    N)ÚGEOSExceptionÚShapelyErrorÚ_setup_signal_checksc                 óx   • U S::  a  [        S5      e[        U [        R                  " 5       R                  5        g)aF  Enable Python signal checks in the ufunc inner loops.

Doing so allows termination (using CTRL+C) of operations on large arrays of
vectors.

Parameters
----------
interval : int, default 10000
    Check for interrupts every x iterations. The higher the number, the
    slower shapely will respond to a signal. However, at low values there
    will be a negative effect on performance. The default of 10000 does not
    have any measureable effects on performance.

Notes
-----
For more information on signals consult the Python docs:

https://docs.python.org/3/library/signal.html

r   z1Signal checks interval must be greater than zero.N)Ú
ValueErrorr   Ú	threadingÚmain_threadÚident)Úintervals    ÚK/home/mande/repo/quber/.venv/lib/python3.13/site-packages/shapely/errors.pyÚsetup_signal_checksr      s0   € ð* �1ƒ}ÜÐLÓMÐMä˜¤9×#8Ò#8Ó#:×#@Ñ#@ÕAó    c                   ó   • \ rS rSrSrSrg)ÚUnsupportedGEOSVersionErroré#   zJRaised when the GEOS library version does not support a certain operation.© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   r   r   r   r   #   s   † ÜTr   r   c                   ó   • \ rS rSrSrSrg)ÚDimensionErroré'   z0An error in the number of coordinate dimensions.r   Nr   r   r   r   r   r   '   s   † Ü:r   r   c                   ó   • \ rS rSrSrSrg)ÚTopologicalErroré+   z1A geometry is invalid or topologically incorrect.r   Nr   r   r   r   r   r   +   s   † Ü;r   r   c                   ó   • \ rS rSrSrSrg)ÚShapelyDeprecationWarningé/   zIWarning for features that will be removed or changed in a future release.r   Nr   r   r   r   r!   r!   /   s   † ÜSr   r!   c                   ó   • \ rS rSrSrSrg)ÚEmptyPartErroré3   zMAn error signifying an empty part was encountered when creating a multi-part.r   Nr   r   r   r   r$   r$   3   s   † ÜWr   r$   c                   ó   • \ rS rSrSrSrg)ÚGeometryTypeErroré7   zLAn error raised when the geometry has an unrecognized or inappropriate type.r   Nr   r   r   r   r'   r'   7   s   † ÜVr   r'   c                 óp   • SS K nU S;   a  UR                  U  S3[        SS9  [        $ [	        SU  S35      e)Nr   )ÚReadingErrorÚWKBReadingErrorÚWKTReadingErrorÚPredicateErrorÚInvalidGeometryErrorz� is deprecated and will be removed in a future version. Use ShapelyError instead (functions previously raising {name} will now raise a ShapelyError instead).é   )Ú
stacklevelz*module 'shapely.errors' has no attribute 'Ú')ÚwarningsÚwarnÚFutureWarningr   ÚAttributeError)Únamer2   s     r   Ú__getattr__r7   ;   s[   € Ûð ð ó ð 	�‰Øˆfð 6ð 6ô Øð 	ñ 	
ô Ðä
ÐEÀdÀVÈ1ÐMÓ
NÐNr   )i'  )r   r   Úshapely.libr   r   r   r   r   r   r   r4   r!   r$   r'   r7   r   r   r   Ú<module>r9      sm   ðÙ ã ç IÑ IôBô6U ,ô Uô;�\ô ;ô<�|ô <ôT ô TôX�\ô XôW˜ô WóOr   