mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Added precision about GeoJSON field outputs
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
@@ -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::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user