From 5ce84b8044b87b77eff329ed808e8be493a7cfe6 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 30 Oct 2015 22:56:29 +0500 Subject: [PATCH] Refs #25632 -- Corrected database support docs for GeoDjango DB functions. --- docs/ref/contrib/gis/db-api.txt | 52 +++++++++++++++--------------- docs/ref/contrib/gis/functions.txt | 8 ++--- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index b056b2edb2..94228027e1 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -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 ------------------- diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index f6e8f5e497..a5e4dcbba5 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -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``.