+
    ûwéj!N  ã                   ó0  € ^ RI t ^ RIt^ RIt^ RIHtHtHtHtHtH	t	H
t
Ht ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHtHtHtHtHt ^ R
IH t H!t! ^ RI"H#t# ^ RI$H%t% ^ RI&H't'H(t( ^ RI)H*t*  ! R R]%4      t+ ! R R],4      t- ! R R]4      t.R# )é    N)Ú	addressofÚbyrefÚc_bufferÚc_char_pÚc_doubleÚc_intÚc_void_pÚ	string_at)ÚPath)ÚDriver)ÚGDALException)Úraster©ÚBandList)ÚGDALRasterBase)ÚGDAL_RESAMPLE_ALGORITHMSÚVSI_DELETE_BUFFER_ON_READÚVSI_FILESYSTEM_PREFIXÚVSI_MEM_FILESYSTEM_BASE_PATHÚVSI_TAKE_BUFFER_OWNERSHIP)ÚSpatialReferenceÚSRSException)Ú
json_regex)ÚSuspiciousOperation)Úforce_bytesÚ	force_str)Úcached_propertyc                   ó   € ] tR t^#tRtRtR# )ÚDisallowedRasterLookupz·
Types that force GDALRaster to open in write mode or values that could
reference external sources, are not allowed in lookup contexts.
Instead, wrap values in GDALRaster explicitly.
© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r    ó    Ú\D:\Novelx\Nexus_chitfund_web\venv\Lib\site-packages\django/contrib/gis/gdal/raster/source.pyr   r   #   s   † õr'   r   c                   óª   a a€ ] tR t^+t oRR
RRRR/tV 3R lt]R 4       t]P                  R 4       t]R 4       t	]	P                  R 4       t	R	t
VtV ;t# )ÚTransformPointÚoriginÚscaleÚskewc                óì   <€ VP                   V P                  V,          ^ ,          ,          pVP                   V P                  V,          ^,          ,          p\        SV `  W4.4       Wn        W n        R# ©r   N)ÚgeotransformÚindicesÚsuperÚ__init__Ú_rasterÚ_prop)Úselfr   ÚpropÚxÚyÚ	__class__s   &&&  €r(   r3   ÚTransformPoint.__init__2   sX   ø€ Ø×Ñ §¡¨TÕ 2°1Õ 5Õ6ˆØ×Ñ §¡¨TÕ 2°1Õ 5Õ6ˆÜ‰Ñ˜!˜Ô ØŒØŽ
r'   c                ó   € V ^ ,          # )r   r    ©r6   s   &r(   r8   ÚTransformPoint.x9   ó   € à�A�wˆr'   c                óž   € V P                   P                  pWV P                  V P                  ,          ^ ,          &   W P                   n        R# r/   ©r4   r0   r1   r5   ©r6   ÚvalueÚgtfs   && r(   r8   r>   =   ó5   € à�l‰l×'Ñ'ˆØ+0ˆD�L‰L˜Ÿ™Õ$ QÕ'Ñ(Ø$'�‰Ö!r'   c                ó   € V ^,          # )é   r    r=   s   &r(   r9   ÚTransformPoint.yC   r?   r'   c                óž   € V P                   P                  pWV P                  V P                  ,          ^,          &   W P                   n        R# )rG   NrA   rB   s   && r(   r9   rH   G   rE   r'   )r5   r4   )r   é   )rG   é   )é   é   )r!   r"   r#   r$   r1   r3   Úpropertyr8   Úsetterr9   r&   Ú__classdictcell__Ú__classcell__©r:   Ú__classdict__s   @@r(   r*   r*   +   s}   ù‡ € à�&Ø�Ø�ð€Gõð ñó ðð ‡X�Xñ(ó ð(ð
 ñó ðð ‡X�Xñ(ó ÷(ð (r'   r*   c                   ó  a a€ ] tR t^Nt oRt]P                  tR R ltV 3R lt	R t
R t]R 4       t]R 4       tR t]R	 4       t]R
 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]P4                  R 4       t]R 4       t]P4                  R 4       t]R 4       t]P4                  R 4       t]R 4       t]R 4       t]R 4       t]R 4       t ]R 4       t!R!R lt"R"R lt#R#R lt$]R 4       t%Rt&Vt'V ;t(# )$Ú
