
    !\i                     
   S r SSKJrJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      rg)zEnumerations.    )EnumIntEnumc                        \ rS rSrSrSrSrSrg)TransformDirection   a  Coordinate transform direction

Forward transform direction defined as image pixel (row, col) to 
geographic/projected (x, y) coordinates. Reverse transform direction defined as
geographic/projected (x, y) to image pixel (row, col) coordinates.

Notes
-----
The convention for transform direction for RPC based coordinate transform is
typically the opposite of what is previously described. For consistency
all coordinate transforms methods use the same convention.
   r    N)__name__
__module____qualname____firstlineno____doc__forwardreverse__static_attributes__r	       Q/var/www/html/kml_chatgpt/mouzaenv/lib/python3.13/site-packages/rasterio/enums.pyr   r      s     GGr   r   c                        \ rS rSrSrSrSrSrg)TransformMethod   	transformgcpsrpcsr	   N)r
   r   r   r   affiner   r   r   r	   r   r   r   r      s    FDDr   r   c                       \ rS rSrSrSrSrSrSrSr	Sr
SrS	rS
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!Sr"S r#S!r$S"r%S#r&S$r'S%r(g&)'ColorInterp   z!Raster band color interpretation.r   r            r            	   
                                 r                         !   "   #   $   %   r	   N))r
   r   r   r   r   	undefinedgraygreypaletteredgreenbluealphahue
saturation	lightnesscyanmagentayellowblackYCbCrpancoastalrededgenirswirmwirlwirtirother_irsar_kasar_ksar_kusar_xsar_csar_ssar_lsar_pr   r	   r   r   r   r      s    +IDDG
CEDE
CJIDGFE
A	B	B
CGG
CDDD
CH
 FEFEEEEEr   r   c                   T    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrSrSrSrSrg)
ResamplingF   a5  Available warp resampling algorithms.

Attributes
----------
nearest
    Nearest neighbor resampling (default, fastest algorithm, worst interpolation quality).
bilinear
    Bilinear resampling.
cubic
    Cubic resampling.
cubic_spline
    Cubic spline resampling.
lanczos
    Lanczos windowed sinc resampling.
average
    Average resampling, computes the weighted average of all non-NODATA contributing pixels.
mode
    Mode resampling, selects the value which appears most often of all the sampled points.
gauss
    Gaussian resampling, Note: not available to the functions in rio.warp.
max
    Maximum resampling, selects the maximum value from all non-NODATA contributing pixels. (GDAL >= 2.0)
min
    Minimum resampling, selects the minimum value from all non-NODATA contributing pixels. (GDAL >= 2.0)
med
    Median resampling, selects the median value of all non-NODATA contributing pixels. (GDAL >= 2.0)
q1
    Q1, first quartile resampling, selects the first quartile value of all non-NODATA contributing pixels. (GDAL >= 2.0)
q3
    Q3, third quartile resampling, selects the third quartile value of all non-NODATA contributing pixels. (GDAL >= 2.0)
sum
    Sum, compute the weighted sum of all non-NODATA contributing pixels. (GDAL >= 3.1)
rms
    RMS, root mean square / quadratic mean of all non-NODATA contributing pixels. (GDAL >= 3.3)

Notes
----------
The first 8, 'nearest', 'bilinear', 'cubic', 'cubic_spline',
'lanczos', 'average', 'mode', and 'gauss', are available for making
dataset overviews.

'max', 'min', 'med', 'q1', 'q3' are only supported in GDAL >= 2.0.0.

'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos',
'average', 'mode' are always available (GDAL >= 1.10).

'sum' is only supported in GDAL >= 3.1.

'rms' is only supported in GDAL >= 3.3.

Note: 'gauss' is not available to the functions in rio.warp.
r   r   r   r   r    r   r!   r"   r#   r$   r%   r&   r'   r(   r)   r	   N)r
   r   r   r   r   nearestbilinearcubiccubic_splinelanczosaveragemodegaussmaxminmedq1q3sumrmsr   r	   r   r   r`   r`   F   sU    3h GHELGGDE
C
C
C	B	B
C
Cr   r`   c                   <    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrg)OverviewResampling   a\  Available Overview resampling algorithms.

The first 8, 'nearest', 'bilinear', 'cubic', 'cubic_spline',
'lanczos', 'average', 'mode', and 'gauss', are available for making
dataset overviews.

'nearest', 'bilinear', 'cubic', 'cubic_spline', 'lanczos',
'average', 'mode' are always available (GDAL >= 1.10).

'rms' is only supported in GDAL >= 3.3.

r   r   r   r   r    r   r!   r"   r)   r	   N)r
   r   r   r   r   rb   rc   rd   re   rf   rg   rh   ri   rp   r   r	   r   r   rr   rr      s6     GHELGGDE
Cr   rr   c                   T    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rSrSrSrSrSrSrSrSrg)Compression   zAvailable compression algorithms for GeoTIFFs.

Note that compression options for EXR, MRF, etc are not included
in this enum.
JPEGLZWPACKBITSDEFLATECCITTRLE	CCITTFAX3	CCITTFAX4LZMANONEZSTDLERCLERC_DEFLATE	LERC_ZSTDWEBPJPEG2000r	   N)r
   r   r   r   r   jpeglzwpackbitsdeflateccittrle	ccittfax3	ccittfax4lzmanonezstdlerclerc_deflate	lerc_zstdwebpjpeg2000r   r	   r   r   ru   ru      sT    
 D
CHGHIIDDDD!LIDHr   ru   c                        \ rS rSrSrSrSrSrg)Interleaving   PIXELLINEBANDr	   N)r
   r   r   r   pixellinebandr   r	   r   r   r   r      s    EDDr   r   c                   $    \ rS rSrSrSrSrSrSrg)	MaskFlags   r   r   r    r#   r	   N)	r
   r   r   r   	all_validper_datasetrC   nodatar   r	   r   r   r   r      s    IKEFr   r   c                   4    \ rS rSrSrSrSrSrSrSr	Sr
S	rS
rg)PhotometricInterp   
MINISBLACK
MINISWHITERGBCMYKYCbCrCIELABICCLABITULABr	   N)r
   r   r   r   rJ   whitergbcmykycbcrcielabicclabitulabr   r	   r   r   r   r      s*    EE
CDEFFFr   r   c                        \ rS rSrSrSrSrSrg)MergeAlg   z"Available rasterization algorithmsREPLACEADDr	   N)r
   r   r   r   r   replaceaddr   r	   r   r   r   r      s    ,G
Cr   r   c                   @    \ rS rSrSrSrSrSrSrSr	Sr
\S	 5       rS
rg)
WktVersion   z=
 .. versionadded:: 1.3.0

Supported CRS WKT string versions
	WKT2_2015WKT2	WKT2_2018	WKT1_GDALWKT1	WKT1_ESRIc                 J    US:X  a  [         R                  $ [        SU 35      e)N	WKT2_2019zInvalid value for WktVersion: )r   r   
ValueError)clsvalues     r   	_missing_WktVersion._missing_   s)    K'''9%ABBr   r	   N)r
   r   r   r   r   r   r   r   r   r   r   classmethodr   r   r	   r   r   r   r      s=     IDIIDI C Cr   r   N)r   enumr   r   r   r   r   r`   rr   ru   r   r   r   r   r   r	   r   r   <module>r      s       d 
)' )XC CL 0$ .4   t C Cr   