ó
    ·Rjòp  ã                   ó:  • S r SSKrSSKJr  SSKJr  SSKJr  SSKJ	r	  SSK
JrJrJrJrJrJr  SSKJrJrJrJrJrJrJr  SS	KJrJr  SS
KJrJrJrJ r   SSK!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)g)a  
The LayerMapping class provides a way to map the contents of OGR
vector files (e.g. SHP files) to Geographic-enabled Django models.

For more information, please consult the GeoDjango documentation:
  https://docs.djangoproject.com/en/dev/ref/contrib/gis/layermapping/
é    N)ÚDecimal)ÚInvalidOperation)ÚPath)ÚGeometryField)ÚCoordTransformÚ
DataSourceÚGDALExceptionÚOGRGeometryÚOGRGeomTypeÚSpatialReference)ÚOFTDateÚOFTDateTimeÚ
OFTIntegerÚOFTInteger64ÚOFTRealÚ	OFTStringÚOFTTime)ÚFieldDoesNotExistÚObjectDoesNotExist)ÚconnectionsÚmodelsÚrouterÚtransaction)Ú	force_strc                   ó   • \ rS rSrSrg)ÚLayerMapErroré&   © N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    ÚQD:\diplom_project\venv\Lib\site-packages\django/contrib/gis/utils/layermapping.pyr   r   &   ó   † Úr%   r   c                   ó   • \ rS rSrSrg)ÚInvalidStringé*   r   Nr   r   r%   r&   r)   r)   *   r'   r%   r)   c                   ó   • \ rS rSrSrg)ÚInvalidDecimalé.   r   Nr   r   r%   r&   r,   r,   .   r'   r%   r,   c                   ó   • \ rS rSrSrg)ÚInvalidIntegeré2   r   Nr   r   r%   r&   r/   r/   2   r'   r%   r/   c                   ó   • \ rS rSrSrg)ÚMissingForeignKeyé6   r   Nr   r   r%   r&   r2   r2   6   r'   r%   r2   c                   ó¼  • \ rS rSrSrS\" S5      S\" S5      S\" S5      \" S	5      R                  \" S
5      \" S5      R                  \" S5      \" S5      R                  \" S5      0r0 \R                  \
_\R                  \_\R                  \
_\R                  \
\\4_\R"                  \
\\4_\R$                  \
\4_\R&                  \_\R*                  \_\R.                  \_\R0                  \_\R4                  \
\4_\R6                  \_\R8                  \_\R:                  \_\R<                  \_\R>                  \_\R@                  \
\\4_\RB                  \
\\4\RD                  \
\\4\RF                  \
\\4\RH                  \
\\40Er%       S S jr&S r'S r(S r)S r*S r+S r,S r-S r.S r/S r0S r1S r2SSSSS\3Rh                  S4S jr5Sr6g)!ÚLayerMappingé:   z1A class that maps OGR Layers to GeoDjango Models.é   Ú
MultiPointé   ÚMultiLineStringé   ÚMultiPolygonÚPoint25DÚMultiPoint25DÚLineString25DÚMultiLineString25DÚ
Polygon25DÚMultiPolygon25DNc                 ó4  • [        U[        [        45      (       a  [        X&S9U l        OX l        U R                  U   U l        U
b  U
O[        R                  " U5      U l        [        U R                     nUR                  U l        X0l        Xl        U R                  5         UR                  R                   (       a  U R#                  5       U l        OSnU(       a,  U R'                  U5      U l        U R+                  5       U l        OX€l        U(       a  SSKJn  U" U5        X`l        OSU l        U	(       a  U R5                  U	5        SnX�l        OSU l        Xpl        US:X  a  SU l        gUS:X  a  [<        R>                  U l        g[A        SU-  5      e)	zó
A LayerMapping object is initialized using the given Model (not an instance),
a DataSource (or string path to an OGR-supported data file), and a mapping
dictionary.  See the module level docstring for more details and keyword
argument usage.
)ÚencodingNFr   )ÚlookupÚ
autocommitÚcommit_on_successz!Unrecognized transaction mode: %s)!Ú
isinstanceÚstrr   r   ÚdsÚlayerr   Údb_for_writeÚusingr   ÚopsÚspatial_backendÚmappingÚmodelÚcheck_layerÚfeaturesÚsupports_transformÚgeometry_fieldÚ	geo_fieldÚ	check_srsÚ
source_srsÚcoord_transformÚ	transformÚcodecsrE   rD   Úcheck_uniqueÚuniqueÚtransaction_modeÚtransaction_decoratorr   Úatomicr   )ÚselfrQ   ÚdatarP   rK   rX   rD   r^   rZ   r]   rM   Ú
connectionrE   s                r&   Ú__init__ÚLayerMapping.__init__`   sT  € ô( �dœS¤$˜K×(Ñ(Ü  Ñ9ˆD�GàŒGØ—W‘W˜U‘^ˆŒ
à#Ñ/‘U´V×5HÒ5HÈÓ5OˆŒ
Ü  §¡Ñ,ˆ
Ø)Ÿ~™~ˆÔð ŒØŒ
ð 	×ÑÔð ×Ñ×1×1Ø!×0Ñ0Ó2ˆD�NàˆIö
 Ø"Ÿn™n¨ZÓ8ˆDŒOØ!×1Ñ1Ó3ˆD�Nà&ŒNö õ &á�8ÔØ$�Mà ˆDŒMæØ×Ñ˜fÔ%Ø+ÐØ �KàˆDŒKð !1ÔØ˜|Ó+Ø)-ˆDÕ&ØÐ!4Ó4Ü)4×);Ñ);ˆDÕ&äÐ CÐFVÑ VÓWÐWr%   c                 ó’   • U(       a@  [        U[        [        45      (       a  [        U6 $ [        U[        5      (       a  U$ [        eg)zCheck the `fid_range` keyword.N)rH   ÚtupleÚlistÚsliceÚ	TypeError)ra   Ú	fid_ranges     r&   Úcheck_fid_rangeÚLayerMapping.check_fid_range³   s<   € æÜ˜)¤e¬T ]×3Ñ3Ü˜iÐ(Ð(Ü˜I¤u×-Ñ-Ø Ð ä�àr%   c           
      ó0  ^• SU l         0 U l        U R                  R                  mU R                  R                  nU4S jnU R                  R                  5        GHH  u  p4 U R                  R                  R                  U5      nUR                  R                  n[        U[        5      (       aÏ  U R                   (       a  [        S5      eUR                  n US:X  a  [!        US-   5      nO[!        U5      n U R                  R$                  n	U	R&                  R)                  UR&                  5      (       d5  U R+                  X•5      (       d  [        SU< US:X  a  S	OS
< SU	< S35      eX0l         Xpl        Un
GO[        U[.        R0                  5      (       av  [        U[2        5      (       aV  UR4                  R                  nUR                  5        H)  u  pÍU" U5      n UR                  R                  U5        M+     Un
OŠ[7        S5      eUR                  U R8                  ;  a  [        SU-  5      eU" U5      nX   n[;        XÐR8                  UR                     5      (       d"  [        SU< SUR                  < SU< S35      eUn
X R                  U'   GMK     g! [         a    [        SU-  5      ef = f! ["         a    [        SU-  5      ef = f! [         a)    [        SU< SUR                  R                  < S35      ef = f)z¾
Check the Layer metadata and ensure that it's compatible with the
mapping information and model. Unlike previous revisions, there is no
need to increment through each feature in the Layer.
Fc                 ód   >•  TR                  U 5      nU$ ! [         a    [        SU -  5      ef = f)Nz4Given mapping OGR field "%s" not found in OGR Layer.)ÚindexÚ
ValueErrorr   )Úogr_map_fldÚidxÚ
ogr_fieldss     €r&   Úcheck_ogr_fldÚ/LayerMapping.check_layer.<locals>.check_ogr_fldÑ   sE   ø€ ðØ ×&Ñ& {Ó3�ð
 ˆJøô	 ó Ü#ØJÈ[ÑXóð ðús   ƒ –/z3Given mapping field "%s" not in given Model fields.zDLayerMapping does not support more than one GeometryField per model.r;   Ú25Dz'Invalid mapping for GeometryField "%s".z$Invalid mapping geometry; model has z(dim=3)Ú z, layer geometry type is Ú.zForeignKey mapping field "z	" not in z fields.z.ForeignKey mapping must be of dictionary type.z0Django field type "%s" has no OGR mapping (yet).zOGR field "z" (of type z) cannot be mapped to Django N)Ú
geom_fieldÚfieldsrK   Úfield_typesrP   ÚitemsrQ   Ú_metaÚ	get_fieldr   r   Ú	__class__r    rH   r   Údimr   r	   Ú	geom_typeÚnameÚ
startswithÚ
make_multiÚ	coord_dimr   Ú
ForeignKeyÚdictÚremote_fieldrj   ÚFIELD_TYPESÚ
issubclass)ra   Úogr_field_typesru   Ú
field_nameÚogr_nameÚmodel_fieldÚfld_namer†   ÚgtypeÚltypeÚ
fields_valÚ	rel_modelÚrel_nameÚ	ogr_fieldrs   rt   s                  @r&   rR   ÚLayerMapping.check_layer¿   s×  ø€ ð  ˆŒØˆŒð —Z‘Z×&Ñ&ˆ
ØŸ*™*×0Ñ0ˆõ	ð %)§L¡L×$6Ñ$6×$8Ñ ˆJðØ"Ÿj™j×.Ñ.×8Ñ8¸ÓD�ð #×,Ñ,×5Ñ5ˆHä˜+¤}×5Ñ5Ø—?—?Ü'ð!óð ð (ŸO™O�	ðØ  A“~Ü +¨H°uÑ,<Ó =™ä +¨HÓ 5™ð Ÿ
™
×,Ñ,�à—J‘J×)Ñ)¨%¯*©*×5Ñ5Ø—‘ u×:Ñ:å'ò $°)¸q³.¡YÀbÒ%HË%ðQóð ð #-”Ø!*”Ø(’
Ü˜K¬×):Ñ):×;Ñ;Ü˜h¬×-Ñ-à +× 8Ñ 8× >Ñ >�IØ/7¯~©~Ö/?Ñ+˜Ù+¨IÓ6˜ðØ%ŸO™O×5Ñ5°hÖ?ñ 0@ð "+‘Jä#Ð$TÓUÐUð ×(Ñ(°×0@Ñ0@Ó@Ü'ØJÈXÑUóð ñ
 $ HÓ-�Ø+Ñ0�	ô " )×-=Ñ-=¸k×>SÑ>SÑ-T×UÑUÝ'ã$ i×&8Ô&8»(ðDóð ð )�
à&0�K‰K˜
Ô#òm %9øô
 %ó Ü#ØIÈJÑVóð ðûô. %ó Ü'ØAÀJÑNóð ðûô>  1ó Ý"/ã#+¨Y×-@Ñ-@×-IÔ-Ið!Kó#ð ðús*   Á#%J*ÃKÃ1KÇ*K"Ê*KËKË"3Lc                 ó>  • [        U[        5      (       a  UnOr[        XR                  R                  5       5      (       a  UR                  nO=[        U[
        [        45      (       a  [        U5      nOU R                  R                  nU(       d  [        S5      eU$ )z>Check the compatibility of the given spatial reference object.z#No source reference system defined.)	rH   r   rO   Úspatial_ref_sysÚsrsÚintrI   rK   r   )ra   rX   Úsrs      r&   rW   ÚLayerMapping.check_srs4  sx   € ô �jÔ"2×3Ñ3Ø‰BÜ˜
×$8Ñ$8×$HÑ$HÓ$J×KÑKØ—‘‰BÜ˜
¤S¬# J×/Ñ/Ü! *Ó-‰Bð —‘—‘ˆBæÜÐ EÓFÐFàˆIr%   c                 óâ   • [        U[        [        45      (       a  U H  nX R                  ;  d  M  [        e   g[        U[
        5      (       a  XR                  ;  a  [        eg[        S5      e)zDCheck the `unique` keyword parameter -- may be a sequence or string.zBUnique keyword argument must be set with a tuple, list, or string.N)rH   rh   rg   rP   rq   rI   rj   )ra   r]   Úattrs      r&   r\   ÚLayerMapping.check_uniqueF  sc   € ä�fœt¤U˜m×,Ñ,ã�ØŸ|™|Õ+Ü$Ð$ò ô ˜¤×$Ñ$àŸ\™\Ó)Ü Ð ð *ô ØTóð r%   c                 ó®  • 0 nU R                   R                  5        H›  u  p4U R                  U   n[        U[        5      (       a   U R                  UR                  U5      nOP[        U[        R                  R                  5      (       a  U R                  XU5      nOU R                  X   U5      nXbU'   M�     U$ ! [         a    [        S5      ef = f)zc
Given an OGR Feature, return a dictionary of keyword arguments for
constructing the mapped model.
z)Could not retrieve geometry from feature.)rP   r}   r{   rH   r   Úverify_geomÚgeomr	   r   r   ÚbaseÚ	ModelBaseÚ	verify_fkÚverify_ogr_field)ra   ÚfeatÚkwargsr�   rŽ   r�   Úvals          r&   Úfeature_kwargsÚLayerMapping.feature_kwargsW  sÍ   € ð ˆð %)§L¡L×$6Ñ$6Ö$8Ñ ˆJØŸ+™+ jÑ1ˆKä˜+¤}×5Ñ5ðUØ×*Ñ*¨4¯9©9°kÓB‘Cô ˜K¬¯©×)>Ñ)>×?Ñ?ð —n‘n T¸ÓA‘ð ×+Ñ+¨D©N¸KÓH�ð "%�:Óñ' %9ð* ˆøô %ó UÜ'Ð(SÓTÐTðUús   ÁB>Â>Cc                 ó¼   • [        U R                  [        5      (       a  U R                  XR                     0$ U R                   Vs0 s H  o"X   _M	     sn$ s  snf )z—
Given the feature keyword arguments (from `feature_kwargs`), construct
and return the uniqueness keyword arguments -- a subset of the feature
kwargs.
)rH   r]   rI   )ra   r©   Úflds      r&   Úunique_kwargsÚLayerMapping.unique_kwargsx  sL   € ô �d—k‘k¤3×'Ñ'Ø—K‘K ¯©Ñ!4Ð5Ð5à04·²Ó<²¨˜™Ò$±Ñ<Ð<ùÒ<s   ÁAc           	      óì  • [        U[        5      (       aÝ  [        U[        R                  [        R                  45      (       a®  U R
                  (       a.  UR                  b!  [        UR                  U R
                  5      nOUR                  nUR                  (       aP  UbM  [        U5      UR                  :”  a4  [        UR                  < SUR                  < S[        U5      < S35      eU$ [        U[        5      (       aÂ  [        U[        R                  5      (       a£   [        [        UR                  5      5      nUR%                  5       nUS   nUS   nUR&                  UR(                  -
  nUS:  a  [        USU 5      n	O[        U5      U-   n	X˜:”  a%  [#        S	UR&                  UR(                  U4-  5      eUnU$ [        U[        [        45      (       a7  [        U[        R*                  5      (       a   [-        UR                  5      nU$ UR                  nU$ ! [          a    [#        SUR                  -  5      ef = f! [.         a    [1        S
UR                  -  5      ef = f)z‹
Verify if the OGR Field contents are acceptable to the model field. If
they are, return the verified value, otherwise raise an exception.
Nz& model field maximum string length is z, given z characters.z$Could not construct decimal from: %sr7   r9   r   zeA DecimalField with max_digits %d, decimal_places %d must round to an absolute value less than 10^%d.z$Could not construct integer from: %s)rH   r   r   Ú	CharFieldÚ	TextFieldrD   Úvaluer   Ú
max_lengthÚlenr)   rƒ   r   ÚDecimalFieldr   rI   ÚDecimalInvalidOperationr,   Úas_tupleÚ
max_digitsÚdecimal_placesÚIntegerFieldr›   rq   r/   )
ra   r–   r�   rª   ÚdÚdtupÚdigitsÚd_idxÚmax_precÚn_precs
             r&   r§   ÚLayerMapping.verify_ogr_field„  sB  € ô
 �i¤×+Ñ+´
Øœ&×*Ñ*¬F×,<Ñ,<Ð=÷1
ñ 1
ð �}�} §¡Ñ!<ô   	§¡°·±Ó?‘à—o‘o�à×&×&Ø‘OÜ˜“H˜{×5Ñ5Ó5ä#à"×'Ô'¨×)?Ô)?ÄÀSÆðKóð ðf ˆ
ô_ ˜	¤7×+Ñ+´
Øœ×,Ñ,÷1
ñ 1
ðäœC 	§¡Ó0Ó1�ð —:‘:“<ˆDØ˜!‘WˆFØ˜‘GˆEð #×-Ñ-°×0JÑ0JÑJˆHð �q‹yÜ˜V F U˜^Ó,‘ä˜V› uÑ,�ð Ó Ü$ðBà"×-Ñ-¨{×/IÑ/IÈ8ÐTñUóð ð
 ˆCð ˆ
ô ˜	¤G¬YÐ#7×8Ñ8¼ZØœ×,Ñ,÷>
ñ >
ðÜ˜)Ÿ/™/Ó*�ð ˆ
ð —/‘/ˆCØˆ
øôS +ó Ü$Ø:¸Y¿_¹_ÑLóð ðûôF ó Ü$Ø:¸Y¿_¹_ÑLóð ðús   Ä(H* ÈI È*#IÉ#I3c                 óX  • 0 nUR                  5        H4  u  pVU R                  X   UR                  R                  U5      5      XE'   M6      UR                  R                  U R
                  5      R                  " S0 UD6$ ! [         a    [        SUR                  < SU< 35      ef = f)z|
Given an OGR Feature, the related model and its dictionary mapping,
retrieve the related model for the ForeignKey mapping.
zNo ForeignKey z% model found with keyword arguments: r   )
r}   r§   r~   r   ÚobjectsrM   Úgetr   r2   r    )ra   r¨   r”   Úrel_mappingÚ	fk_kwargsr�   rŽ   s          r&   r¦   ÚLayerMapping.verify_fkÌ  s¢   € ð ˆ	Ø$/×$5Ñ$5Ö$7Ñ ˆJØ$(×$9Ñ$9Ø‘ 	§¡× 9Ñ 9¸*Ó Eó%ˆIÓ!ñ %8ð	Ø×$Ñ$×*Ñ*¨4¯:©:Ó6×:Ò:ÑG¸YÑGÐGøÜ!ó 	Ý#à×%Ô%¢yð2óð ð	ús   Á4B Â(B)c                 óŽ  • U R                   UR                   :w  a  U R                   Ul         U R                  UR                  U5      (       a@  U R                  UR                  R                     n[        U5      nUR                  U5        OUnU R                  (       a  UR                  U R                  5        UR                  $ )z¸
Verify the geometry -- construct and return a GeometryCollection
if necessary (for example if the model field is MultiPolygonField while
the mapped shapefile only contains Polygons).
)	r†   r…   r‚   ÚMULTI_TYPESÚnumr
   ÚaddrZ   Úwkt)ra   r£   r�   Ú
multi_typeÚgs        r&   r¢   ÚLayerMapping.verify_geomå  sŒ   € ð �>‰>˜TŸ^™^Ó+Ø!Ÿ^™^ˆDŒNà�?‰?˜4Ÿ>™>¨;×7Ñ7à×)Ñ)¨$¯.©.×*<Ñ*<Ñ=ˆJÜ˜JÓ'ˆAØ�E‰E�$�KàˆAð
 �>�>Ø�K‰K˜Ÿ™Ô'ð �u‰uˆr%   c                 ó@  • U R                   R                  5       n UR                  R                  U R                  5      R	                  U R
                  R                  S9R                  n[        U R                  U5      $ ! [         a  n[        S5      UeSnAff = f)z,Return the coordinate transformation object.)Úsridz?Could not translate between the data source and model geometry.N)rO   r™   rÅ   rM   rÆ   rV   rÓ   rš   r   rX   Ú	Exceptionr   )ra   ÚSpatialRefSysÚ
target_srsÚexcs       r&   rY   ÚLayerMapping.coord_transform  s‹   € à×,Ñ,×<Ñ<Ó>ˆð	ð ×%Ñ%×+Ñ+¨D¯J©JÓ7ß‘˜$Ÿ.™.×-Ñ-�Ð.ß‘ð ô " $§/¡/°:Ó>Ð>øÜó 	ÜØQóàðûð	ús   œA%B Â
BÂBÂBc                 ód   • U R                   R                  nUR                  U R                  5      $ )zHReturn the GeometryField instance associated with the geographic column.)rQ   r~   r   rz   )ra   Úoptss     r&   rU   ÚLayerMapping.geometry_field  s&   € ð �z‰z×ÑˆØ�~‰~˜dŸo™oÓ.Ð.r%   c                 óŽ   • UR                   U R                  ;   =(       a&    UR                  R                  SUR                  -  :H  $ )z“
Given the OGRGeomType for a geometry and its associated GeometryField,
determine whether the geometry should be turned into a GeometryCollection.
zMulti%s)rÌ   rË   r€   r    Údjango)ra   r‚   r�   s      r&   r…   ÚLayerMapping.make_multi  s@   € ð �M‰M˜T×-Ñ-Ñ-÷ OØ×%Ñ%×.Ñ.°)¸i×>NÑ>NÑ2NÑNð	
r%   Fc                 ó’  ^ ^^^^^^• T R                  U5      nT(       a  TSL d  [        T[        5      (       d  SmOTmUSS4UUU UUUU4S jjn	T R                  b  T R                  U	5      n	T R                  R
                  n
U(       aŽ  [        U[        5      (       ay  X::  at  U(       a  [        S5      eSu  p¼n[        X:U5      n[        U5      n[        U5       H6  u  nnUS-   U:X  a  [        US5      nO[        UU5      n U	" UXÍ5      u  pÍUnM8     gU	" 5         g! [         a    TR                  S	< S
U< S35        e f = f)aº  
Save the contents from the OGR DataSource Layer into the database
according to the mapping dictionary given at initialization.

Keyword Parameters:
 verbose:
   If set, information will be printed subsequent to each model save
   executed on the database.

 fid_range:
   May be set with a slice or tuple of (begin, end) feature ID's to map
   from the data source.  In other words, this keyword enables the user
   to selectively import a subset range of features in the geographic
   data source.

 step:
   If set with an integer, transactions will occur at every step
   interval. For example, if step=1000, a commit would occur after
   the 1,000th feature, the 2,000th feature etc.

 progress:
   When this keyword is set, status information will be printed giving
   the number of features processed and successfully saved.  By default,
   progress information will pe printed every 1000 features processed,
   however, this default may be overridden by setting this keyword with an
   integer for the desired interval.

 stream:
   Status information will be written to this file handle.  Defaults to
   using `sys.stdout`, but any object with a `write` method is supported.

 silent:
   By default, non-fatal error notifications are printed to stdout, but
   this keyword may be set to disable these notifications.

 strict:
   Execution of the model mapping will cease upon the first error
   encountered.  The default behavior is to attempt to continue.
Tiè  r   c           	      óZ  >• U (       a  TR                   U    nOTR                   nU GH˜  nUS-  n TR                  U5      nSnTR                  (       aå   TR                  U5      nTR                  R
                  R                  TR                  5      R                  " S0 UD6nSn[        UTR                  5      n	U	c  [        UTR                     5      n
O>U	R                  n
[        UTR                     5      nU H  nU
R                  U5        M     [        UTR                  U
R                  5        OTR                  " S0 UD6n UR!                  TR                  S9  US-  nT(       a"  TR#                  U(       a  SOS< SU< S35        T(       d  GMw  UT-  S:X  d  GMƒ  TR#                  SX4-  5        GM›     X!4$ ! [         a    TR                  " S0 UD6n N™f = f! [$         al  nT(       a:  T(       d2  TR#                  S	UR&                  -  5        TR#                  S
U-  5        e T(       d  TR#                  SU< SU< S35         S nANÆS nAff = f! [(         a>  nT(       a  e T(       d$  TR#                  SUR&                  < SU< S35         S nAGNS nAff = f)Nr7   FT)rM   ÚUpdatedÚSavedz: Ú
zOFailed to save the feature (id: %s) into the model with the keyword arguments:
z%s
zFailed to save z:
 z
Continuing
zIgnoring Feature ID z
 because: r   z$Processed %d features, saved %d ...
r   )rK   r«   r]   r¯   rQ   rÅ   rM   rÆ   Úgetattrrz   r
   ÚogrrÍ   ÚsetattrrÎ   r   ÚsaveÚwriterÔ   Úfidr   )Ú
feat_rangeÚnum_featÚ	num_savedÚ
layer_iterr¨   r©   Ú	is_updateÚu_kwargsÚmÚ
geom_valuer£   ÚnewrÐ   ÚmsgÚprogressÚprogress_intervalra   ÚsilentÚstreamÚstrictÚverboses                 €€€€€€€r&   Ú_saveÚ LayerMapping.save.<locals>._save_  sQ  ø€ ÞØ!ŸZ™Z¨
Ñ3‘
à!ŸZ™Z�
ä"�Ø˜A‘�ð?Ø!×0Ñ0°Ó6�Fð !&�IØ—{—{ð5ð (,×'9Ñ'9¸&Ó'A˜HØ $§
¡
× 2Ñ 2× 8Ñ 8¸¿¹Ó D× HÒ HÑ TÈ8Ñ T˜AØ(,˜Iô *1°°D·O±OÓ)D˜JØ)Ñ1Ü'2°6¸$¿/¹/Ñ3JÓ'K¡à'1§~¡~ Ü&1°&¸¿¹Ñ2IÓ&J Û), AØ$(§H¡H¨Q¦Kñ *-ä# A t§¡¸¿¹ÕAð
 !ŸJšJÑ0¨Ñ0˜ðàŸ™ T§Z¡Z˜Ñ0Ø! Q™˜	Þ"Ø"ŸL™LÞ;D©iÈ'Ò.QÓSTÐ Uô÷& ‘8 Ð+<Ñ <ÀÖ AØ—L‘LØ?À8ÐBWÑW÷ñM #ðX Ð&Ð&øôK  2ó 5à $§
¢
Ñ 4¨VÑ 4šAð5ûô %ó Þ!æ#)Ø &§¡ð%JØLPÏHÉHñ%Uô!"ð !'§¡¨V°f©_Ô =Ø!Þ!'Ø"ŸLšLÛKQÓSVÐ Wôÿøðûôa %ó æØÞ#ØŸšØFJÇhÄhÓPSÐTôÿùðúsD   ±I"ÁC#GÅAG)ÇG&Ç%G&Ç)
IÇ3A"IÉIÉ"
J*É,3J%Ê%J*NzOThe `step` keyword may not be used in conjunction with the `fid_range` keyword.)r   r   r   r7   z(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-z
Failed to save slice: rã   )rl   rH   r›   r_   rK   rë   r   Úranger¶   Ú	enumerateri   rÔ   rè   )ra   rù   rk   Ústeprô   rö   r÷   rø   Údefault_rangerú   ÚnfeatÚbegrë   rì   ÚindicesÚn_iÚiÚendÚ
step_slicerõ   s   ``  ````           @r&   rç   ÚLayerMapping.save$  sF  þ€ ðd ×,Ñ,¨YÓ7ˆö Ø˜4Ò¤z°(¼C×'@Ñ'@Ø$(Ñ!à$,Ð!à*°QÀ!÷ R	'õ R	'ðh ×%Ñ%Ñ1Ø×.Ñ.¨uÓ5ˆEà—
‘
×#Ñ#ˆÞ”J˜t¤S×)Ñ)¨d«læÜ#ð+óð ð (1Ñ$ˆC˜9Ü˜D¨Ó.ˆGÜ�g“,ˆCä# GÖ,‘��3ð �q‘5˜C“<Ü!& s¨DÓ!1‘Jä!& s¨C£�JðÙ*/°
¸HÓ*PÑ'�HØ’Cò -ñ$ �Gøô !ó Ø—L‘LÛ<EÃzÐRôð ð	ús   ÄD!Ä!%E)r†   rJ   rD   r{   rV   rz   rK   rP   rQ   rX   rO   r_   r^   rZ   r]   rM   )r   Nzutf-8rG   TNN)7r    r!   r"   r#   Ú__doc__r   rÌ   rË   r   Ú	AutoFieldr   ÚBigAutoFieldr   ÚSmallAutoFieldÚBooleanFieldr   r   r¼   Ú
FloatFieldÚ	DateFieldr   ÚDateTimeFieldr   Ú
EmailFieldÚ	TimeFieldr   r·   r²   Ú	SlugFieldr³   ÚURLFieldÚ	UUIDFieldÚBigIntegerFieldÚSmallIntegerFieldÚPositiveBigIntegerFieldÚPositiveIntegerFieldÚPositiveSmallIntegerFieldrŠ   rd   rl   rR   rW   r\   r«   r¯   r§   r¦   r¢   rY   rU   r…   ÚsysÚstdoutrç   r$   r   r%   r&   r5   r5   :   s�  † Ù7ð 	
‰;�|Ó$Ø	‰;Ð(Ó)Ø	‰;�~Ó&Ù�JÓ×#Ñ#¡[°Ó%AÙ�OÓ$×(Ñ(©+Ð6JÓ*KÙ�LÓ!×%Ñ%¡{Ð3DÓ'Eð€KðØ×Ñ˜*ðà×Ñ˜\ðð 	×Ñ˜zðð 	×Ñ˜j¨'°9Ð=ð	ð
 	×Ñ˜j¨'°9Ð=ðð 	×Ñ˜J¨Ð0ðð 	×Ñ˜'ðð 	×Ñ˜kðð 	×Ñ˜9ðð 	×Ñ˜'ðð 	×Ñ˜j¨'Ð2ðð 	×Ñ˜)ðð 	×Ñ˜)ðð 	×Ñ˜)ðð 	�‰˜ðð  	×Ñ˜)ð!ð" 	×Ñ ¨W°iÐ @ð#ð$ 	× Ñ  :¨w¸	Ð"BØ×&Ñ&¨°W¸iÐ(HØ×#Ñ# j°'¸9Ð%EØ×(Ñ(¨:°wÀ	Ð*Jñ+€Kð: ØØØ,ØØØôPXòf
òs1òjò$ò"òB	=òFòPò2ò8ò$/ò
ð ØØØØØ�z‰zØ÷pr%   r5   )*r  r  Údecimalr   r   r¸   Úpathlibr   Údjango.contrib.gis.db.modelsr   Údjango.contrib.gis.gdalr   r   r	   r
   r   r   Údjango.contrib.gis.gdal.fieldr   r   r   r   r   r   r   Údjango.core.exceptionsr   r   Ú	django.dbr   r   r   r   Údjango.utils.encodingr   rÔ   r   r)   r,   r/   r2   r5   r   r%   r&   Ú<module>r$     s‹   ðñó Ý Ý ?Ý å 6÷÷ ÷÷ ñ ÷ Iß >Ó >Ý +ô	�Iô 	ô	�Mô 	ô	�]ô 	ô	�]ô 	ô	˜ô 	÷Z
ò Z
r%   