mirror of https://github.com/django/django.git
Updated an old note about GEOSGeometry.transform
This commit is contained in:
parent
d4ea4eea79
commit
b0a58b9085
|
@ -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``
|
||||
---------
|
||||
|
|
Loading…
Reference in New Issue