Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.9.8
-
None
-
OpenBSD 7.5
Description
MariaDB [(none)]> SELECT ST_AsGeoJSON(GeomFromText('GeometryCollection EMPTY'));
|
+--------------------------------------------------------+
|
| ST_AsGeoJSON(GeomFromText('GeometryCollection EMPTY')) |
|
+--------------------------------------------------------+
|
| {"type": "GeometryCollection", "geometries":]} |
|
+--------------------------------------------------------+
|
1 row in set (0.000 sec)
|
Missing open square bracket for geometries array.
Expected result:
{"type": "GeometryCollection", "geometries":[]}
|