Details
-
New Feature
-
Status: In Testing (View Workflow)
-
Major
-
Resolution: Unresolved
Description
The GIS function ST_Collect takes as input multiple geometries and returns the aggregation of the distinct geometry arguments.
This function also supports the DISTINCT option. If the DISTINCT case is used, it returns the aggregation of the distinct geometry arguments.
The resulting value type is choosen using the following policy:
- If all arguments are Point values, the result is a MultiPoint value.
- If all arguments are LineString values, the result is a MultiLineString value.
- If all arguments are Polygon values, the result is a MultiPolygon value.
- Otherwise, the result is a GeometryCollection value.
If there are multiple geometry arguments and those arguments are in the same SRS, the return value is in that SRS. If those arguments are not in the same SRS, an ER_GIS_DIFFERENT_SRIDS_AGGREGATION error occurs.
Attachments
Issue Links
- causes
-
MDEV-35102 CREATE TABLE AS SELECT ST_collect ... does not work
-
- Closed
-
-
MDEV-35975 Server crashes after CREATE VIEW as SELECT ST_COLLECT...
-
- Closed
-
-
MDEV-36167 Assertion `0' failed in Item_sum_str::reset_field after selecting st_collect + group by
-
- In Review
-
- is part of
-
MDEV-17398 Implement Geographic functions available in MySQL 8.0
-
- Stalled
-
-
MDEV-34120 GSoC 2024, Spatial (GIS) functions in MariaDB
-
- In Testing
-
Activity
Transition | Time In Source Status | Execution Times |
---|
|
39d 15h 2m | 1 |
|
6d 2h 43m | 1 |
|
42d 20h 49m | 1 |