[Donate via PayPal]

Support GPS Visualizer

If you find the utilities on GPSVisualizer.com interesting, time-saving, or just plain fun, you can say "thanks" -- and encourage further development -- by clicking the button above and making a contribution via PayPal.

Find "Missing" Elevations with GPS Visualizer

The problem: Sometimes you have geographic data that consists only of latitudes and longitudes, but you want to know the altitudes as well -- because for example, you want to colorize points by height above sea level, or draw a profile of a track. Here are some common reasons why you might have "flat" or incomplete data:

  • Your GPS device does not log altitude, or you had poor satellite reception when you recorded the track.
  • Your GPS device does log altitude, but it's not very accurate.
  • You drew a track using the drawing tools in Google Earth or a similar application, like GPS Visualizer's Sandbox.
  • You have a KML file that came from Google Maps or Google Earth's "driving directions" feature.
  • You created a route in Google Maps and have the URL of that route.
  • You have an NMEA log file that contains only "GPRMC" sentences, not "GPGGA."

Solution #1: DEM database

GPS Visualizer's map, profile, and conversion programs now have the ability to instantly add elevation data -- from a DEM (digital elevation model) database -- to any type of GPS file. If you just want to draw a profile, or convert a single data file to plain text or GPX while adding elevation, you can use the fast and simple form right here:

Upload a file: 
Or provide a URL: 


Or, look in GPS Visualizer's various input forms for the menu called "Add DEM elevation data," and choose one of the elevation databases. For the U.S., Canada, and Mexico, you can get 30-meter horizontal resolution from the U.S. Geological Survey's National Elevation Dataset (NED1). For Alaska, 60-meter data is also available (NED2). NASA's Space Shuttle Radar Topography Mission includes 30-meter data for the U.S. (SRTM1) and 90-meter data for the rest of the world (SRTM3). SRTM3 data normally only goes up to about 60° latitude, but thanks to the efforts of the volunteers at Viewfinder Panoramas, GPS Visualizer has the polar regions covered as well. Copies of all of these databases -- 186 gigabytes of raw data -- are stored on GPS Visualizer's server.

Note that the elevation-adding feature will erase any existing altitude data (for example, from a GPS) that might already be in your file. Sometimes this is desirable; profiles made with Digital Elevation Model (DEM) data are usually "smoother" looking than GPS, and typically contain fewer gaps or suspicious readings. (Speaking of gaps, there are a few in NASA's data, and that's unavoidable. If GPS Visualizer runs into one of these, it will not overwrite those elevations in your input data. If your data is from North America, you may want to try the NED data, which is gap-free.)

Solution #2: Google Maps API

The Google Maps API is able to return elevations for points anywhere in the world; these are the same elevations you'd see in Google Earth. Google's data comes from a variety of sources and is sometimes more accurate than the SRTM and NED databases.

The drawback is that there is a limit on the number of queries that can be performed in a day by each user, so GPS Visualizer cannot ask Google for all of your points. To get around this, GPS Visualizer contains a JavaScript-based Elevation Lookup Utility that has your browser perform the queries. To use this tool, your data must be in simple tabular format (easily accomplished using GPSV's plain-text converter); you must remove any existing elevation data; and you must have your own Google Maps API Key. Further instructions are on the Elevation Lookup Utility page.

Quick single-point DEM database lookup:

Coordinates (lat,lon): FIND ELEVATION

EveryTrail.com Guides:
Print or download travel guides to your iPhone or GPS: Skyline to the Sea Trail • Hiking the Grand Canyon Rim to Rim • Half Dome • The Boston Freedom Trail • Upper Yosemite Falls Hike • Lands End, San Francisco • Angel Island State Park • Cataract Trail Loop in Marin County • Coyote Creek Loop at Henry Coe State Park • Half Moon Bay Coastal Trail • Bay Area Wildflower Hikes • Bay Area Scenic Drives • Sunol Wilderness • Stanford Dish Hike • Grand Canyon: Kaibab to Bright Angel Trail • The Grand Canyon Rim Trail • Best Bay Area Backpacking • The High Sierra Trail • Best Bay Area Day Hikes • Great Hikes in the Grand Canyon • Queen's Garden Trail, Bryce Canyon Utah • Berry Creek Falls Loop at Big Basin Redwoods State Park • and more...