Git Product home page Git Product logo

Comments (5)

shkarlsson avatar shkarlsson commented on July 21, 2024

I'm getting error 504:

<title>504 Gateway Time-out</title>

504 Gateway Time-out


nginx/1.13.5

from open-elevation.

aryoxp avatar aryoxp commented on July 21, 2024

If you directly open the URL:

https://api.open-elevation.com/api/v1/lookup?locations=10,10|20,20|41.161758,-8.583933

using a web browser around this posting time, then it eventually a time out request.

I also tried it today (Sep 11, 2020), it was also returning error. It returned 504 error.
Probably the server was down or currently unable to handle your request.
It happened to me too, so I try to host the server myself on localhost and it works.
However, you need to do the setup by yourself and find a proper geotiff map that covers your area.
Setting up the server with Docker is the easiest approach to me.

PS: Request with cURL command line needs the backspace character on the URL to escape the question mark ? and pipe | characters. But when testing it on a web browser, omit the backspace character from the URL.

from open-elevation.

 avatar commented on July 21, 2024

docker run -t -i -v /data:/code/data openelevation/open-elevation /code/create-dataset.sh
--2020-11-13 12:16:00-- http://gisweb.ciat.cgiar.org/TRMM/SRTM_Resampled_250m/SRTM_NE_250m_TIF.rar
Resolving gisweb.ciat.cgiar.org (gisweb.ciat.cgiar.org)... 45.5.186.33
Connecting to gisweb.ciat.cgiar.org (gisweb.ciat.cgiar.org)|45.5.186.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-13 12:16:01 ERROR 404: Not Found.

from open-elevation.

charlycou avatar charlycou commented on July 21, 2024

SRTM data are now located at https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/. You can either change the download-srtm-data.sh script and rebuild your own image or download the data yourself and mount them on your container as described in the documentation.

from open-elevation.

Jorl17 avatar Jorl17 commented on July 21, 2024

Hi.

For the better part of the last 2 years, the API has been completely overloaded (sadly, very little comes in the way of donations, and so I can't really pay for a more beefed up machine).

As of two days ago, though, I have done some tweaks to the backend and the API should be handling the workload much better. Give it a try again!

I will also be pushing a series of updates to the repository and dockerhub, to modernize the project and make it work again.

I will close this issue because I believe that the public API is now working, but feel free to reopen it if it is not. If you have any other issues, please open a separate issue for that.

from open-elevation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.