So GeoDjango does not implement it, instead requiring the user to use
distance in degrees in these situations. Furthermore, the GeoDjango
documentation states that Spatialite does not support 'dwithin', but that
is simply because this function has not been mapped by the GIS project.
https://docs.djangoproject.com/en/1.9/ref/contrib/gis/geoquerysets/#std
:fieldlookup-dwithin
Signed-off-by: George Hafiz <george-hafiz.uk>
--
Ticket URL: <https://code.djangoproject.com/ticket/26685>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* easy: 1 => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:1>
* status: new => assigned
* owner: nobody => kevswanberg
* has_patch: 0 => 1
* cc: kevswanberg@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:2>
* needs_better_patch: 0 => 1
Comment:
Comments for improvement are on the PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:3>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
Comment:
Looks good, pending a few cosmetic cleanups.
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:4>
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
Please bump back to RFC when those cleanups are addressed.
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"35504f74a8c3b45d308969a77488d11443ce4348" 35504f74]:
{{{
#!CommitTicketReference repository=""
revision="35504f74a8c3b45d308969a77488d11443ce4348"
Fixed #26685 -- Added dwithin lookup support on SpatiaLite.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26685#comment:6>