From a7bb5af50be7b0efbb784011a41fd25fdfe4d42c Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Sat, 24 Oct 2015 19:12:38 +0500 Subject: Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid. --- docs/ref/contrib/gis/geos.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index c9979b415a..776e70c5a3 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -553,6 +553,14 @@ is returned instead. Requires GDAL. Raises :class:`~django.contrib.gis.geos.GEOSException` if GDAL is not available or if the geometry's SRID is ``None`` or less than 0. + It doesn't impose any constraints on the geometry's SRID if called with a + :class:`~django.contrib.gis.gdal.CoordTransform` object. + + .. versionchanged:: 1.10 + + In previous versions, it required the geometry's SRID to be a positive + integer even if it was called with a + :class:`~django.contrib.gis.gdal.CoordTransform` object. ``Point`` --------- -- cgit v1.3