
    !\i                     6   S r SSKrSSKJr  SSKrSSKrSSKJr  SSKJ	r	  \R                  " SS9\R                  \R                  " SS	S
SSS9\R                  " SS	SSS9\R                  " SSS9\R                  " SS\SS9\R                  " SSSSS9\R                  " SSSSSS9\R                  " S SS!S"S9\R                  " S#S$S%SS&S'S9\R                  " S(SS)S*S9\R                  " S+SS,S-S9\R                  " S.SS/S0S9\R                  " S1SS2S3S9\R                  " S4SS5S6S9\R                  " S7S8SS9S:S9\R                  " S;SS<S=S9\R                  " S>SS?S@S9\R                  " SASSBSCS9\R                  " SDSSESFS9\R                  " SGSHSISJSSKSL9\R                  \R                  \R                   SM 5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       5       rg)Nz4Command access to dataset metadata, stats, and more.    N)asdict)options)	from_gcpsz$Print information about a data file.)
short_helpz--metaaspectmetaTz#Show data file structure (default).)
flag_valuedefaulthelpz--tagstagszShow data file tags.)r	   r   z--namespacezSelect a tag namespace.)r   z--indentz+Indentation level for pretty printed output)r
   typer   z--countmeta_membercountzPrint the count of bands.z-tz--dtypedtypezPrint the dtype name.z--nodatanodatazPrint the nodata value.z-fz--formatz--driverdriverzPrint the format driver.z--shapeshapez Print the (height, width) shape.z--heightheightz"Print the height (number of rows).z--widthwidthz$Print the width (number of columns).z--crscrsz!Print the CRS as a PROJ.4 string.z--boundsboundsz:Print the boundary coordinates (left, bottom, right, top).z-rz--resreszPrint pixel width and height.z--lnglatlnglatz'Print longitude and latitude at center.z--statsstatsz@Print statistics (min, max, mean) of a single band (use --bidx).z
--checksumchecksumz5Print integer checksum of a single band (use --bidx).z--subdatasetssubdatasetszPrint subdataset identifiers.z-vz--tell-me-morez	--verboseverbosezOutput extra information.)is_flagr   c	                    U R                   S      [        R                  " U5       n	[        U	R                  5      n
U
S   U
S   4U
S'   U	R
                  U
S'   U	R                  (       aH  U	R                  R                  5       nU(       a	  SU 3U
S'   O#U	R                  R                  5       U
S'   OSU
S'   U	R                  U
S	'   U	R                   Vs/ s H  oR                  PM     snU
S
'   U	R                   Vs/ s H  o=(       d    SPM     snU
S'   U	R                  U
S'   U	R                  U
S'   U	R                   VVs/ s H  o Vs/ s H  oR                  PM     snPM      snnU
S'   U	R                  (       a  U	R!                  5       U
S'   U	R"                  u  nnU(       a  SU Vs/ s H  nUR%                  5       PM     sn0U
S'   U(       aD  UR                  5       nU(       a  SU 3U
S   S'   O)U	R                  R                  5       U
S   S'   OSU
S   S'   ['        U5      U
S   S'   U(       a]  U	R)                  5        Vs/ s H  n[%        U5      PM     nnUU
S'   U	R                   Vs/ s H  nU	R+                  U5      PM     snU
S'   US:X  Ga@  US:X  a+  U	R,                   H  n[.        R0                  " U5        M     GOKUS:X  a6  U	R3                  U5      n[.        R0                  " SR5                  US95        GOUS:X  a/  [.        R0                  " [7        U	R+                  U5      5      5        OU(       al  [9        X   [:        [<        45      (       a6  [.        R0                  " SR?                  [A        [6        X   5      5      5        O[.        R0                  " X   5        Og[.        R0                  " [B        RD                  " U
SUS95        O<US:X  a6  [.        R0                  " [B        RD                  " U	RG                  US9US95        SSS5        SSS5        gs  snf s  snf s  snf s  snnf s  snf s  snf s  snf ! , (       d  f       N;= f! , (       d  f       g= f)z`Print metadata about the dataset as JSON.

Optionally print a single metadata item as a string.
envr   r   r   r   zEPSG:r   Nr   colorinterpunitsdescriptionsindexes
mask_flagsr   pointsgcps	transformr   r   r   r   z${st.min} {st.max} {st.mean} {st.std})st T)	sort_keysindentr   )ns)r,   )$objrasterioopendictprofiler   r   to_epsg	to_stringr   r!   namer"   r#   r$   mask_flag_enumsr   r'   r   r   r   r   r   clickecho
statisticsformatstr
isinstancelisttuplejoinmapjsondumpsr   )ctxinputr   r,   	namespacer   r   bidxmaskedsrcinfoepsgcir"   flagsflagr'   gcps_crspsor   ir5   r)   s                           T/var/www/html/kml_chatgpt/mouzaenv/lib/python3.13/site-packages/rasterio/rio/info.pyrI   rI      s}   j 
u-CKK hg7WX7777??$D %dVnU!gg//1UDKggU14A2wwA]47II>I5$I>W"//^++Y696I6IK6IU%)"'$II%)6IK\ 77 ZZ\DNh$4&@4aqxxz4&@ADL''),1$.DL'*-''*;*;*=DL'&*VU#(1$DL%*-))+6+BVBZ+E6!DM9<EAQEDVm+OODJJt$ ,'^^D)

AHHBHOP
*

3s||D123d/$??JJsxxC1B(CDEJJt01

4::dd6JKvJJ

388y81&ACA .  B>) K 'A 7EY .-s   Q!B-QP,)Q=P13Q	P;
P6"P;
)AQ/Q
	BQQ"Q7QF	QQ!,
Q6P;
;Q
Q	Q!!
Q/)__doc__rA   attrr   r7   r/   rasterio.rior   rasterio.transformr   commandfile_in_argoptionintbidx_opt
masked_optpass_contextrI        rR   <module>r`      s   :       ( @AhVT8:hV)+m";<j$S@B i7.0dI}*,j-H,.dJ
Mh-/i757j-H79i79;g}68j-H12 dG]u24j-H<>i7#$ lMj#$ o}24d$k9d.0GC   04$$>428;97/.,0	B =+:  B^GCr_   