[1.7.x] Complemented dwithin docs about using geographic geometries

Refs #22830. Thanks django@gfairchild.com for the suggestion.
Backport of c281831a5c from master.
This commit is contained in:
Claude Paroz 2014-06-14 20:52:37 +02:00
parent 4b922b8094
commit ec2f041736
1 changed files with 5 additions and 2 deletions

View File

@ -613,8 +613,11 @@ SpatiaLite ``Distance(poly, geom) <= 5``
dwithin
-------
Returns models where the distance to the geometry field from the
lookup geometry are within the given distance from one another.
Returns models where the distance to the geometry field from the lookup
geometry are within the given distance from one another. Note that you can only
provide :class:`~django.contrib.gis.measure.Distance` objects if the targeted
geometries are in a projected system. For geographic geometries, you should use
units of the geometry field (e.g. degrees for ``WGS84``) .
Example::