1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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