View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 18 Downloads (last 30 days) File Size: 2.83 KB File ID: #37860 Version: 1.2




20 Aug 2012 (Updated )

Lookup the latitude and longitude of an address using different geocoding services

| Watch this File

File Information

Easily convert a street address into latitude and longitude using one of 3 popular web-based geocoding services (Google Maps, Yahoo Place Finder, and OpenStreetMaps).

Additionally this file works with the newer APIs, that longer require the an API Key or AppId.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
03 Feb 2017 Ingrid

Ingrid (view profile)

I get the same error as Pouyan, I guess maybe the address has changed since the code is quit old?

Comment only
11 Aug 2016 Pouyan

Pouyan (view profile)

I see this error when I try to run the code:

Error using geoCode (line 80)
Error, could not reach, is it a valid URL?

Comment only
11 Apr 2014 Mazin

Mazin (view profile)

When I give the function an address it says "No data received from server! Received code:610"

Comment only
30 Oct 2013 mal flower

This code runs great, but when I check the output from the osm option on another map, the lat / long are way off. Any ideas why?

Comment only
21 Aug 2012 1.1

Fixed a error checking bug

21 Aug 2012 1.2

Re-wrote the code to do a better job parsing the XML and checking for errors and missing data.

Contact us