Fixed #26685 -- Added dwithin lookup support on SpatiaLite.

This commit is contained in:
Kevan Swanberg 2016-07-21 16:54:07 -04:00 committed by Tim Graham
parent 0d7929266e
commit 35504f74a8
5 changed files with 11 additions and 5 deletions

View file

@ -343,7 +343,7 @@ Lookup Type PostGIS Oracle MySQL [#]_ SpatiaLite
:lookup:`distance_gte` X X X N
:lookup:`distance_lt` X X X N
:lookup:`distance_lte` X X X N
:lookup:`dwithin` X X B
:lookup:`dwithin` X X X B
:lookup:`equals` X X X X C
:lookup:`exact` X X X X B
:lookup:`intersects` X X X X B

View file

@ -708,11 +708,12 @@ Backend SQL Equivalent
========== ======================================
PostGIS ``ST_DWithin(poly, geom, 5)``
Oracle ``SDO_WITHIN_DISTANCE(poly, geom, 5)``
SpatiaLite ``PtDistWithin(poly, geom, 5)``
========== ======================================
.. note::
.. versionchanged:: 1.11
This lookup is not available on SpatiaLite.
SpatiaLite support was added.
.. _geoqueryset-methods: