- Add `MySQLSpatialRefSys` model connecting to the
`INFORMATION_SCHEMA.ST_GEOMETRY_COLUMNS` table
(https://dev.mysql.com/doc/refman/8.0/en/information-schema-st-geometry-
columns-table.html)
- Add `MySQLGeometryColumns` model connecting to the
`INFORMATION_SCHEMA.ST_GEOMETRY_COLUMNS` table
(https://dev.mysql.com/doc/refman/8.0/en/information-schema-st-geometry-
columns-table.html)
- Enable `has_spatialrefsys_table` and `supports_add_srs_entry` backend
features if MySQL version is greater than 8.0
--
Ticket URL: <https://code.djangoproject.com/ticket/33120>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* version: 3.2 => dev
* stage: Unreviewed => Accepted
Comment:
Thanks for the report.
#27464 is probably a partially duplicate of this ticket. What do you
think?
--
Ticket URL: <https://code.djangoproject.com/ticket/33120#comment:1>
Comment (by Jeff Hitchcock):
Replying to [comment:1 Mariusz Felisiak]:
> #27464 is probably a partially duplicate of this ticket. What do you
think?
They are definitely related, but that ticket has more to do with setting
SRID on columns (aka support for `ALTER TABLE _ ADD pt POINT SRID 4326`)
while this deals with being able to add new SRS entries into the database
(`MySQLSpatialRefSys` and `add_srs_entry`) and introspection of columns
that have spatial information (`MySQLGeometryColumns`).
--
Ticket URL: <https://code.djangoproject.com/ticket/33120#comment:2>