Google Launches Maps Elevation Data API

Adam DuVander
Mar. 25 2010, 02:05AM EDT

Flat 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

Adam DuVander -- Adam heads developer relations at Orchestrate, a database-as-a-service company. He's spent many years analyzing APIs and developer tools. Previously he worked at SendGrid, edited ProgrammableWeb and wrote for Wired and Webmonkey. Adam is also the author of mapping API cookbook Map Scripting 101.

Comments

Comments(6)

[...] 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. [...]

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.

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