Fixed #25645 -- Dropped support for SpatiaLite < 4.0.

This commit is contained in:
Tim Graham 2016-05-31 11:31:51 -04:00
parent 62e4f8ec43
commit 47f22e8286
9 changed files with 22 additions and 45 deletions

View file

@ -388,7 +388,7 @@ Function PostGIS Oracle MySQL SpatiaLite
:class:`Distance` X X X (≥ 5.6.1) X
:class:`Envelope` X X X
:class:`ForceRHR` X
:class:`GeoHash` X X (≥ 4.0, LWGEOM)
:class:`GeoHash` X X (LWGEOM)
:class:`Intersection` X X X (≥ 5.6.1) X
:class:`IsValid` X
:class:`Length` X X X X
@ -396,11 +396,11 @@ Function PostGIS Oracle MySQL SpatiaLite
:class:`MemSize` X
:class:`NumGeometries` X X X X
:class:`NumPoints` X X X X
:class:`Perimeter` X X X (≥ 4.0)
:class:`Perimeter` X X X
:class:`PointOnSurface` X X X
:class:`Reverse` X X X (≥ 4.0)
:class:`Reverse` X X X
:class:`Scale` X X
:class:`SnapToGrid` X X (≥ 3.1)
:class:`SnapToGrid` X X
:class:`SymDifference` X X X (≥ 5.6.1) X
:class:`Transform` X X X
:class:`Translate` X X

View file

@ -263,7 +263,7 @@ right-hand rule.
.. class:: GeoHash(expression, **extra)
*Availability*: PostGIS, SpatiaLite (≥ 4.0, LWGEOM)
*Availability*: PostGIS, SpatiaLite (LWGEOM)
Accepts a single geographic field or expression and returns a `GeoHash`__
representation of the geometry.
@ -367,7 +367,7 @@ in the first linestring in the geometry field; otherwise returns ``None``.
.. class:: Perimeter(expression, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite (≥ 4.0)
*Availability*: PostGIS, Oracle, SpatiaLite
Accepts a single geographic field or expression and returns the perimeter of the
geometry field as a :class:`~django.contrib.gis.measure.Distance` object. On
@ -389,7 +389,7 @@ guaranteed to lie on the surface of the field; otherwise returns ``None``.
.. class:: Reverse(expression, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite (≥ 4.0)
*Availability*: PostGIS, Oracle, SpatiaLite
Accepts a single geographic field or expression and returns a geometry with
reversed coordinates.
@ -410,7 +410,7 @@ scaled coordinates by multiplying them with the ``x``, ``y``, and optionally
.. class:: SnapToGrid(expression, *args, **extra)
*Availability*: PostGIS, SpatiaLite (≥ 3.1)
*Availability*: PostGIS, SpatiaLite
Accepts a single geographic field or expression and returns a geometry with all
points snapped to the given grid. How the geometry is snapped to the grid

View file

@ -13,7 +13,7 @@ Program Description Required
:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes (SQLite only) 2.1, 2.0, 1.11, 1.10, 1.9, 1.8, 1.7
:doc:`GeoIP <../geoip>` IP-based geolocation library No 1.4
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 2.2, 2.1, 2.0
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 4.3, 4.2, 4.1, 4.0, 3.0
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 4.3, 4.2, 4.1, 4.0
======================== ==================================== ================================ ===================================
Note that older or more recent versions of these libraries *may* also work
@ -33,7 +33,6 @@ totally fine with GeoDjango. Your mileage may vary.
PostGIS 2.0.0 2012-04-03
PostGIS 2.1.0 2013-08-17
PostGIS 2.2.0 2015-10-17
Spatialite 3.0.0 2011-12-30
Spatialite 4.0.0 2012-11-25
Spatialite 4.1.0 2013-06-04
Spatialite 4.2.0 2014-07-25

View file

@ -61,7 +61,7 @@ Database Library Requirements Supported Versions Notes
PostgreSQL GEOS, PROJ.4, PostGIS 9.2+ Requires PostGIS.
MySQL GEOS 5.5+ Not OGC-compliant; :ref:`limited functionality <mysql-spatial-limitations>`.
Oracle GEOS 11.2+ XE not supported.
SQLite GEOS, GDAL, PROJ.4, SpatiaLite 3.6.+ Requires SpatiaLite 3.0+, pysqlite2 2.5+
SQLite GEOS, GDAL, PROJ.4, SpatiaLite 3.6.+ Requires SpatiaLite 4.0+, pysqlite2 2.5+
================== ============================== ================== =========================================
See also `this comparison matrix`__ on the OSGeo Wiki for

View file

@ -213,6 +213,8 @@ Miscellaneous
the current UTC date/time, instead of a datetime without any timezone
information.
* Support for SpatiaLite < 4.0 is dropped.
.. _deprecated-features-1.11:
Features deprecated in 1.11