| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/contrib/gis/gdal/__pycache__/ |
Upload File : |
�
�|�e* � �� � d Z G d� de� � Z G d� de� � Zedfedfedfedfed fed
fedfedfd
�Zedfedfedfedfedfedfedfedfedfedfd�
ZdZdd�ZdS )z�
This module houses the GDAL & SRS Exception objects, and the
check_err() routine which checks the status code returned by
GDAL/OGR methods.
c � � e Zd ZdS )�
GDALExceptionN��__name__�
__module__�__qualname__� � �?/usr/lib/python3/dist-packages/django/contrib/gis/gdal/error.pyr r � � � � � � ��Dr r c � � e Zd ZdS )�SRSExceptionNr r r r
r
r
r r r
zNot enough data.zNot enough memory.zUnsupported geometry type.zUnsupported operation.z
Corrupt data.zOGR failure.zUnsupported SRS.zInvalid handle.)� � � � � � � � �
AppDefined�OutOfMemory�FileIO�
OpenFailed�
IllegalArg�NotSupported�AssertionFailed�
NoWriteAccess�
UserInterrupt�
ObjectNull)
r r r r r r r r � �
� Fc � � |rt nt }| t k rdS | |v r|| \ }} ||� � �t d| z � � �)zN
Check the given CPL/OGRERR and raise an exception where appropriate.
NzUnknown error code: "%s")�CPLERR_DICT�OGRERR_DICT�ERR_NONEr )�code�cpl�err_dict�e�msgs r
� check_errr, 1 s[ � � "�2�{�{�{�H��x�����
�� � ��$����3��a��f�f���6��=�>�>�>r N)F)�__doc__� Exceptionr r
r% r$ r&