﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31753	SpatialReference srid -> proj4 -> srid returns wrong SRID	Riccardo	nobody	"A SpatialReference object with a specific SRID (e.g. 32630 - https://epsg.io/32630) can be instantiated and then transformed into a proj or proj4 string (method .proj/.proj4). If that string is then used to instantiate a new SpatialReference object, that object will have a different SRID, encoding a different type of projection (e.g. 6326 - https://epsg.io/6326).

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
}}}
"	Bug	closed	GIS	dev	Normal	invalid	SRID; SpatialReference; GDAL		Unreviewed	0	0	0	0	0	0
