+
    ûwéj�  ã                   ób   € ^ 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 R4      tR# )	é    )ÚGeometryField)ÚDistance)ÚArea)ÚNotSupportedError)Úcached_propertyc                   ó�  a a€ ] tR t^	t oRtRtRtRtRtRt	Rt
]R 4       tR?tRt/ t0 RkRkRkR	kR
kRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkR kR!kR"kR#kR$kR%kR&kR'kR(kR)kR*kR+kR,kR-kR.ktRtR/ tR0 tR1 tR2 tR3 t]R4 4       tR5 tV 3R6 ltR7 tR8 tR9 tR: t]! ]4      t V 3R; lt!R< t"R= t#R> t$R?t%Vt&V ;t'# )@ÚBaseSpatialOperationsFNz%sc                ó   € V P                   # ©N)Úselect©Úselfs   &ÚeD:\Novelx\Nexus_chitfund_web\venv\Lib\site-packages\django/contrib/gis/db/backends/base/operations.pyÚselect_extentÚ#BaseSpatialOperations.select_extent   s   € à�{‰{Ðó    Ú r   Ú	AsGeoJSONÚAsGMLÚAsKMLÚAsSVGÚAsWKBÚAsWKTÚAzimuthÚBoundingCircleÚCentroidÚClosestPointÚ
Differencer   ÚDistanceSpheroidÚEnvelopeÚForcePolygonCWÚFromWKBÚFromWKTÚGeoHashÚGeometryDistanceÚGeometryTypeÚIntersectionÚIsEmptyÚIsValidÚLengthÚLineLocatePointÚ	MakeValidÚMemSizeÚNumDimensionsÚNumGeometriesÚ	NumPointsÚ	PerimeterÚPointOnSurfaceÚReverseÚRotateÚScaleÚ
SnapToGridÚSymDifferenceÚ	TransformÚ	TranslateÚUnionc                ó   € \        R 4      h)z:Aggregate extent not implemented for this spatial backend.©ÚNotImplementedError©r   ÚboxÚsrids   &&&r   Úconvert_extentÚ$BaseSpatialOperations.convert_extentU   s   € Ü!ØHó
ð 	
r   c                ó   € \        R 4      h)z=Aggregate 3D extent not implemented for this spatial backend.r<   r>   s   &&&r   Úconvert_extent3dÚ&BaseSpatialOperations.convert_extent3dZ   s   € Ü!ØKó
ð 	
r   c                ó   € R V,          # )z'%s'© )r   Únames   &&r   Úgeo_quote_nameÚ$BaseSpatialOperations.geo_quote_name`   s   € Ø˜�}Ðr   c                ó   € \        R4      h)zP
Return the database column type for the geometry field on
the spatial backend.
zGsubclasses of BaseSpatialOperations must provide a geo_db_type() methodr<   )r   Úfs   &&r   Úgeo_db_typeÚ!BaseSpatialOperations.geo_db_typed   s   € ô
 "ØUó
ð 	
r   c                ó   € \        R4      h)z]
Return the distance parameters for the given geometry field,
lookup value, and lookup type.
z:Distance operations not available on this spatial backend.r<   )r   rL   ÚvalueÚlookup_types   &&&&r   Úget_distanceÚ"BaseSpatialOperations.get_distancem   s   € ô
 "ØHó
ð 	
r   c                ó~   € V f   R# V P                   VP                   8X  d   R# VP                   f   \        R4      hR# )NFz6Cannot transform a spatial value to an undefined SRID.T)r@   Ú
ValueError)rP   Úfields   &&r   Ú_must_transform_valueÚ+BaseSpatialOperations._must_transform_valuev   s6   € àŠ=ÙØ�:‰:˜Ÿ™Ô#ÙØ�:‰:ÒÜÐUÓVÐVÙr   c                ó<  € \        VR4      '       dc   VP                  V4      w  rEV P                  VP                  V4      '       d+   V P	                  R4      pV RV R2p. VOVP
                  N5pWE3# V P                  W!4      '       d?   V P	                  R4      pV RV P                   R2pW"P
                  VP
                  3pWE3# V P                  P                  P                  '       d   V P                   R2W!P
                  33# V P                   R2V33# )zØ
