Kaydet (Commit) ec2f0417 authored tarafından Claude Paroz's avatar Claude Paroz

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

Refs #22830. Thanks django@gfairchild.com for the suggestion.
Backport of c281831a from master.
üst 4b922b80
...@@ -613,8 +613,11 @@ SpatiaLite ``Distance(poly, geom) <= 5`` ...@@ -613,8 +613,11 @@ SpatiaLite ``Distance(poly, geom) <= 5``
dwithin dwithin
------- -------
Returns models where the distance to the geometry field from the Returns models where the distance to the geometry field from the lookup
lookup geometry are within the given distance from one another. 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:: Example::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment