Google Maps Adds Elevation Service

by | Apr 5, 2010

The Google Maps team continues to add really useful functionality to the Maps API.  Now the Google Maps API team has  introduced a new Elevation Service that enables applications to determine elevation profiles.  The Maps API v3 contains an ElevationService class or you can simply use the Elevation Web Service as an HTTP request from v2 applications.  You can request the elevation in meters for one or more sets of coordinates, or you can request a specific number of elevation samples spaced along a path.

The figure below shows a sample application that uses the Google Visualization API to plot elevation profiles. You can add additional points by clicking on the map or entering an address, and you can switch between different modes of travel to see the affect on the profile. If you roll your mouse over the profile chart you can see on the map the point that the given sample relates to

I’ll have some code examples on this new service soon.

Categories

Recent Posts

Eric Pimpler
Eric is the founder and owner of GeoSpatial Training Services (geospatialtraining.com) and has over 25 years of experience implementing and teaching GIS solutions using ESRI, Google Earth/Maps, Open Source technology. Currently Eric focuses on ArcGIS scripting with Python, and the development of custom ArcGIS Server web and mobile applications using JavaScript. Eric is the author of Programming ArcGIS with Python Cookbook - 1st and 2nd Edition, Building Web and Mobile ArcGIS Server Applications with JavaScript, Spatial Analytics with ArcGIS, and ArcGIS Blueprints. Eric has a Bachelor’s degree in Geography from Texas A&M University and a Master's of Applied Geography degree with a concentration in GIS from Texas State University.

Sign up for our weekly newsletter
to receive content like this in your email box.