Skip to content

Commit 1c61732

Browse files
committed
HHH-18966 update user guide mysql spatial function support
1 parent eeaf27e commit 1c61732

File tree

1 file changed

+7
-14
lines changed
  • documentation/src/main/asciidoc/userguide/chapters/query/spatial

1 file changed

+7
-14
lines changed

documentation/src/main/asciidoc/userguide/chapters/query/spatial/Spatial.adoc

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ functions largely correspond to those specified in the https://portal.opengeospa
9494
|`boolean st_overlaps(Geometry, Geometry)` | SFS §2.1.1.2 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}
9595
|`boolean st_relate(Geometry, Geometry, String)` | SFS §2.1.1.2 | {yes} | {yes} | {no} | {yes} | {yes} | {yes} | {yes}
9696
|Functions that support Spatial Analysis | | | | | | | |
97-
|`double st_distance(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes} | {yes}
98-
|`Geometry st_buffer(Geometry, double)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes} | {yes}
99-
|`Geometry st_convexhull(Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes}^(1)^ | {no}
100-
|`Geometry st_intersection(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes}^(1)^ | {yes}
97+
|`double st_distance(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}
98+
|`Geometry st_buffer(Geometry, double)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}
99+
|`Geometry st_convexhull(Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}^(1)^ | {no}
100+
|`Geometry st_intersection(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}^(1)^ | {yes}
101101
|`Geometry st_geomunion(Geometry, Geometry)` | SFS §2.1.1.3 (renamed from union) | {yes} | {yes} | {no} | {yes} | {yes} | {yes}^(1)^ | {yes}
102-
|`Geometry st_difference(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes}^(1)^ | {yes}
103-
|`Geometry st_symdifference(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {no} | {yes} | {yes} | {yes}^(1)^ | {yes}
102+
|`Geometry st_difference(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}^(1)^ | {yes}
103+
|`Geometry st_symdifference(Geometry, Geometry)` | SFS §2.1.1.3 | {yes} | {yes} | {yes} | {yes} | {yes} | {yes}^(1)^ | {yes}
104104
|Common non-SFS functions | | | | | | | |
105105
|`boolean st_dwithin(Geometry, Geometry, double)` | Returns true if the geometries are within the specified distance of one another | {yes} | {yes} | {no} | {no} | {yes} | {yes} | {yes}
106106
|`Geometry st_transform(Geometry, int)` | Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter | {yes} | {yes} | {no} | {no} | {no} | {no} | {yes}
@@ -138,14 +138,7 @@ In addition to the common spatial functions, the following functions are support
138138
[[spatial-configuration-dialect-mysql]]
139139
MySQL::
140140

141-
MySQL versions before 5.6.1 had only limited support for spatial operators.
142-
Most operators only took account of the minimum bounding rectangles (MBR) of the geometries, and not the geometries themselves.
143-
+
144-
This changed in version 5.6.1, when MySQL introduced `ST_*` spatial operators.
145-
The dialect `MySQLSpatial56Dialect` uses these newer, more precise operators.
146-
+
147-
For more information, see this page in the MySQL reference guide (esp. the section https://dev.mysql.com/doc/refman/5.7/en/spatial-relation-functions.html[Functions That Test Spatial Relations Between Geometry Objects])
148-
141+
For more information, see this page in the MySQL reference guide (esp. the section https://dev.mysql.com/doc/refman/8.4/en/spatial-relation-functions.html[Functions That Test Spatial Relations Between Geometry Objects])
149142

150143
[[spatial-configuration-dialect-oracle]]
151144
Oracle 19c/21c/23ai::

0 commit comments

Comments
 (0)