mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Removed some PostGIS 1.4 notes in the docs (refs #23108).
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user