locked
Elevation API strange response RRS feed

  • Question

  • Hi,

    I am afraid the Bing REST Elevation API lacks some sort of description or guildelines.

    If I  request elevations for 4 points ( 4 peaks in the ALPS) I get relatively good results:

    URL:

    http://dev.virtualearth.net/REST/v1/Elevation/List?pts=45.832951,6.865074,47.080673,12.690961,46.535393,8.113097,46.889961,10.868675&hts=Ellipsoid&key=MY_BING_KEY

    Response: "elevations":[4826,3331,3592,3538],"zoomLevel":11}]

    I add just one more point in the request:

    http://dev.virtualearth.net/REST/v1/Elevation/List?pts=45.832951,6.865074,47.080673,12.690961,46.535393,8.113097,46.889961,10.868675,46.617001,9.867000&hts=Ellipsoid&key=MY_BING_KEY

    "elevations":[4790,3386,3580,3560,3074],"zoomLevel":8}]

    If I add 10 more points, the first elevation is like 4099 but I expect ~4800 (which is Mont Blanc in Alps).

    What is the general approach for getting prompt elevations for 10s or hundreds of business points ? Making request for every point ?

    Thanks in advance,

    Petar Mladenov

    Monday, December 5, 2016 5:23 PM

Answers

  • Elevation data is captured over a grid, as such, when you pass in a coordinate it finds an approximate elevation within the grid. It may snap to a grid point. Since the area in which you are getting elevations is very steep, the elevations approximations can vary a lot. This is to be expected.

    [Blog] [twitter] [LinkedIn]

    Tuesday, December 6, 2016 2:56 PM

All replies

  • Elevation data is captured over a grid, as such, when you pass in a coordinate it finds an approximate elevation within the grid. It may snap to a grid point. Since the area in which you are getting elevations is very steep, the elevations approximations can vary a lot. This is to be expected.

    [Blog] [twitter] [LinkedIn]

    Tuesday, December 6, 2016 2:56 PM
  • Hi,

    We understand approximations can vary but 4800m differs to 4100 m with 20 % which is huge and unreliable.

    Again, what would you suggest: approach for getting prompt elevations for hundreds of business points ? Making request for every point ? Or we shouldn't rely on Bing REST Elevations for this purpose.

    Thanks,

    Petar Mladenov

    Thursday, December 15, 2016 11:04 AM