GDALRasterz(
Wrap a raster GDAL Data Source object.
c                ó^  € V'       d   ^M^ V n         \        P                  ! 4        V P                  V4      p\	        V\
        4      '       d…   VP                  \        4      '       g8   \        P                  P                  V4      '       g   \        RV,          4      h \        P                  ! \        V4      V P                   4      V n        R# \	        V\"        4      '       dÎ   ^V n         \%        V4      p\'        V4      V n        \        P                  P+                  \,        \        \.        P0                  ! 4       4      4      p\        P2                  ! \        V4      \5        V P(                  4      V\6        4        \        P                  ! \        V4      V P                   4      V n        R# \	        V\:        4      '       Ed=   ^V n         \        VP=                  RR4      4      pVP>                  R8w  d,   RV9  d%   \        RP!                  VP>                  4      4      hR	V9  g   R
V9  d   \        R4      hRV9  d   \        R4      h. pVP=                  R/ 4      PA                  4        FC  w  r‰RP!                  W‰4      p
VPC                  V
PE                  4       PG                  4       4       KE  	  VPC                  R4       \H        \%        V4      ,          ! V!  p\        PJ                  ! VP                  \        VP=                  RR4      4      VR	,          VR
,          VP=                  R\%        VP=                  R. 4      4      4      VP=                  R^4      \5        V4      4      V n        \M        VP=                  R. 4      4       F¿  w  r¼V PN                  V,          pRV9   dP   VR,          Vn(        VPP                  e4   RV9  g   RV9   g   RV9   d   VPS                  VPP                  3RR7       VPS                  VP=                  R4      VP=                  R4      VP=                  R4      VP=                  R4      R7       KÁ  	  VP=                  R4      V n*        RV9   d+   VR,          w  V PV                  n,        V PV                  n-        RV9   d+   VR,          w  V P\                  n,        V P\                  n-        RV9   d-   VR,          w  V P^                  n,        V P^                  n-        R# R# \	        V\`        4      '       d	   Wn        R# \        RP!                  \c        V4      4      4      h  \         d    p\        RP!                  Y4      4      hRp?ii ; i  \         d,    \        P8                  ! \        T4      4       \        R4      hi ; i) rG   z(Unable to read raster source input "%s".z+Could not open the datasource at "{}" ({}).Nz1Failed creating VSI raster from the input buffer.ÚdriverÚMEMÚnamez5Specify name for creation of raster with driver "{}".ÚwidthÚheightz;Specify width and height attributes for JSON or dict input.Úsridz$Specify srid for JSON or dict input.Úpapsz_optionsz{}={}Ú Únr_of_bandsÚbandsÚdatatypeÚnodata_valueÚdataÚsizeÚshape)rc   re   Úoffset)rc   rd   re   rf   r+   r,   r-   z%Invalid data source input type: "{}".)rG   rG   )2Ú_writer   Úensure_registeredÚ_preprocess_inputÚ
isinstanceÚstrÚ
startswithr   ÚosÚpathÚexistsr   ÚcapiÚopen_dsr   Ú_ptrÚformatÚbytesÚlenr   Ú	_ds_inputÚjoinr   ÚuuidÚuuid4Úcreate_vsi_file_from_mem_bufferr   r   Úunlink_vsi_fileÚdictÚgetrY   ÚitemsÚappendÚupperÚencoder   Ú	create_dsÚ	enumerater`   rb   rc   Úsrsr+   r8   r9   r,   r-   r	   Útype)r6   Úds_inputÚwriteÚerrrd   Úvsi_pathrW   r]   ÚkeyÚvalÚoptionÚiÚ
band_inputÚbands   &&&           r(   r3   ÚGDALRaster.__init__U   s‰  € ß ‘a aˆŒÜ× Ò Ô"à×)Ñ)¨(Ó3ˆô �h¤×$Ò$Ø×&Ñ&Ô'<×=Ò=ÄbÇgÁgÇnÁnØ÷Gò Gô $Ø>ÀÕIóð ðä ŸLšL¬°XÓ)>ÀÇÁÓL�–	ô
 ˜¤%×(Ò(àˆDŒKä�x“=ˆDô & hÓ/ˆDŒNä—w‘w—|‘|Ô$@Ä#ÄdÇjÂjÃlÓBSÓTˆHä×0Ò0Ü˜HÓ%Ü�d—n‘nÓ%ØÜ)ô	ðYÜ ŸLšL¬°XÓ)>ÀÇÁÓL�–	ô
 ˜¤$×'Ó'àˆDŒKô ˜HŸL™L¨°5Ó9Ó:ˆFð �{‰{˜eÔ#¨°hÔ(>Ü#ØK×RÑRØŸ™óóð ð ˜hÔ&¨(¸(Ô*BÜ#ØQóð ð
 ˜XÔ%Ü#Ð$JÓKÐKð ˆMØ$ŸL™L¨¸"Ó=×CÑCÖE‘�Ø Ÿ™¨Ó1�Ø×$Ñ$ V§\¡\£^×%:Ñ%:Ó%<Ö=ñ Fð × Ñ  Ô&ô &¬¨MÓ(:Ö:¸]ÑKˆMô ŸšØ—‘Ü˜HŸL™L¨°Ó4Ó5Ø˜Õ!Ø˜Õ"Ø—‘˜]¬C°·±¸WÀbÓ0IÓ,JÓKØ—‘˜Z¨Ó+Ü�mÓ$óˆDŒIô "+¨8¯<©<¸ÀÓ+DÖ!E‘�Ø—z‘z !•}�Ø! ZÔ/Ø(2°>Õ(B�DÔ%ð ×(Ñ(Ò4Ø jÔ0Ø! ZÔ/Ø" jÔ0àŸ	™	¨×(9Ñ(9Ð';À6˜	ÔJà—	‘	Ø#Ÿ™¨Ó/Ø#Ÿ™¨Ó/Ø$Ÿ.™.¨Ó1Ø%Ÿ>™>¨(Ó3ð	 ö ñ "Fð*  —|‘| FÓ+ˆDŒHð ˜8Ô#Ø/7¸Õ/AÑ,�—‘”˜tŸ{™{œ}à˜(Ô"Ø-5°gÕ->Ñ*�—
‘
”˜dŸj™jœlà˜Ô!Ø+3°FÕ+;Ñ(�—	‘	”˜TŸY™Yž[ñ "ä˜¤(×+Ò+ð !ŽIäØ7×>Ñ>¼tÀH»~ÓNóð øôc !ô Ü#ØA×HÑHÈÓWóð ûðûô2 !ô Yä×$Ò$¤[°Ó%:Ô;Ü#Ð$WÓXÐXðYús$   Â!/U	 Æ/U6 Õ	U3ÕU.Õ.U3Õ66V,c                óš   <€ V P                   '       d*   \        P                  ! \        V P                  4      4       \
        SV `  4        R # ©N)Ú_is_vsimem_basedrp   r{   r   rY   r2   Ú__del__)r6   r:   s   &€r(   r”   ÚGDALRaster.__del__Û   s0   ø€ Ø× × Ð ä× Ò ¤¨T¯Y©YÓ!7Ô8Ü‰‰Ör'   c                ó   € V P                   # r’   )rY   r=   s   &r(   Ú__str__ÚGDALRaster.__str__á   s   € Ø�y‰yÐr'   c                óL   € R\        \        V P                  4      4      ,          # )z:
Short-hand representation because WKB may be very large.
z<Raster object at %s>)Úhexr   rr   r=   s   &r(   Ú__repr__ÚGDALRaster.__repr__ä   s   € ð '¬¬Y°t·y±yÓ-AÓ)BÕBÐBr'   c                óØ   € \        V\        4      '       d3   \        P                  ! V4      '       d   \        P
                  ! V4      p\        V\        4      '       d   \        V4      pV# )z¬
Preprocess json and Path inputs. This converts json strings to
dictionaries, which are then parsed just like direct dictionary inputs.
This also stringifies Path objects.
)rj   rk   r   ÚmatchÚjsonÚloadsr   )Úclsr†   s   &&r(   ri   ÚGDALRaster._preprocess_inputê   sJ   € ô �h¤×$Ò$¬×)9Ò)9¸(×)CÒ)CÜ—z’z (Ó+ˆHÜ�h¤×%Ò%Ü˜8“}ˆHØˆr'   c                óø   € V P                  V4      p\        V\        \        \        34      '       dH   \        V4      p\        V4      R8”  d   RVR,          \        V4      3,          pRV R2p\        V4      hR# )zÓ
Raise DisallowedRasterLookup for values inappropriate in lookups:
- No dicts, which GDALRaster(write=False) might still write to.
- No strings, bytes, or Paths, which might fetch over the virtual
  filesystem.
