Questions tagged [google-elevation-api]

The Google Maps Elevation API provides a simple interface to query locations on the earth for elevation data. Additionally, it may request sampled elevation data along paths, allowing you to calculate elevation changes along routes.

The Google Maps Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values). In those cases where Google does not possess exact elevation measurements at the precise location you request, the service will interpolate and return an averaged value using the four nearest locations.

47 questions
0
votes
0 answers

Google elevation api status messages

Can anyone provide me a complete list of status messages for Google Elevation API? For instance DATA_NOT_AVAILABLE is not included in the list from Google. Documentation The obvious answer would be that elevation is not available for this point, but…
kgbviz
  • 11
  • 4
0
votes
1 answer

Google Elevation API, Resolution is very poor

I am writing a jogging tracker app that gets Locations from Google Maps, and sends them to Google Elevation api to get the elevation. It works fine. My problem is the resolution is very(!) poor. it is around 152 m. In my case, I cannot relay on…
0
votes
1 answer

Google Elevation API: Encoded polyline

Is it possible to consume the google Elevation API with an encoded polyline through the client? I know there is https://maps.googleapis.com/maps/api/elevation/json?key=" + Meteor.settings.public.googleMaps + "&locations=enc:" + encodedPath But this…
0
votes
1 answer

How to get in which floor user is locate?

I need to location of floor where is user currently locating and I tried two ways using CLLocation and location.floor?.level and google elevation API https://developers.google.com/maps/documentation/elevation/start but on the First case, I got nil…
Nirav Hathi
  • 1,507
  • 3
  • 12
  • 20
0
votes
1 answer

Android: find fastest route between 2 or more points depeding on streets in GoogleMaps

Am adding markers in my app on GoogleMaps,my markers allways are on streets.For example I have moore than 2 markers on map, I need to draw optimal route between them depending on streets.Is there any service to help me, or I need to create my own…
Darius92
  • 301
  • 5
  • 21
0
votes
2 answers

Location from google elevation API are always NaN

I do not understand how to retrieve the latitude and longitude of the result of google elevation. Google returns me json like this: { "results" : [ { "elevation" : 1608.637939453125, "location" : { "lat" :…
simon
  • 1,180
  • 3
  • 12
  • 33
0
votes
1 answer

How to Map SRTM/ DED (Digital Elvation Data) between two points of interest using their latitude and longitude

I am making a micorwave communication analysis tool based on Web development for my dissertation. So i realised i needed to understand the geo data which is available in the form of SRTM digital elevation data, using which elevation data of a…
0
votes
1 answer

Google Elevation Service API in feet

I'm using the google elevation API to get elevation data along a path on google maps which I am then plotting on a google visualization column chart. My code to get the data is as follows: function createUpdateProfile(){ var path=[]; for (var i…
0
votes
2 answers

Is there not a Google API Key for Elevation Service?

I am trying to execute Elevation Service sample. I created an API key using my google account, then clicked on "YOUR_API_KEY" link at the bottom of the "JAVASCRIPT + HTML" section, this helped me select an API key from my applications and then was…
lucidgold
  • 4,432
  • 5
  • 31
  • 51
0
votes
1 answer

create elevation chart from markers and a HUB

This Javascript plots a HUB marker with a ployline from the HUB to all surrounding markers. I would like to plot an elevation chart from the HUB to the marker a user clicks. Without the elevation portion the script runs, with the elevation portion…
0
votes
2 answers

In which units does Google Elevation Api return results

Does anyone know, what are the measurement units of Google Elevation Api? Are those meters? feets? The google elevation api documentation is not saying anything on that. Thanks!
vyakhir
  • 1,714
  • 2
  • 17
  • 21
-1
votes
2 answers

JSON response decoding to nil in swift

struct Jresponse: Decodable{ //var results: [Any] var resolution: Int? var elevation: Int? var location: Int? var lat: Int? var lng: Int? } guard let url =…
DESWIJ
  • 63
  • 6
-1
votes
1 answer

elevation data in case of bridges and overpasses

I am using openstreetmap. In my application, I use GPS information to locate the user. In cases of bridges and overpasses, latitude and longitude are not enough, since they are the same under and on the bridge. I thought maybe to use GPS altitude…
tzviya
  • 537
  • 1
  • 4
  • 14
-1
votes
2 answers

Is Developer API Key actually needed for elevation request?

Referring to here in Google Official documentation, a developer API key is needed, this means that each request will count towards your ( the developer's) quota. In fact, in the example given by Google, one needs to specify an developer API key in…
Graviton
  • 81,782
  • 146
  • 424
  • 602
-1
votes
1 answer

Google Elevation API error

I am having latitudinal and longitudinal position of around 500,000 bridges and I want the elevation of those bridges using the latitude and longitude coordinates of this bridges. I wrote a script in c# to parse elevation for all the 500000 bridges…