逆ジオコーディングWebサービス「Geocoding via HTTP」
さらに純粋なWebサービスも同時公開みたいです。
こんな感じで使うみたい。
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=xml&key=xxxxxxxxxxxxxxxx
試しに”芝公園”で検索してみたらこんな感じになった。
こっちはマッシュアップサイト向きかな?
XML版:
<kml> <Response> <name>芝公園</name> <Status> <code>200</code> <request>geocode</request> </Status> <Placemark id="p1"> <address>日本芝公園駅(東京)</address> <AddressDetails Accuracy="9"> <Country> <CountryNameCode>JP</CountryNameCode> <CountryName>日本</CountryName> <AddressLine>芝公園駅(東京)</AddressLine> </Country> </AddressDetails> <Point> <coordinates>139.749838,35.654071,0</coordinates> </Point> </Placemark> </Response> </kml>
Json版(本来は1行で表示。表示の都合で適当に改行しました)
{"name":"芝公園","Status":{"code":200,"request":"geocode"},"Placemark": [{"id":"p1","address":"日本芝公園駅(東京)","AddressDetails":{"Country": {"CountryNameCode":"JP","CountryName":"日本","AddressLine":["芝公園駅(東京) "]},"Accuracy": 9},"Point":{"coordinates":[139.749838,35.654071,0]}}]}
API詳細は本家ページへ:Overview | Maps JavaScript API | Google Developers
検証2へ続く?