ä¸æã§ãã PHPã§æºå¸¯ã®ä½ç½®æ å ±ãç°¡åã«åãæ±ããã¨ãã§ããã©ã¤ãã©ãªãGeomobilejp_Converterããä½ãã¾ãããããåå¹´è¿ãåã«ä½ã£ããã®ã§ãããã³ã¼ããå°ãæ´ããã®ã§å ¬éãããã¨ã«ãã¾ããã GPSã«å¯¾å¿ããæºå¸¯ã§ã¯ãåãã£ãªã¢ã§æå®ããã¦ããç¹å®ã®HTMLãè¨è¿°ãããã¨ã§ãæºå¸¯ãµã¤ãã«ä½ç½®æ å ±ï¼ç·¯åº¦çµåº¦ã測å°ç³»ï¼ãéä¿¡ãããã¨ãã§ãã¾ãããã®ä½ç½®æ å ±ãå©ç¨ããã¨ããä½ç½®æ å ±ä»ãã§æ²ç¤ºæ¿ã«æ¸ãè¾¼ãããªã©ã®æ©è½ãå®è£ ãããã¨ãã§ãã¾ãã ãã£ãªã¢ã«ãã£ã¦ã¯ä½ç½®æ å ±ã®ãªãã«åå°åãå«ããã®ãããã¾ãããé常ã¯ç·¯åº¦çµåº¦ã ãã§ã¯åå°åããããã¾ãããããã§Geomobilejp_Converterã§ã¯ãdocomoã®æä¾ãããªã¼ãã³iã¨ãªã¢ã®iã¨ãªã¢ãã¼ã¿ãã¡ã¤ã«ãå©ç¨ãã¦åå°åãé¢é£ä»ããæ©è½ãå®è£ ãã¦ãã¾ããiã¨ãªã¢ãã¼ã¿ãå©ç¨ãããã¨ã§ãåãã£ãªã¢ã§å ±éããiã¨ãªã¢ã³ã¼
ããã«ã¡ã¯ãã¢ã·ã¢ã«ã®ä¸å·ã§ãã Google Mapsã«è¡¨ç¤ºããæ å ±ãMySQLã®geometryåã§æ±ãæ¹æ³ã試ãã¦ã¿ã¾ããã Google Mapsã®ããå°ç¹ã«ãã¼ã«ã¼ã表示ããããããã¨ãããå ´åã 緯度ã»çµåº¦ã®æ å ±ã§å°ç¹ã«è¡¨ç¤ºããããã¨ãã§ãã¾ããã ãã¼ã¿ãã¼ã¹ã«ãã®æ å ±ãä¿åããå ´åãlat(float), lng(float)ã¨ããããã«ã©ã ã«ä¿åããæ¹æ³ãããã®ã§ããããã®æ¹æ³ã§ã¯åãã¼ã¿ã®ä½ç½®ã®é¢ä¿ãé常ã«æ±ãã«ãããªãã¾ãã Google Mapsã§è¡¨ç¤ºããã¦ããç¯å²å ã®ãã¼ã¿ã®ã¿åå¾ãããå ´åãã ããå°ç¹ããè¿ãé ã«åå¾ããå ´åãªã©ã«é¢åãªãã¨ã«ãªãã¾ãã ããã§ãMySQL4.1以éã§ç¨æããã¦ãã空éæ å ±ãæ±ãæ©è½ã®ãgeometryãåã使ç¨ãã¾ãã ãMySQL 4.1 ãªãã¡ã¬ã³ã¹ããã¥ã¢ã« :: 10 MySQL ã«ããã空éæ å ±ã®æ©è½(æ¥æ¬èª)ã ã
ããã¡ã¯ãæ¾ç°ã§ãã ãã¬ã¤ã³ã»ãã¬ã¤ã³ã§ä½¿ç¨ãã¦ããGoogleMapãããã£ã¦ããæã«åº§æ¨ï¼ç·¯åº¦ã»çµåº¦ï¼ããå°åãåå¾ããå¿ è¦ãåºã¦ããã®ã§ããã®éã«èª¿ã¹ãéGeocodingæ©è½ãå®è£ ããAPIãã¾ã¨ãã¦ã¿ã¾ããã GoogleMapsAPIãªã©å°å³ã使ã£ãã·ã¹ãã ã使ç¨ãã¦ããã¨ãä½æãã緯度çµåº¦ãªã©ã®æ å ±ãåå¾ããæ¹æ³ãå¿ è¦ã«ãªãã¾ããããã¯Geocodingã¨å¼ã°ããæè¡ã§ãGoogleMapsAPIã§ã¯ãã§ã«å ¬å¼ãªAPIãåå¨ãã¦ãã¾ãã ããã¨ã¯éã«ãã¦ã¼ã¶ã¼ã«ç»é²ãããã¹ãããã®å°åãèªåå ¥åããããããå ´åãªã©ã座æ¨ããå°åæ å ±ãåå¾ãããå ´åãããã¾ãããããã¯ãéGeocodingããããReverse Geocodingããªã©ã¨å¼ã°ãã¦ãã¾ãããç¾å¨ã®ã¨ããGoogleMapsã®APIã¯æä¾ããã¦ãã¾ããã ãã®éGeocodingæ©è½ã使ãããµã¼ãã¹ãããã¤ãç´¹
å½ãµã¤ãã®ãµã¼ãã¹ãã使ç¨ã«ãªãå ´åã«ã¯ã使ç¨æ¡ä»¶(2007å¹´12æ28æ¥) ãã覧ä¸ããã ãã®ãµã¼ãã¹ã«ã¯åå¥ä½¿ç¨æ¡ä»¶ãããã¾ãã ç°¡æçãªéã¸ãªã³ã¼ãã£ã³ã°(ãªãã¼ã¹ã¸ãªã³ã¼ãã£ã³ã°)ãµã¼ãã¹ã§ãã å ¨å½åå°ã®é¸å°(ç¡äººå³¶çã®ä¸é¨ã¯é¤ã)ã®ç·¯åº¦çµåº¦åº§æ¨ãæå®ããã¨ããã®å°ç¹ã®å±ããé½éåºçãå¸åºçºæåãæ¤ç´¢ãããã¨ãã§ãã¾ãã ã¾ããé½å¸è¨ç»åºåå ã«ããã¦ã¯ãããããã®çºä¸ç®ã»åãçªå°ãæ¤ç´¢ãããã¨ãã§ãã¾ãã URL㯠http://refits.cgk.affrc.go.jp/tsrv/jp/rgeocode.php ã§ãã
ãã¼ã¯ã¼ããå æ¬æ¨ãã«ãºããã¯ã¨ãªã¼ã§æããã¨ãå æ¬æ¨ãã«ãºã®å°å³ä¸ã®ç·¯åº¦çµåº¦ãåå¾ã§ãã... ãããªWebãµã¼ãã¹ããYahoo!ã»Googleãããããæä¾ãã¦ãã¾ãã Google Maps API - Geocoder HTTP Request Yahoo!ãããããã¼ãããã¯ã¼ã¯ - ãã¼ã«ã«ãµã¼ãWebãµã¼ãã¹ ã©ã¡ããç¡æã§ä½¿ããç´ æµãªWebãµã¼ãã¹(API)ãªã®ã§ããããã¨ãã©ã³ããã¼ã¯ã»æ½è¨åãã緯度çµåº¦ãåå¾ãããäºã«é¢ãã¦ã両è ã«éãã¯ããã®ãç°¡åãªããæ¯è¼æ¤è¨¼ãã¦ã¿ã¾ããã以ä¸ãéããæ確ãªãã¼ã¯ã¼ãä¾ãå¹¾ã¤ãæãã¦ã¿ã¾ãï¼ ä¾1. ãã£ãºãã¼ã©ã³ã Yahoo! ã®å ´å: http://api.map.yahoo.co.jp/LocalSearchService/V1/LocalSearch?p=%E3%83%87%E3%82%A3%E3%82%BA%E3%83
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}