MySQL4.1以éã§ç©ºéæ å ±ãæ±ãæ©è½ã使ãããã©ãæå®ãã緯度çµåº¦ããåå¾nã¡ã¼ãã«ä»¥å ã®æ¤ç´¢ãåºæ¥ãªãã®ãé£ç¹ã§ãã ããªã大éæãªããæ¹ã§åå¾nã¡ã¼ãã«æ¤ç´¢ã®ããæ¹ãèãã¦ã¿ã¾ããã ã¾ãæåã«ç·¯åº¦çµåº¦ã®æ å ±ãæã£ããã¼ãã«ãä½æã CREATE TABLE `geotable` ( `id` INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY , `name` VARCHAR(255) NOT NULL, `geom` POINT NOT NULL, SPATIAL INDEX(geom) ) ENGINE = MYISAM ; ç¶ãã¦ãã¼ã¿ãæ¿å ¥ã INSERT INTO `geotable` (`name`, `geom`) VALUES ('ä¸éé§ ', GeomFromText('POINT(139.777254 35.713768)')
{{#tags}}- {{label}}
{{/tags}}