i   u   %sâ€¦ <trimmed %d bytes string>:Ni   NzCannot use object zŠ for a spatial lookup parameter. If this is a raster, wrap it with GDALRaster() before using it in a lookup to enable writing or fetching.N)ri   rj   r|   rk   rt   Úreprru   r   )r¡   r†   Ú
normalizedÚ
value_reprÚmsgs   &&   r(   Úcheck_raster_lookup_valueÚ$GDALRaster.check_raster_lookup_value÷   s‰   € ð ×*Ñ*¨8Ó4ˆ
Ü�j¤4¬¬eÐ"4×5Ò5Ü˜jÓ)ˆJÜ�:‹ Ô%Ø>Ø˜uÕ%Ü˜
“OðBõ �
ð
 % Z Lð 1Mð Mð ô
 )¨Ó-Ð-ñ 6r'   c                ó€   € V P                   '       g   \        R4      h\        P                  ! V P                  4       R# )zå
Flush all data from memory into the source file if it exists.
The data that needs flushing are geotransforms, coordinate systems,
nodata_values and pixel values. This function will be called
automatically wherever it is needed.
z9Raster needs to be opened in write mode to change values.N)rg   r   rp   Úflush_dsrr   r=   s   &r(   Ú_flushÚGDALRaster._flush  s/   € ð �{�{ˆ{ÜØKóð ô 	�Š�d—i‘iÖ r'   c                óØ   € V P                   '       g   R # \        4       p\        P                  ! \	        V P
                  4      \        V4      \        4      p\        W!P                  4      # r’   )
r“   r   rp   Úget_mem_buffer_from_vsi_filer   rY   r   r   r
   rC   )r6   Ú
out_lengthÚdats   &  r(   Ú
vsi_bufferÚGDALRaster.vsi_buffer  sR   € à×$×$Ð$Ùä“Wˆ
ä×/Ò/Ü˜Ÿ	™	Ó"Ü�*ÓÜ%ó
ˆô ˜×.Ñ.Ó/Ð/r'   c                óh   € V P                   ;'       d     V P                  P                  \        4      # r’   )rr   rY   rl   r   r=   s   &r(   Úis_vsi_basedÚGDALRaster.is_vsi_based+  s$   € à�y‰y×HÐH˜TŸY™Y×1Ñ1Ô2GÓHÐHr'   c                óh   € V P                   ;'       d     V P                  P                  \        4      # r’   )rr   rY   rl   r   r=   s   &r(   r“   ÚGDALRaster._is_vsimem_based/  s$   € à�y‰y×OÐO˜TŸY™Y×1Ñ1Ô2NÓOÐOr'   c                óT   € \        \        P                  ! V P                  4      4      # )zQ
Return the name of this raster. Corresponds to filename
for file-based rasters.
)r   rp   Úget_ds_descriptionrr   r=   s   &r(   rY   ÚGDALRaster.name3  s   € ô œ×0Ò0°·±Ó;Ó<Ð<r'   c                óX   € \         P                  ! V P                  4      p\        V4      # )z.
Return the GDAL Driver used for this raster.
)rp   Úget_ds_driverrr   r   )r6   Ú	ds_drivers   & r(   rW   ÚGDALRaster.driver;  s#   € ô
 ×&Ò& t§y¡yÓ1ˆ	Ü�iÓ Ð r'   c                óB   € \         P                  ! V P                  4      # )z
Width (X axis) in pixels.
)rp   Úget_ds_xsizerr   r=   s   &r(   rZ   ÚGDALRaster.widthC  ó   € ô
 × Ò  §¡Ó+Ð+r'   c                óB   € \         P                  ! V P                  4      # )z
Height (Y axis) in pixels.
)rp   Úget_ds_ysizerr   r=   s   &r(   r[   ÚGDALRaster.heightJ  rÃ   r'   c                ó–   €  \         P                  ! V P                  4      pV'       g   R# \        VRR7      #   \         d     R# i ; i)z6
Return the SpatialReference used in this GDALRaster.
NÚwkt)Úsrs_type)rp   Úget_ds_projection_refrr   r   r   )r6   rÈ   s   & r(   r„   ÚGDALRaster.srsQ  s@   € ð
	Ü×,Ò,¨T¯Y©YÓ7ˆCßÙÜ# C°%Ô8Ð8øÜô 	Úð	ús   ‚'9 ¬9 ¹AÁAc                ó0  € \        V\        4      '       d   TpM3\        V\        \        34      '       d   \        V4      pM\	        R4      h\
        P                  ! V P                  VP                  P                  4       4       V P                  4        R# )z—
Set the spatial reference used in this GDALRaster. The input can be
a SpatialReference or any parameter accepted by the SpatialReference
constructor.
z/Could not create a SpatialReference from input.N)rj   r   Úintrk   Ú
ValueErrorrp   Úset_ds_projection_refrr   rÈ   r�   r¬   )r6   rC   r„   s   && r(   r„   rË   ^  sf   € ô �eÔ-×.Ò.Ø‰CÜ˜¤¤S˜z×*Ò*Ü" 5Ó)‰CäÐNÓOÐOÜ×"Ò" 4§9¡9¨c¯g©g¯n©nÓ.>Ô?Ø�‰Žr'   c                ó.   € V P                   P                  # )z1
Shortcut to access the srid of this GDALRaster.
)r„   r\   r=   s   &r(   r\   ÚGDALRaster.sridn  s   € ð
 �x‰x�}‰}Ðr'   c                ó   € Wn         R# )z5
