经纬度坐标
已收录文章:1篇
-
建表 CREATE TABLE `map` ( `id` int(11) NOT NULL, `address` varchar(255) NOT NULL DEFAULT '', `location` geometry NOT NULL, PRIMARY KEY (`id`), SPATIAL KEY `idx_location` (`location`) ) 插入 INSERT INTO map (id, address, location) VALUES (1,433 收藏