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:48:29 +0200 |
| commit | 533c10998ad45854208d7e4b89d3c077faf16b8a (patch) | |
| tree | 36b185f4dd6e3fba653a96af7b84f4a95cab55d5 /docs | |
| parent | a82e21b0f9ac613db3354d46539cb97c897ea663 (diff) | |
Added precision about GeoJSON field outputs
Diffstat (limited to 'docs')
| -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:: |
