Commit f35b8f8e authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.9.x] Added precision about GeoJSON field outputs

Backport of 533c1099 from master.
parent 66319cc5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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::

+3 −1
Original line number Diff line number Diff line
@@ -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::