MySQL Spatial - Convert from SRID 31287 to 4326
问题 In MySQL I have a a database with around 100 tables. They all contain a column called ´shape´, this is a polygon type field. It contains information in what I believe (st_srid returns 1, but it's wrong) is SRID 31287. I would like to convert it to SRID 4326, how would I go about to do this? 回答1: You have two problems here. Your internal representation is wrong, it's SRID 1, and it should be SRID 31287. Changing an internal representation is possible in every database: MySQL will get a mutator