The service from NASA's Goddard Space Flight Center provides topographic and terrain information to complement mapping locations. It returns the elevation for a specific location, specified as latitude and longitude. Measurements come from the USGS Seamless Elevation datasets. Where multiple elevation values are available, the service returns those from the data sources with the highest resolution.
API methods support submission of a request for one or more elevation values with each location specified as a latitude-longitude pair. The API returns the best-available measure for each location denominated in either feet or meters, as specified in the request.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.