Refs #25632 -- Corrected database support docs for GeoDjango DB functions.
This commit is contained in:
parent
cdb17dcb64
commit
5ce84b8044
|
@ -302,36 +302,36 @@ Database functions
|
|||
The following table provides a summary of what geography-specific database
|
||||
functions are available on each spatial backend.
|
||||
|
||||
==================================== ======= ====== ===== ==========
|
||||
Method PostGIS Oracle MySQL SpatiaLite
|
||||
==================================== ======= ====== ===== ==========
|
||||
:class:`Area` X X X X
|
||||
:class:`AsGeoJSON` X X
|
||||
:class:`AsGML` X X X
|
||||
:class:`AsKML` X X
|
||||
:class:`AsSVG` X X
|
||||
==================================== ======= ====== =========== ==========
|
||||
Function PostGIS Oracle MySQL SpatiaLite
|
||||
==================================== ======= ====== =========== ==========
|
||||
:class:`Area` X X X X
|
||||
:class:`AsGeoJSON` X X
|
||||
:class:`AsGML` X X X
|
||||
:class:`AsKML` X X
|
||||
:class:`AsSVG` X X
|
||||
:class:`BoundingCircle` X
|
||||
:class:`Centroid` X X X
|
||||
:class:`Difference` X X X
|
||||
:class:`Distance` X X X X
|
||||
:class:`Envelope` X X
|
||||
:class:`Centroid` X X X X
|
||||
:class:`Difference` X X X
|
||||
:class:`Distance` X X X (≥ 5.6.1) X
|
||||
:class:`Envelope` X X X
|
||||
:class:`ForceRHR` X
|
||||
:class:`GeoHash` X
|
||||
:class:`Intersection` X X X
|
||||
:class:`Length` X X X X
|
||||
:class:`Intersection` X X X
|
||||
:class:`Length` X X X X
|
||||
:class:`MemSize` X
|
||||
:class:`NumGeometries` X X X
|
||||
:class:`NumPoints` X X X
|
||||
:class:`Perimeter` X X X
|
||||
:class:`PointOnSurface` X X X
|
||||
:class:`Reverse` X X X (≥ 4.0)
|
||||
:class:`Scale` X X
|
||||
:class:`SnapToGrid` X X
|
||||
:class:`SymDifference` X X X
|
||||
:class:`Transform` X X X
|
||||
:class:`Translate` X X
|
||||
:class:`Union` X X X
|
||||
==================================== ======= ====== ===== ==========
|
||||
:class:`NumGeometries` X X X X
|
||||
:class:`NumPoints` X X X X
|
||||
:class:`Perimeter` X X X (≥ 4.0)
|
||||
:class:`PointOnSurface` X X X
|
||||
:class:`Reverse` X X X (≥ 4.0)
|
||||
:class:`Scale` X X
|
||||
:class:`SnapToGrid` X X (≥ 3.1)
|
||||
:class:`SymDifference` X X X
|
||||
:class:`Transform` X X X
|
||||
:class:`Translate` X X
|
||||
:class:`Union` X X X (≥ 5.6.1) X
|
||||
==================================== ======= ====== =========== ==========
|
||||
|
||||
Aggregate Functions
|
||||
-------------------
|
||||
|
|
|
@ -176,7 +176,7 @@ Centroid
|
|||
|
||||
.. class:: Centroid(expression, **extra)
|
||||
|
||||
*Availability*: PostGIS, Oracle, SpatiaLite
|
||||
*Availability*: MySQL, PostGIS, Oracle, SpatiaLite
|
||||
|
||||
Accepts a single geographic field or expression and returns the ``centroid``
|
||||
value of the geometry.
|
||||
|
@ -241,7 +241,7 @@ Envelope
|
|||
|
||||
.. class:: Envelope(expression, **extra)
|
||||
|
||||
*Availability*: PostGIS, SpatiaLite
|
||||
*Availability*: MySQL, PostGIS, SpatiaLite
|
||||
|
||||
Accepts a single geographic field or expression and returns the geometry
|
||||
representing the bounding box of the geometry.
|
||||
|
@ -311,7 +311,7 @@ NumGeometries
|
|||
|
||||
.. class:: NumGeometries(expression, **extra)
|
||||
|
||||
*Availability*: PostGIS, Oracle, SpatiaLite
|
||||
*Availability*: MySQL, PostGIS, Oracle, SpatiaLite
|
||||
|
||||
Accepts a single geographic field or expression and returns the number of
|
||||
geometries if the geometry field is a collection (e.g., a ``GEOMETRYCOLLECTION``
|
||||
|
@ -322,7 +322,7 @@ NumPoints
|
|||
|
||||
.. class:: NumPoints(expression, **extra)
|
||||
|
||||
*Availability*: PostGIS, Oracle, SpatiaLite
|
||||
*Availability*: MySQL, PostGIS, Oracle, SpatiaLite
|
||||
|
||||
Accepts a single geographic field or expression and returns the number of points
|
||||
in the first linestring in the geometry field; otherwise returns ``None``.
|
||||
|
|
Loading…
Reference in New Issue