1
0
mirror of https://github.com/django/django.git synced 2025-07-21 10:09:14 +00:00

[1.9.x] Corrected docs claiming AsGML is supported on Oracle.

Backport of ebb85d1e790bb697bff3e0a101c87c5f9c6dff7c from master
This commit is contained in:
Tim Graham 2016-12-15 13:01:00 -05:00
parent 899f53e5da
commit 282f27aed5
2 changed files with 7 additions and 8 deletions

View File

@ -307,7 +307,7 @@ Function PostGIS Oracle MySQL SpatiaLite
==================================== ======= ====== =========== ========== ==================================== ======= ====== =========== ==========
:class:`Area` X X X X :class:`Area` X X X X
:class:`AsGeoJSON` X X :class:`AsGeoJSON` X X
:class:`AsGML` X X X :class:`AsGML` X X
:class:`AsKML` X X :class:`AsKML` X X
:class:`AsSVG` X X :class:`AsSVG` X X
:class:`BoundingCircle` X :class:`BoundingCircle` X

View File

@ -84,7 +84,7 @@ Keyword Argument Description
.. class:: AsGML(expression, version=2, precision=8, **extra) .. class:: AsGML(expression, version=2, precision=8, **extra)
*Availability*: Oracle, PostGIS, SpatiaLite (≥ 2.4.0-RC4) *Availability*: PostGIS, SpatiaLite (≥ 2.4.0-RC4)
Accepts a single geographic field or expression and returns a `Geographic Markup Accepts a single geographic field or expression and returns a `Geographic Markup
Language (GML)`__ representation of the geometry. Language (GML)`__ representation of the geometry.
@ -99,13 +99,12 @@ Example::
===================== ===================================================== ===================== =====================================================
Keyword Argument Description Keyword Argument Description
===================== ===================================================== ===================== =====================================================
``precision`` Not used on Oracle. It may be used to specify the number ``precision`` It may be used to specify the number of significant
of significant digits for the coordinates in the GML digits for the coordinates in the GML representation --
representation -- the default value is 8. the default value is 8.
``version`` Not used on Oracle. It may be used to specify the GML ``version`` It may be used to specify the GML version used, and may
version used, and may only be values of 2 or 3. The only be values of 2 or 3. The default value is 2.
default value is 2.
===================== ===================================================== ===================== =====================================================
__ https://en.wikipedia.org/wiki/Geography_Markup_Language __ https://en.wikipedia.org/wiki/Geography_Markup_Language