Shortcut to set this GDALRaster's srs from an srid.
N)r„   )r6   rC   s   &&r(   r\   rÑ   u  s	   € ð
 Žr'   c                ó�   € \         ^,          ! 4       p\        P                  ! V P                  \	        V4      4       \        V4      # )z²
Return the geotransform of the data source.
Return the default geotransform if it does not exist or has not been
set previously. The default is [0.0, 1.0, 0.0, 0.0, 0.0, -1.0].
)r   rp   Úget_ds_geotransformrr   r   Úlist)r6   rD   s   & r(   r0   ÚGDALRaster.geotransform|  s2   € ô ˜!Ž|ÓˆÜ× Ò  §¡¬E°#«JÔ7Ü�C‹yÐr'   c                óF  € \        V4      ^8w  g;   \        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       g   \        R4      h\        ^,          ! V!  p\        P
                  ! V P                  \        V4      4       V P                  4        R# )z)Set the geotransform for the data source.c              3   óN   "  € T F  p\        V\        \        34      x € K  	  R # 5ir’   )rj   rÍ   Úfloat)Ú.0r8   s   & r(   Ú	<genexpr>Ú*GDALRaster.geotransform.<locals>.<genexpr>‹  s   é € Ð&SÉFÀq¤z°!´c¼5°\×'BÐ'BËFùs   ‚#%FTz.Geotransform must consist of 6 numeric values.N)	ru   ÚallrÎ   r   rp   Úset_ds_geotransformrr   r   r¬   )r6   Úvaluess   &&r(   r0   rÖ   ˆ  sk   € ô ˆv‹;˜!Ô§3£3Ñ&SÉFÓ&S§3§3¢3Ñ&SÉFÓ&S×#SÒ#SÜÐMÓNÐNä˜Q–, Ñ(ˆÜ× Ò  §¡¬E°&«MÔ:Ø�‰Žr'   c                ó   € \        V R4      # )z#
Coordinates of the raster origin.
r+   ©r*   r=   s   &r(   r+   ÚGDALRaster.origin’  s   € ô
 ˜d HÓ-Ð-r'   c                ó   € \        V R4      # )z0
Pixel scale in units of the raster projection.
r,   rá   r=   s   &r(   r,   ÚGDALRaster.scale™  s   € ô
 ˜d GÓ,Ð,r'   c                ó   € \        V R4      # )z'
Skew of pixels (rotation parameters).
r-   rá   r=   s   &r(   r-   ÚGDALRaster.skew   s   € ô
 ˜d FÓ+Ð+r'   c                ó
  € V P                   P                  V P                  P                  V P                  ,          ,           pV P                   P                  V P                  P                  V P
                  ,          ,           p\        WP                   P                  4      p\        WP                   P                  4      p\        W P                   P                  4      p\        W P                   P                  4      pW5WF3# )z:
Return the extent as a 4-tuple (xmin, ymin, xmax, ymax).
)r+   r8   r,   rZ   r9   r[   ÚminÚmax)r6   ÚxvalÚyvalÚxminÚxmaxÚyminÚymaxs   &      r(   ÚextentÚGDALRaster.extent§  s�   € ð �{‰{�}‰}˜tŸz™zŸ|™|¨d¯j©jÕ8Õ8ˆØ�{‰{�}‰}˜tŸz™zŸ|™|¨d¯k©kÕ9Õ9ˆä�4Ÿ™Ÿ™Ó'ˆÜ�4Ÿ™Ÿ™Ó'ˆÜ�4Ÿ™Ÿ™Ó'ˆÜ�4Ÿ™Ÿ™Ó'ˆà˜4Ð%Ð%r'   c                ó   € \        V 4      # r’   r   r=   s   &r(   r`   ÚGDALRaster.bands·  s   € ä˜‹~Ðr'   c                óN  € VP                  RV P                  4       VP                  RV P                  4       VP                  RV P                  P                  4       VP                  RV P
                  4       VP                  RV P                  4       VP                  RV P                  4       VP                  RV P                  P                  4       RV9  d2   V P                  R	,           V P                  P                  ,           VR&   R
V9  d%   V P                  ^ ,          P                  4       VR
&   V P                   Uu. uF  pRVP                  /NK  	  upVR&   \        VRR7      p\        V,          p\        P                   ! V P"                  V P                  P$                  P'                  4       VP"                  VP                  P$                  P'                  4       VRV\)        4       \)        4       \)        4       4
       VP+                  4        V# u upi )a­  
Return a warped GDALRaster with the given input characteristics.

The input is expected to be a dictionary containing the parameters
of the target raster. Allowed values are width, height, SRID, origin,
scale, skew, datatype, driver, and name (filename).

By default, the warp functions keeps all parameters equal to the values
of the original source raster. For the name of the target raster, the
name of the source raster will be used and appended with
_copy. + source_driver_name.

In addition, the resampling algorithm can be specified with the
"resampling" input parameter. The default is NearestNeighbor. For a
list of all options consult the GDAL_RESAMPLE_ALGORITHMS constant.
rZ   r[   r\   r+   r,   r-   rW   rY   ú_copy.ra   rb   r`   T©r‡   ç        )Ú
setdefaultrZ   r[   r„   r\   r+   r,   r-   rW   rY   r`   ra   rb   rU   r   rp   Úreproject_imagerr   rÈ   r�   r	   r¬   )r6   r†   Ú
resamplingÚ	max_errorÚbndÚtargetÚ	algorithms   &&&&   r(   ÚwarpÚGDALRaster.warp»  s¡  € ð& 	×Ñ˜G T§Z¡ZÔ0Ø×Ñ˜H d§k¡kÔ2Ø×Ñ˜F D§H¡H§M¡MÔ2Ø×Ñ˜H d§k¡kÔ2Ø×Ñ˜G T§Z¡ZÔ0Ø×Ñ˜F D§I¡IÔ.à×Ñ˜H d§k¡k×&6Ñ&6Ô7à˜Ô!Ø#Ÿy™y¨8Õ3°d·k±k×6FÑ6FÕFˆH�VÑà˜XÔ%Ø#'§:¡:¨a¥=×#9Ñ#9Ó#;ˆH�ZÑ ð LPÏ:Ê:ÓVÉ:ÀC˜n¨c×.>Ñ.>Ó?É:ÑVˆ�Ñô ˜H¨DÔ1ˆô -¨ZÕ8ˆ	ô 	×ÒØ�I‰IØ�H‰H�L‰L×ÑÓ!Ø�K‰KØ�J‰J�N‰N×!Ñ!Ó#ØØØÜ‹JÜ‹JÜ‹Jô	
ð 	�‰Œàˆùò3 Ws   Å
H"c                ó  € V'       d   TpMŠV P                   P                  R8w  d0   V P                  R,           V P                   P                  ,           pM@\        P                  P	                  \
        \        \        P                  ! 4       4      4      p\        \        P                  ! V P                   P                  \        V4      V P                  \        4       \        4       \!        4       \!        4       4      V P"                  R7      # )z"Return a clone of this GDALRaster.rX   rõ   rö   )rW   rY   rm   rn   rw   r   rk   rx   ry   rU   rp   Úcopy_dsrr   r   r   r   r	   rg   )r6   rY   Ú
clone_names   && r(   ÚcloneÚGDALRaster.cloneù  s«   € çØ‰JØ�[‰[×Ñ Ô&ØŸ™ XÕ-°·±×0@Ñ0@Õ@‰JäŸ™Ÿ™Ô&BÄCÌÏ
Ê
ËÓDUÓVˆJÜÜ�LŠLØ—‘× Ñ Ü˜JÓ'Ø—	‘	Ü“Ü“
Ü“
Ü“
óð —+‘+ô
ð 	
r'   c                óÞ  € \         V,          p\        V\        4      '       d   TpM3\        V\        \        34      '       d   \        V4      pM\        R4      hVP                  V P                  8X  d4   V'       d   W P                  P                  8X  d   V P                  V4      # \        P                  ! V P                  V P                  P                  P                  4       VP                  P                  4       VV\!        4       4      p\#        V4      pRVP                  RVP$                  RVP&                  RVP(                  P*                  VP(                  P,                  .RVP.                  P*                  VP.                  P,                  .RVP0                  P*                  VP0                  P,                  ./p	V'       d   W)R&   V'       d   W9R	&   V P3                  W”VR
7      # )zS
Return a copy of this raster reprojected into the given spatial
reference system.
zETransform only accepts SpatialReference, string, and integer objects.r\   rZ   r[   r+   r,   r-   rW   rY   )rú   rû   )r   rj   r   rÍ   rk   Ú	TypeErrorr\   rW   rY   r  rp   Úauto_create_warped_vrtrr   r„   rÈ   r�   r	   rU   rZ   r[   r+   r8   r9   r,   r-   rÿ   )
r6   r„   rW   rY   rú   rû   rþ   Ú
target_srsrý   rc   s
   &&&&&&    r(   Ú	transformÚGDALRaster.transform  so  € ô -¨ZÕ8ˆ	ä�cÔ+×,Ò,Ø‰JÜ˜œc¤3˜Z×(Ò(Ü)¨#Ó.‰Jäðóð ð
 �?‰?˜dŸi™iÔ'·¸6Ç[Á[×EUÑEUÔ;UØ—:‘:˜dÓ#Ð#ä×,Ò,Ø�I‰IØ�H‰H�L‰L×ÑÓ!Ø�N‰N×!Ñ!Ó#ØØÜ‹Jó
ˆô ˜FÓ#ˆð �J—O‘OØ�V—\‘\Ø�f—m‘mØ�v—}‘}—‘¨¯©¯©Ð8Ø�f—l‘l—n‘n f§l¡l§n¡nÐ5Ø�V—[‘[—]‘] F§K¡K§M¡MÐ2ð
ˆ÷ Ø#�‰NçØ�‰Lð �y‰y˜À	ˆyÓJÐJr'   c                ó`   € \         P                  ! V P                  R4      P                  4       # )zx
Return information about this raster in a string format equivalent
to the output of the gdalinfo command line utility.
N)rp   Úget_ds_infoÚptrÚdecoder=   s   &r(   ÚinfoÚGDALRaster.infoC  s$   € ô ×Ò §¡¨$Ó/×6Ñ6Ó8Ð8r'   )rv   rr   rg   r„   )F)ÚNearestNeighbourr÷   r’   )NNr  r÷   ))r!   r"   r#   r$   r%   rp   Úclose_dsÚ
destructorr3   r”   r—   r›   Úclassmethodri   r¨   r¬   rN   r²   r   rµ   r“   rY   rW   rZ   r[   r„   rO   r\   r0   r+   r,   r-   rð   r`   rÿ   r  r
  r  r&   rP   rQ   rR   s   @@r(   rU   rU   N   sþ  ù‡ € ñð —‘€JôDõLòòCð ñ
ó ð
ð ñ.ó ð.ò,!ð ñ0ó ð0ð ñIó ðIð ñPó ðPð ñ=ó ð=ð ñ!ó ð!ð ñ,ó ð,ð ñ,ó ð,ð ñ
ó ð
ð 	‡Z�Zñó ðð ñó ðð 
‡[�[ñó ðð ñ	ó ð	ð ×Ññó ðð ñ.ó ð.ð ñ-ó ð-ð ñ,ó ð,ð ñ&ó ð&ð ñó ðô<ô|
ô*3Kðj ñ9ó ÷9ð 9r'   rU   )/rŸ   rm   rx   Úctypesr   r   r   r   r   r   r	   r
   Úpathlibr   Údjango.contrib.gis.gdal.driverr   Údjango.contrib.gis.gdal.errorr   Ú"django.contrib.gis.gdal.prototypesr   rp   Ú#django.contrib.gis.gdal.raster.bandr   Ú#django.contrib.gis.gdal.raster.baser   Ú$django.contrib.gis.gdal.raster.constr   r   r   r   r   Údjango.contrib.gis.gdal.srsr   r   Údjango.contrib.gis.geometryr   Údjango.core.exceptionsr   Údjango.utils.encodingr   r   Údjango.utils.functionalr   r   rÕ   r*   rU   r    r'   r(   Ú<module>r#     su   ðÛ Û 	Û ÷	÷ 	ó 	õ å 1Ý 7Ý =Ý 8Ý >÷õ ÷ GÝ 2Ý 6ß 8Ý 3ôÐ0ô ô (�Tô  (ôF{9�ö {9r'   