Get Latitude and Longitude from Location Address

13 ビュー (過去 30 日間)
Vinayak
Vinayak 2020 年 1 月 30 日
回答済み: Geoff Hayes 2020 年 1 月 30 日
Hello,
Is there a way in MATLAB which can help me in finding Latitude and Longitude of a place using Physical Address of a location.
For instance:Let say I want to find out GPS co-ordinates of MATHWORKS MICHIGAN office can I do so by providing its address which is: 39555 Orchard Hill Pl #280, Novi, MI 48375
I know of certain excel add-ins which use Google API key and help do the same.But is there a MATLAB script which can help me do so using Google MAPS API KEY.
Thanks in advance.
Lat_Lon_Capture.JPG

回答 (1 件)

Geoff Hayes
Geoff Hayes 2020 年 1 月 30 日
Vinayak - you could perhaps try using webread where the URL is formatted similar to what is found at Google Geocoding Dev Guide (since you mention that you have the Google Maps API Key). You could then parse the (json or xml) response from this call to get the latitude and longitude.

カテゴリ

Help Center および File ExchangeGoogle についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by