For example:
{{{
>>> from django.contrib.gis.gdal import SpatialReference
>>> srid = 32630
>>> p4 = SpatialReference(srid).proj4
>>> new_sr = SpatialReference(p4)
>>> new_sr.srid == srid
False
>>> new_sr.srid
6326
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31753>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
I'm afraid Django cannot do anything here, it is probably a GDAL "issue"
(Django is simply getting the `SetFromUserInput` GDAL API result).
In any case, I would discourage using a Proj string to create a
SpatialReference.
--
Ticket URL: <https://code.djangoproject.com/ticket/31753#comment:1>