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
8
votes
2 answers

Hitting `OVER_QUERY_LIMIT` error using the Google Elevation Service for any more than 2 requests

Premise I'm using the Google Elevation Service to get elevations of all nodes along a path, drawn onto a Leaflet map by a user. This allows me to generate an elevation chart. At the moment, if I make more than 2 requests (there is a limit of 512…
Ed Prince
  • 714
  • 2
  • 14
  • 31
8
votes
3 answers

Inaccurate Google Maps Elevation Service response when splitting a too large path

This is a bit of a question with some level of detail to it, so let me first explain the situation, then my implementation and last the question so you understand best. As of April 4 an update is added and the issues are narrowed down to one…
3
votes
1 answer

Google Elevation call works with browser but not with node.js

TL;DR I'm building an application with node.js that retrieves the elevation, starting from an array of latitude/longidtude points. To get the elevation from a lat/lon coordinate, I use GoogleMaps APIs, and in particular Google Elevation APIs (find…
2
votes
2 answers

Google Elevation API - limits

I'm developing a map application that uses Google Elevation API. Today I spotted that I get OVER_QUERY_LIMIT response. It is clear that I have reached my quota. Of course I have read documentation:…
2
votes
2 answers

Getting the Altitude / Elevation from Google Maps address with the Elevation API

Im trying the echo the elevation of an address in PHP. I am using the Google Elevation API - LINK I already have the latitude and longitude. The following…
Schalk Joubert
  • 398
  • 3
  • 19
2
votes
0 answers

How to obtain the accurate elevation (altitude) value using C#?

The question is - how to get elevation by point coordinates with sufficient accuracy? Now I am using Google Maps Elevation API: string LatLngURL = "http://maps.googleapis.com/maps/api/elevation/xml?locations=" +…
2
votes
1 answer

Does google's Distance matrix api consider "Elevation" too?

Does google's distance matrix api considers "elevation" while showing distance between two latitude-longitude points? Suppose first person is at upper level at an airport, second person is standing at lower level on same airport in same line, will…
user7041082
2
votes
1 answer

Google maps API v3 Elevation Service. Measured from what?

Google maps API v3 Elevation Service returns hieavailable ght or depth, but relative to what? Is it MSL (mean sea level [the average]), or real time (ie: takes into account tides) Also I note if a elevation not on record for the location it…
Mike Scott
  • 101
  • 1
  • 4
1
vote
1 answer

Getting the elevations of placemarks on Mars (mark with Google Earth Pro)with Elevation API

I often mark great locations on Google Earth Pro & Mars with placemarks and export them to kml files (and then convert to CSV). At this time, the kml files include the coordinates of locations but not the elevations. In the case of locations marked…
Mihiro Key
  • 21
  • 5
1
vote
1 answer

How does the Google Elevation API 'explode' a polyline into equidistant points?

The Elevation API provided by Google, uses two parameters for requesting height along a path: path and samples. The path is the lat and lng of the starting and the finish points and the samples is the sample points along a path for which to return…
BaldWin03
  • 45
  • 1
  • 3
1
vote
2 answers

Google Maps Elevation API android studio

I am creating an android app to record a user's activity using Google Maps SDK and the Google Play Services Location API. I am attempting to retrieve the user's elevation based on a given latitude and longitude. I originally used…
1
vote
1 answer

Google Elevation API wrong path parameter

I'm using google elevation service I want to fetch data for my path, which consists of about 1k points. I know that I cannot sent them all in query divided by | separator, because I would exceed request size limit, so I'm encoding those points as it…
Martin
  • 1,259
  • 3
  • 17
  • 36
1
vote
0 answers

Re-rendering of Google Maps Elevations API responses within React functional component

I am writing an app for vehicle tracking. With the help of Google Maps API, I am able to get directions and extract all the required info. The problem appeared with Elevations API responses. From DirectionRender class I am sending path and distance…
1
vote
0 answers

Get the building height from the Google MAP API

I want to build a website which has a Google MAP which shows a 3D visualization of buildings on it. Is there a way so I can highlights building within a given radius? Also, I want some information about my chosen point. like The height of a…
E-DEV
  • 11
  • 2
1
vote
1 answer

Google maps draw route based on elevation

I am very new to this and looks very interesting to me. Is there a way to create route between pointA and pointB based on elevation restriction. I am trying to use this for planes so doesn't need to follow any roads :) IE: Elevation limit: 200…
user8565150
1
2 3 4