Updated an old note about GEOSGeometry.transform

This commit is contained in:
Claude Paroz 2014-11-22 12:20:17 +01:00
parent d4ea4eea79
commit b0a58b9085
1 changed files with 2 additions and 10 deletions

View File

@ -550,16 +550,8 @@ is returned instead.
.. note::
Requires GDAL.
.. note::
Prior to 1.3, this method would silently no-op if GDAL was not available.
Now, a :class:`~django.contrib.gis.geos.GEOSException` is raised as
application code relying on this behavior is in error. In addition,
use of this method when the SRID is ``None`` or less than 0 now also generates
a :class:`~django.contrib.gis.geos.GEOSException`.
Requires GDAL. Raises :class:`~django.contrib.gis.geos.GEOSException` if
GDAL is not available or if the SRID is ``None`` or less than 0.
``Point``
---------