falsehope

kusoblog


住所 to 緯度経度

code.google.com

Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map. The Google Maps API Geocoding Service provides a direct way to access a geocoder via an HTTP request. Additionally, the service allows you to perform the converse operation (turning coordinates into addresses); this process is known as "reverse geocoding."


すげー。Googleが、住所から緯度経度を返してくれるウェブサービスを始めた。

http://maps.google.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true
こういうGETリクエストで答えが返ってくる。

0 Responses to “住所 to 緯度経度”

コメントを投稿



Links to this post

リンクを作成

My Posts

License



XML