Return the placeholder for the given geometry field with the given
value. Depending on the spatial backend, the placeholder may contain a
stored procedure call to the transformation function of the spatial
backend.
Úas_sqlr8   Ú(z, %s)z(%s, %s), %s)z(%s, %s)z(%s))
ÚhasattrÚcompilerW   Úoutput_fieldÚspatial_function_namer@   Ú	from_textÚ
connectionÚfeaturesÚhas_spatialrefsys_table)r   rL   rP   ÚcompilerÚsqlÚparamsÚtransform_funcs   &&&&   r   Úget_geom_placeholder_sqlÚ.BaseSpatialOperations.get_geom_placeholder_sql€   s  € ô �5˜(×#Ò#Ø"×*Ñ*¨5Ó1‰KˆCØ×)Ñ)¨%×*<Ñ*<¸a×@Ò@Ø!%×!;Ñ!;¸KÓ!H�Ø'Ð(¨¨#¨¨eÐ4�Ø*˜6Ð* 1§6¡6Ñ*�Ø�;ÐØ×'Ñ'¨×1Ò1Ø!×7Ñ7¸ÓDˆNØ#Ð$ A d§n¡nÐ%5°]ÐCˆCØŸZ™Z¨¯©Ð0ˆFØ�;ÐØ�_‰_×%Ñ%×=×=Ð=Ø—n‘nÐ% XÐ.°¿¹°Ð?Ð?ð —n‘nÐ% TÐ*¨U¨HÐ4Ð4r   c                ó”   <€ \        WP                  4      '       d   \        R VP                  ,          4      h\        SV `  V4       R# )zA%s spatial aggregation is not supported by this database backend.N)Ú
isinstanceÚdisallowed_aggregatesr   rH   ÚsuperÚcheck_expression_support)r   Ú
expressionÚ	__class__s   &&€r   rn   Ú.BaseSpatialOperations.check_expression_support™   s?   ø€ Ü�j×"<Ñ"<×=Ò=Ü#ØSØ—/‘/õ"óð ô 	‰Ñ(¨Ö4r   c                ó   € \        R 4      h)z;Aggregate support not implemented for this spatial backend.r<   )r   Úagg_names   &&r   Úspatial_aggregate_nameÚ,BaseSpatialOperations.spatial_aggregate_name¡   s   € Ü!ØIó
ð 	
r   c                óž   € WP                   9   d   \        R V,          4      hV P                  P                  WP                  V,           4      # )z-This backend doesn't support the %s function.)Úunsupported_functionsr   Úfunction_namesÚgetÚgeom_func_prefix)r   Ú	func_names   &&r   r_   Ú+BaseSpatialOperations.spatial_function_name¦   sG   € Ø×2Ñ2Ô2Ü#Ø?À)ÕKóð ð ×"Ñ"×&Ñ& y×2GÑ2GÈ)Õ2SÓTÐTr   c                ó   € \        R 4      h)zMSubclasses of BaseSpatialOperations must provide a geometry_columns() method.r<   r   s   &r   Úgeometry_columnsÚ&BaseSpatialOperations.geometry_columns®   s   € Ü!ðó
ð 	
r   c                ó   € \        R 4      h)zKsubclasses of BaseSpatialOperations must a provide spatial_ref_sys() methodr<   r   s   &r   Úspatial_ref_sysÚ%BaseSpatialOperations.spatial_ref_sys´   s   € Ü!ðó
ð 	
r   c                ó¦   <€ \         SV `  V4      p\        VP                  \        4      '       d!   VP                  V P                  V4      4       V# r   )rm   Úget_db_convertersrk   r^   r   ÚappendÚget_geometry_converter)r   ro   Ú
convertersrp   s   && €r   r„   Ú'BaseSpatialOperations.get_db_converters¼   sD   ø€ Ü‘WÑ.¨zÓ:ˆ
Ü�j×-Ñ-¬}×=Ò=Ø×Ñ˜d×9Ñ9¸*ÓEÔFØÐr   c                ó   € \        R 4      h)zSSubclasses of BaseSpatialOperations must provide a get_geometry_converter() method.r<   )r   ro   s   &&r   r†   Ú,BaseSpatialOperations.get_geometry_converterÂ   s   € Ü!ð/ó
ð 	
r   c                ó   € VP                  V P                  4      '       d4   V P                  P                  P                  '       d   R # \	        R4      hVP                  V P                  4      pV'       d   \        P                  ! V4      # R# )Úsq_mz2Area on geodetic coordinate systems not supported.N)Úgeodeticra   rb   Úsupports_area_geodeticr=   Ú
units_nameÚAreaMeasureÚunit_attname)r   rV   r�   s   && r   Úget_area_att_for_fieldÚ,BaseSpatialOperations.get_area_att_for_fieldÈ   sm   € Ø�>‰>˜$Ÿ/™/×*Ò*Ø�‰×'Ñ'×>×>Ð>ÙÜ%ØDóð ð ×)Ñ)¨$¯/©/Ó:ˆJßÜ"×/Ò/°
Ó;Ð;ñ r   c                ó  € R pVP                  V P                  4      '       d+   V P                  P                  P                  '       d   RpV# VP	                  V P                  4      pV'       d   \
        P                  ! V4      pV# )NÚm)r�   ra   rb   Úsupports_distance_geodeticr�   ÚDistanceMeasurer‘   )r   rV   Údist_attÚunitss   &&  r   Úget_distance_att_for_fieldÚ0BaseSpatialOperations.get_distance_att_for_fieldÔ   sj   € ØˆØ�>‰>˜$Ÿ/™/×*Ò*Ø�‰×'Ñ'×B×BÐBØ�ð
 ˆð ×$Ñ$ T§_¡_Ó5ˆEßÜ*×7Ò7¸Ó>�Øˆr   rG   )(Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚpostgisÚ
spatialiteÚmariadbÚmysqlÚoracleÚspatial_versionr   r   r   rl   rz   rx   rw   r`   rA   rD   rI   rM   rR   ÚstaticmethodrW   rh   rn   rt   r_   r~   r�   r   Údistance_expr_for_lookupr„   r†   r’   rš   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)rp   Ú__classdict__s   @@r   r	   r	   	   s  ù‡ € ð €GØ€JØ€GØ€EØ€FØ€Oð €Fàñó ðð ÐàÐð €Nð*Øð*àð*ð 	ð*ð 	ð	*ð
 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð 	ð*ð  	ð!*ð" 	ð#*ð$ 	ð%*ð& 	ð'*ð( 	ð)*ð* 	ð+*ð, 	ð-*ð. 	ð/*ð0 	ð1*ð2 	ð3*ð4 	ð5*ð6 	ð7*ð8 	ð9*ð: 	ð;*ð< 	ð=*ð> 	ð?*ð@ 	ðA*ðB 	ðC*ðD 	ðE*ðF 	ðG*ðH 	ðI*ðJ 	ðK*ðL 	ðM*ðN 	ðO*ðP 	ðQ*ðR 	ðS*ÐðZ €Iò
ò

òò
ò
ð ñó ðò5õ25ò
ò
Uò
ò
ñ  ,¨HÓ5Ðõò
ò
<÷	ò 	r   r	   N)Údjango.contrib.gis.db.modelsr   Ú&django.contrib.gis.db.models.functionsr   Údjango.contrib.gis.measurer   r�   r—   Ú	django.dbr   Údjango.utils.functionalr   r	   rG   r   r   Ú<module>r±      s#   ðÝ 6Ý ;Ý :Ý BÝ 'Ý 3÷Tó Tr   