From 1a31d9ef913f954c26a4837b1ffb568ced21ff05 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 1 Aug 2014 10:53:53 -0400 Subject: [PATCH] Removed some PostGIS 1.4 notes in the docs (refs #23108). --- docs/ref/contrib/gis/db-api.txt | 10 ---------- docs/ref/contrib/gis/geoquerysets.txt | 4 ---- 2 files changed, 14 deletions(-) diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index be413c9df8..619fc6a985 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/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 `_, 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 `_, PostGIS documentation at Ch. 4.1.2. .. [#fngeojson] *See* Howard Butler, Martin Daly, Allan Doyle, Tim Schaub, & Christopher Schmidt, `The GeoJSON Format Specification `_, Revision 1.0 (June 16, 2008). -.. [#fndistsphere14] *See* `PostGIS 1.4 documentation `_ on ``ST_distance_sphere``. .. [#fndistsphere15] *See* `PostGIS 1.5 documentation `_ on ``ST_distance_sphere``. .. [#fnmysqlidx] *See* `Creating Spatial Indexes `_ in the MySQL 5.1 Reference Manual: diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt index dd2dfe8efc..aac36afd29 100644 --- a/docs/ref/contrib/gis/geoquerysets.txt +++ b/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)