Bug #83915 | Support Spatial Reference Systems (SRS) in Spatial data types | ||
---|---|---|---|
Submitted: | 22 Nov 2016 8:47 | Modified: | 12 Feb 2018 14:16 |
Reporter: | Nicolai Plum | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: GIS | Severity: | S4 (Feature request) |
Version: | 5.7 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | gis, spatial reference system, srid, srs |
[22 Nov 2016 8:47]
Nicolai Plum
[24 Nov 2016 7:42]
MySQL Verification Team
Hello Nicolai Plum, Thank you for a reasonable feature request Thanks, Umesh
[11 Dec 2016 11:51]
Daniël van Eeden
Related: Bug #7109 no way to provide srid in creation of geometries
[8 Feb 2018 14:23]
Norvald Ryeng
Posted by developer: Hi Nicolai, I'm closing this as fixed in 8.0.4. There's quite a lot in this FR, but most of it is covered in that release. As you can see below, I've filed a couple of new FRs for items that haven't been completed yet. SRID type modifier for geometry columns (https://dev.mysql.com/doc/refman/8.0/en/spatial-type-overview.html), e.g. "CREATE TABLE t1 (g GEOMETRY SRID 4326)". Note that the SRID type modifier should be used on all indexed (geometry) columns, otherwise the optimizer can't use them (due to risk of mixing SRIDs in the same index). Transforming geometries from one SRID to another: Not implemented but duplicate of bug#88871. Geographic ST_Area: Not implemented. I've filed bug#89591 to track this. Geographic ST_Within, ST_Overlaps, etc.: Supported since 8.0.3. Works out of the box if the geometry has an SRID that refers to a geographic SRS. R-tree indexes over nullable columns: Not implemented. I've field bug#89592 to track this. Loading and storing SRSs: Added in 8.0.4 (https://dev.mysql.com/doc/refman/8.0/en/create-spatial-reference-system.html and https://dev.mysql.com/doc/refman/8.0/en/drop-spatial-reference-system.html). All 2d geographic and projected SRSs from the EPSG Dataset 9.2 have been installed by default. See INFORMATION_SCHEMA.ST_SPATIAL_REFERENCE_SYSTEMS for details. I think that covers the entire wishlist. Enjoy! :-)