diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-10-11 12:06:05 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-10-12 21:49:37 +0200 |
| commit | f35b8f8e3f811c2f5c13ea96044d740917b16d47 (patch) | |
| tree | 47b408c6eaa2923fee24152dc2a4c6ca29c39335 | |
| parent | 66319cc59724ae28917eea62643d07cc9606897d (diff) | |
[1.9.x] Added precision about GeoJSON field outputs
Backport of 533c1099 from master.
| -rw-r--r-- | docs/ref/contrib/gis/functions.txt | 4 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/geos.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index 06fe57fe99..490a1ef13d 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -55,7 +55,9 @@ AsGeoJSON *Availability*: PostGIS, SpatiaLite Accepts a single geographic field or expression and returns a `GeoJSON -<http://geojson.org/>`_ representation of the geometry. +<http://geojson.org/>`_ representation of the geometry. Note that the result is +not a complete GeoJSON structure but only the ``geometry`` key content of a +GeoJSON structure. See also :doc:`/ref/contrib/gis/serializers`. Example:: diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index d2e4bafe00..47f815d4cb 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -282,7 +282,9 @@ that are a part of this geometry. .. attribute:: GEOSGeometry.json -Returns the GeoJSON representation of the geometry. +Returns the GeoJSON representation of the geometry. Note that the result is not +a complete GeoJSON structure but only the ``geometry`` key content of a +GeoJSON structure. See also :doc:`/ref/contrib/gis/serializers`. .. note:: |
