Google Launches Maps Elevation Data API

Adam DuVander, March 25th, 2010

Google MapsFlat maps have a hard time communicating elevation changes, but now you can access the data to visualize as you want. Google Maps added two elevation services, bringing you the meters above sea level for any point on earth.

You can play around with a mashup created by the Maps team using the new data at the end of the post, where I’ve embedded the tool. Be sure to check out Death Valley for some below sea level examples.

The service can be accessed with Google Maps V3, or via its own elevation web service, which returns JSON or XML. The latter gives you more freedom with how you use the data, but it’s subject to the same terms as other map web services: you need to eventually plot the data on a Google Map. We’ve add a new Google Maps Elevation API profile with more details.

Finding elevation along a route has long been part of the GMap Pedometer, a classic mashup for walkers, runners and bikers. In fact, there are several end-user tools that make use of elevation data in our 6 Fun Sites to Track Your Trails. Now, getting at that data is even easier.

There’s also a simple code sample for incorporating elevation directly into your Maps. Keep in mind this only works for V3. Previously Google had pitched the latest version of its Maps API as mobile-specific. By adding elevation to V3 and not V2, they could either be signaling that V3 is the way forward or that elevation data is of more use to users on the go.

via Mike Melanson

Both comments and pings are currently closed.

6 Responses to “Google Launches Maps Elevation Data API”

May 20th, 2010
at 12:55 am
Comment by: Google Follows MapQuest With Driving Directions Web Service

[...] The new web service is not to be confused with the driving directions available in the JavaScript API, which requires that the data stay in the browser. Instead, the web service will send either XML or JSON, which gives developers more freedom over how the data is used. Similarly, Google has a geocoding web service and we recently covered its elevation data API. [...]

August 26th, 2010
at 2:58 am
Comment by: Google Maps API v3 Goes Into Production

[...] on V2 services to the V3 API, such as driving directions in November. Recently, new features, like elevation data, have come to only V3, which prompted us to write that Google “could either be signaling that [...]

November 10th, 2010
at 4:41 am
Comment by: Tyson

Cool demo, I am using it to figure out the best (lowest elevation/least change) route from CA to CO. Thanks

February 13th, 2012
at 11:54 am
Comment by: Clarence Swartz

I’m looking for a map that shows the elevation from the dams on the missouri river through the arid regions of Nebraska ,kansas and Oklahoma. I’m proposing a pipe line through the regin to ease the flooding and provide water for the regions agricalture.

February 13th, 2012
at 1:41 pm
Comment by: Kin Lane

I’ll keep my eye out Clarence.

June 18th, 2012
at 2:40 am
Comment by: Kumar

The application is very useful in getting the informatin on altitude change, over the path. It would be better if the distance is displayed in the horizontal axis for better clarity. Thanks

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.