summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-07-18 14:50:08 +0200
committerClaude Paroz <claude@2xlibre.net>2015-07-20 20:22:29 +0200
commit1da170a203819ffda7764e53e3c268b8fc2ab452 (patch)
tree0d859a9c1ff4e7ffdee6f3bc09e536ff93e58c0b /docs
parent774c16d16ed67d7cf12bc2b2752768b544bdb363 (diff)
Fixed #25141 -- Diminished GDAL dependence during geojson serialization
Only require GDAL if contained geometries need coordinate transformations. Thanks drepo for the report and Tim Graham for the review.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/serializers.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/serializers.txt b/docs/ref/contrib/gis/serializers.txt
index 54b6c5727c..59266940e3 100644
--- a/docs/ref/contrib/gis/serializers.txt
+++ b/docs/ref/contrib/gis/serializers.txt
@@ -7,9 +7,17 @@ GeoJSON Serializer
.. module:: django.contrib.gis.serializers.geojson
:synopsis: Serialization of GeoDjango models in the GeoJSON format.
-GeoDjango provides a specific serializer for the `GeoJSON`__ format. The GDAL
-library is required for this serializer. See :doc:`/topics/serialization` for
-more information on serialization.
+GeoDjango provides a specific serializer for the `GeoJSON`__ format. See
+:doc:`/topics/serialization` for more information on serialization.
+
+The GDAL library is required if any of the serialized geometries need
+coordinate transformations (that is if the geometry's spatial reference system
+differs from the ``srid`` serializer option).
+
+.. versionchanged:: 1.9
+
+ The GeoJSON serializer no longer needs GDAL if all geometries are in the
+ same coordinate system as the ``srid`` serializer option.
__ http://geojson.org/