You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of our continued efforts in increasing the performance of the public API, we recently released an internal update of the open-elevation code. We accidentally swapped the latitude and longitude parameters in the response. Note, however, that the elevation value is correct -- it's merely a matter of the output of those two values.
Hello,
API parameters are latitude,longitude.
In the response the latitude,longitude are reversed. Please try your own sample:
https://api.open-elevation.com/api/v1/lookup?locations=41.161758,-8.583933
Response:
{"results":[{"latitude":-8.583933,"longitude":41.161758,"elevation":117.0}]}
Do I have a mistake in thinking?
Best regards
MichBB
The text was updated successfully, but these errors were encountered: