Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeocachingHeight: Suggest using Open Elevation API #38

Closed
Krevo opened this Issue Mar 29, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@Krevo
Copy link

Krevo commented Mar 29, 2019

The geocaching Height script is no longer working here.
I've got this eror message in the google map response :

"{
"error_message": "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account",
"results": [],
"status": "REQUEST_DENIED"
}

I suggest to use the "Open elevation API".
So, the call in the script would be :
url: "https://api.open-elevation.com/api/v1/lookup?locations=" + coords,

Tested OK here, just needed to also update the "@connect" in the user script header.

Thanks in advance for reading and considering this issue.

@Krevo Krevo changed the title GeocahcingHeight: Suggest using Open Elevation API GeocachingHeight: Suggest using Open Elevation API Mar 29, 2019

@Krevo

This comment has been minimized.

Copy link
Author

Krevo commented Mar 29, 2019

Note: Open Elevation API seems a bit slow (but is better than nothing)

@JRInge JRInge self-assigned this Mar 30, 2019

@JRInge JRInge added the bug label Mar 30, 2019

@JRInge

This comment has been minimized.

Copy link
Owner

JRInge commented Mar 30, 2019

Thanks for pointing out the problem. I had a look at the Open Elevation API, but I think I will try using the GeoNames Aster GDEM service first. That offers data at 90m horizontal resolution; Open Elevation only seems to give 250m resolution.

If the script starts maxing out the free limit for GeoNames, I'll switch to Open Elevation. That doesn't seem to have a usage limit.

@Krevo

This comment has been minimized.

Copy link
Author

Krevo commented Apr 1, 2019

Thanks for your reply.
"GeoName Aster" seems very fast ;-)

@JRInge

This comment has been minimized.

Copy link
Owner

JRInge commented Apr 8, 2019

Looks like this is working in v1.1.3.

@JRInge JRInge closed this Apr 8, 2019

@Krevo

This comment has been minimized.

Copy link
Author

Krevo commented Apr 8, 2019

Works perfectly.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.