浏览代码

Removed some PostGIS 1.4 notes in the docs (refs #23108).

Tim Graham 10 年之前
父节点
当前提交
1a31d9ef91
共有 2 个文件被更改,包括 0 次插入14 次删除
  1. 0 10
      docs/ref/contrib/gis/db-api.txt
  2. 0 4
      docs/ref/contrib/gis/geoquerysets.txt

+ 0 - 10
docs/ref/contrib/gis/db-api.txt

@@ -164,15 +164,6 @@ it may be expressed in any units (the SQL generated will use units
 converted to those of the field); otherwise, numeric parameters are assumed
 to be in the units of the field.
 
-.. note::
-
-    For users of PostGIS 1.4 and below, the routine ``ST_Distance_Sphere``
-    is used by default for calculating distances on geographic coordinate systems
-    (e.g., WGS84) -- which may only be called with point geometries [#fndistsphere14]_.
-    Thus, geographic distance lookups on traditional PostGIS geometry columns are
-    only allowed on :class:`PointField` model fields using a point for the
-    geometry parameter.
-
 .. note::
 
     In PostGIS 1.5, ``ST_Distance_Sphere`` does *not* limit the geometry types
@@ -311,7 +302,6 @@ Method                                PostGIS  Oracle  SpatiaLite
 .. [#fnwkt] *See* Open Geospatial Consortium, Inc., `OpenGIS Simple Feature Specification For SQL <http://www.opengis.org/docs/99-049.pdf>`_, Document 99-049 (May 5, 1999), at  Ch. 3.2.5, p. 3-11 (SQL Textual Representation of Geometry).
 .. [#fnewkb] *See* `PostGIS EWKB, EWKT and Canonical Forms <http://postgis.refractions.net/documentation/manual-1.5/ch04.html#EWKB_EWKT>`_, PostGIS documentation at Ch. 4.1.2.
 .. [#fngeojson] *See* Howard Butler, Martin Daly, Allan Doyle, Tim Schaub, & Christopher Schmidt, `The GeoJSON Format Specification <http://geojson.org/geojson-spec.html>`_, Revision 1.0 (June 16, 2008).
-.. [#fndistsphere14] *See* `PostGIS 1.4 documentation <http://postgis.refractions.net/documentation/manual-1.4/ST_Distance_Sphere.html>`_ on ``ST_distance_sphere``.
 .. [#fndistsphere15] *See* `PostGIS 1.5 documentation <http://postgis.refractions.net/documentation/manual-1.5/ST_Distance_Sphere.html>`_ on ``ST_distance_sphere``.
 .. [#fnmysqlidx] *See* `Creating Spatial Indexes <http://dev.mysql.com/doc/refman/5.1/en/creating-spatial-indexes.html>`_
    in the MySQL 5.1 Reference Manual:

+ 0 - 4
docs/ref/contrib/gis/geoquerysets.txt

@@ -122,10 +122,6 @@ contains_properly
 Returns true if the lookup geometry intersects the interior of the
 geometry field, but not the boundary (or exterior). [#fncontainsproperly]_
 
-.. note::
-
-    Requires PostGIS 1.4 and above.
-
 Example::
 
     Zipcode.objects.filter(poly__contains_properly=geom)