Ë
    ¹ûàg§  ã                   óZ   — d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
mZ  G d„ de«      Zy)	é    )Úc_void_p)ÚGDALBase)ÚGDALException)Úds)Úforce_bytesÚ	force_strc            
       ód   — e Zd ZdZddddddddddœ	Zd„ Zd„ Zed	„ «       Zed
„ «       Z	e
d„ «       Zy)ÚDriverzº
    Wrap a GDAL/OGR Data Source Driver.
    For more information, see the C API documentation:
    https://gdal.org/api/vector_c_api.html
    https://gdal.org/api/raster_c_api.html
    zESRI ShapefileÚTIGERÚGTiffÚJPEG)	ÚesriÚshpÚshapeÚtigerz
tiger/lineÚtiffÚtifÚjpegÚjpgc                 óú  — t        |t        «      rt| j                  «        |j                  «       | j                  v r| j                  |j                  «          }n|}t        t        j                  t        |«      «      «      }n`t        |t        «      r&| j                  «        t        j                  |«      }n*t        |t
        «      r|}nt        dt        |«      z  «      ‚|st        d|z  «      ‚|| _        y)zT
        Initialize an GDAL/OGR driver on either a string or integer input.
        z/Unrecognized input type for GDAL/OGR Driver: %sz1Could not initialize GDAL/OGR Driver on input: %sN)Ú
isinstanceÚstrÚensure_registeredÚlowerÚ_aliasr   ÚcapiÚget_driver_by_namer   ÚintÚ
get_driverr   ÚtypeÚptr)ÚselfÚdr_inputÚnameÚdrivers       ú\/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/django/contrib/gis/gdal/driver.pyÚ__init__zDriver.__init__#   sÔ   € ô �h¤Ô$à×"Ñ"Ô$ð �~‰~Ó 4§;¡;Ñ.Ø—{‘{ 8§>¡>Ó#3Ñ4‘à�ô œd×5Ñ5´kÀ$Ó6GÓHÓI‰FÜ˜¤#Ô&Ø×"Ñ"Ô$Ü—_‘_ XÓ.‰FÜ˜¤(Ô+Ø‰FäØAÄDÈÃNÑRóð ñ
 ÜØCÀhÑNóð ð ˆ�ó    c                 ó   — | j                   S )N)r$   ©r"   s    r&   Ú__str__zDriver.__str__E   s   € Ø�y‰yÐr(   c                 óV   — t        j                  «       st        j                  «        yy)zB
        Attempt to register all the data source drivers.
        N)r   Úget_driver_countÚregister_all©Úclss    r&   r   zDriver.ensure_registeredH   s!   € ô ×$Ñ$Ô&Ü×ÑÕð 'r(   c                 ó*   — t        j                  «       S )zO
        Return the number of GDAL/OGR data source drivers registered.
        )r   r-   r/   s    r&   Údriver_countzDriver.driver_countR   s   € ô
 ×$Ñ$Ó&Ð&r(   c                 óR   — t        t        j                  | j                  «      «      S )zA
        Return description/name string for this driver.
        )r   r   Úget_driver_descriptionr!   r*   s    r&   r$   zDriver.nameY   s   € ô
 œ×4Ñ4°T·X±XÓ>Ó?Ð?r(   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r'   r+   Úclassmethodr   r2   Úpropertyr$   © r(   r&   r
   r
   	   st   „ ñð !ØØ!ØØàØØØñ€Fò òDð ñ ó ð ð ñ'ó ð'ð ñ@ó ñ@r(   r
   N)Úctypesr   Údjango.contrib.gis.gdal.baser   Údjango.contrib.gis.gdal.errorr   Ú"django.contrib.gis.gdal.prototypesr   r   Údjango.utils.encodingr   r   r
   r;   r(   r&   ú<module>rA      s$   ðÝ å 1Ý 7Ý 9ß 8ôU@ˆXõ U@r(   