| 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 : |
�
�|�eg
� � � d dl Z d dlZd dlZd dlmZmZmZmZ d dlm Z d dl
mZ d dlm
Z
e j d� � Z d dlmZ ej Zn# eee
ef$ r dZY nw xY werdZn3ej dk rg d �Zn#ej d
k rg d�Zn e
dej z � � �ereD ]Z e e� � Ze� n�e�! e
d
d� e� � z � � � ee� � Zej dk rd dlmZ ee� � Zd� Z ed� � Zege_ ee_! d� Z"d� Z#d� Z$ e$� � Z% edeee� � Z&d� Z' e&e'� � Z'd� Z( e(de&ge&� � Z) e)e'� � dS )� N)�CDLL� CFUNCTYPE�c_char_p�c_int)�find_library)�
GDALException)�ImproperlyConfiguredzdjango.contrib.gis)�settings�nt)�gdal302�gdal301�gdal300�gdal204�gdal203�gdal202�gdal201�gdal20�posix)
�gdal�GDALz gdal3.2.0z gdal3.1.0z gdal3.0.0z gdal2.4.0z gdal2.3.0z gdal2.2.0z gdal2.1.0z gdal2.0.0zGDAL is unsupported on OS "%s".zzCould not find the GDAL library (tried "%s"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.z", ")�WinDLLc �V � t j dk r
t | S t | S )z^
Return the correct STDCALL function for certain OSR routines on Win32
platforms.
r )�os�name�lwingdal�lgdal)�funcs �A/usr/lib/python3/dist-packages/django/contrib/gis/gdal/libgdal.py�std_callr @ s# � �
�w�$�����~���T�{�� �GDALVersionInfoc � � t d� � S )z0Return only the GDAL version number information.s RELEASE_NAME��
_version_info� r r �gdal_versionr&