Skip to content

Commit

Permalink
[1.9.x] Added precision about GeoJSON field outputs
Browse files Browse the repository at this point in the history
Backport of 533c109 from master.
  • Loading branch information
claudep committed Oct 12, 2015
1 parent 66319cc commit f35b8f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/ref/contrib/gis/functions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
4 changes: 3 additions & 1 deletion docs/ref/contrib/gis/geos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down

0 comments on commit f35b8f8

Please sign in to comment.