[2.2.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc
from master
This commit is contained in:
parent
26ac7ae080
commit
aa28213eb5
|
@ -225,7 +225,7 @@ in the :doc:`model-api` documentation for more details.
|
|||
Distance Lookups
|
||||
----------------
|
||||
|
||||
*Availability*: PostGIS, Oracle, SpatiaLite, PGRaster (Native)
|
||||
*Availability*: PostGIS, MySQL, Oracle, SpatiaLite, PGRaster (Native)
|
||||
|
||||
The following distance lookups are available:
|
||||
|
||||
|
@ -233,7 +233,7 @@ The following distance lookups are available:
|
|||
* :lookup:`distance_lte`
|
||||
* :lookup:`distance_gt`
|
||||
* :lookup:`distance_gte`
|
||||
* :lookup:`dwithin`
|
||||
* :lookup:`dwithin` (except MySQL)
|
||||
|
||||
.. note::
|
||||
|
||||
|
@ -328,10 +328,10 @@ Lookup Type PostGIS Oracle MySQL [#]_ SpatiaLite
|
|||
:lookup:`covers` X X X B
|
||||
:lookup:`crosses` X X C
|
||||
:lookup:`disjoint` X X X X B
|
||||
:lookup:`distance_gt` X X X N
|
||||
:lookup:`distance_gte` X X X N
|
||||
:lookup:`distance_lt` X X X N
|
||||
:lookup:`distance_lte` X X X N
|
||||
:lookup:`distance_gt` X X X X N
|
||||
:lookup:`distance_gte` X X X X N
|
||||
:lookup:`distance_lt` X X X X N
|
||||
:lookup:`distance_lte` X X X X N
|
||||
:lookup:`dwithin` X X X B
|
||||
:lookup:`equals` X X X X C
|
||||
:lookup:`exact` X X X X B
|
||||
|
|
|
@ -696,6 +696,7 @@ Example::
|
|||
Backend SQL Equivalent
|
||||
========== ==================================================
|
||||
PostGIS ``ST_Distance/ST_Distance_Sphere(poly, geom) > 5``
|
||||
MySQL ``ST_Distance(poly, geom) > 5``
|
||||
Oracle ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) > 5``
|
||||
SpatiaLite ``Distance(poly, geom) > 5``
|
||||
========== ==================================================
|
||||
|
@ -716,6 +717,7 @@ Example::
|
|||
Backend SQL Equivalent
|
||||
========== ===================================================
|
||||
PostGIS ``ST_Distance/ST_Distance_Sphere(poly, geom) >= 5``
|
||||
MySQL ``ST_Distance(poly, geom) >= 5``
|
||||
Oracle ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) >= 5``
|
||||
SpatiaLite ``Distance(poly, geom) >= 5``
|
||||
========== ===================================================
|
||||
|
@ -736,6 +738,7 @@ Example::
|
|||
Backend SQL Equivalent
|
||||
========== ==================================================
|
||||
PostGIS ``ST_Distance/ST_Distance_Sphere(poly, geom) < 5``
|
||||
MySQL ``ST_Distance(poly, geom) < 5``
|
||||
Oracle ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) < 5``
|
||||
SpatiaLite ``Distance(poly, geom) < 5``
|
||||
========== ==================================================
|
||||
|
@ -756,6 +759,7 @@ Example::
|
|||
Backend SQL Equivalent
|
||||
========== ===================================================
|
||||
PostGIS ``ST_Distance/ST_Distance_Sphere(poly, geom) <= 5``
|
||||
MySQL ``ST_Distance(poly, geom) <= 5``
|
||||
Oracle ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) <= 5``
|
||||
SpatiaLite ``Distance(poly, geom) <= 5``
|
||||
========== ===================================================
|
||||
|
|
Loading…
Reference in New Issue