GeoJSON Serializer
GeoJSON Serializer
GeoDjango provides a specific serializer for the GeoJSON format. See Serializing Django objects 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).
Changed in Django 1.9:
The GeoJSON serializer no longer needs GDAL if all geometries are in the same coordinate system as the srid
serializer option.
The geojson
serializer is not meant for round-tripping data, as it has no deser