mysql插入 MultiPolygon数据Cannot get geometry object from data you send to the GEOMETRY field
解决方法:
加ST_MultiPolygonFromText方法,如下所示:
INSERT INTO tb_real_estate (geom) VALUES (ST_MultiPolygonFromText('MULTIPOLYGON (((113.90255979839996 22.951296099692613, 113.902778095009998 22.951109346926103, 113.90285078409993 22.950771559926125)))'))