Fixed #25583 -- Allowed calling transform with CoordTransform even if SRID is invalid.

This commit is contained in:
Sergey Fedoseev 2015-10-24 19:12:38 +05:00 committed by Tim Graham
parent 02ef96c5e5
commit a7bb5af50b
3 changed files with 31 additions and 18 deletions

View file

@ -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``
---------