Removed doc reference to pre-1.5 PostGIS

This commit is contained in:
Claude Paroz 2014-11-13 14:38:19 +01:00
parent 7fd1f3a645
commit e541bbd0dc
1 changed files with 7 additions and 8 deletions

View File

@ -107,10 +107,10 @@ a flat surface is a straight line, the shortest path between two points on a cur
surface (such as the earth) is an *arc* of a `great circle`__. [#fnthematic]_ Thus, surface (such as the earth) is an *arc* of a `great circle`__. [#fnthematic]_ Thus,
additional computation is required to obtain distances in planar units (e.g., additional computation is required to obtain distances in planar units (e.g.,
kilometers and miles). Using a geographic coordinate system may introduce kilometers and miles). Using a geographic coordinate system may introduce
complications for the developer later on. For example, PostGIS versions 1.4 complications for the developer later on. For example, Spatialite does not have
and below do not have the capability to perform distance calculations between the capability to perform distance calculations between geometries using
non-point geometries using geographic coordinate systems, e.g., constructing a geographic coordinate systems, e.g. constructing a query to find all points
query to find all points within 5 miles of a county boundary stored as WGS84. within 5 miles of a county boundary stored as WGS84.
[#fndist]_ [#fndist]_
Portions of the earth's surface may projected onto a two-dimensional, or Portions of the earth's surface may projected onto a two-dimensional, or
@ -124,10 +124,9 @@ calculations.
.. note:: .. note::
If you wish to perform arbitrary distance queries using non-point If you wish to perform arbitrary distance queries using non-point
geometries in WGS84, consider upgrading to PostGIS 1.5. For geometries in WGS84 in PostGIS and you want decent performance, enable the
better performance, enable the :attr:`GeometryField.geography` :attr:`GeometryField.geography` keyword so that :ref:`geography database
keyword so that :ref:`geography database type <geography-type>` type <geography-type>` is used instead.
is used instead.
Additional Resources: Additional Resources: