Git Product home page Git Product logo

Comments (5)

lukas-gehrer avatar lukas-gehrer commented on July 21, 2024

I am facing the same issue.
My guess was that the URL is not up to date anymore.

But changing it to the possibly correct one in download-srtm-data.sh like this:

#!/usr/bin/env bash

set -eu

wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_NE_250m_TIF.rar && \
wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_SE_250m_TIF.rar && \
wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_W_250m_TIF.rar && \
unar -f SRTM_NE_250m_TIF.rar && \
unar -f SRTM_SE_250m_TIF.rar && \
unar -f SRTM_W_250m_TIF.rar

did not help.
Error is still:

❯ docker run -t -i -v ${pwd}/data:/code/data openelevation/open-elevation /code/create-dataset.sh
--2021-03-28 19:32:36--  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.184.33
Connecting to gisweb.ciat.cgiar.org (gisweb.ciat.cgiar.org)|45.5.184.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-28 19:32:36 ERROR 404: Not Found.

Maybe I am missing something with updating the docker container or something. Because the URL is not beeing updated in the logs.
Any help would be appreciated.

from open-elevation.

AmitSuri avatar AmitSuri commented on July 21, 2024

Found this in one of the comments. it works
source: #38

charlycou commented 17 days ago
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.

However the dockerfile is broken. it wont accept changes to the new file. trying to figure out a solution.

from open-elevation.

JLundqvist avatar JLundqvist commented on July 21, 2024

Easiest way is to map a local, updated, copy of download-srtm-data.sh

docker run -t -i -v $(pwd)/data:/code/data -v $(pwd)/download-srtm-data.sh:/code/download-srtm-data.sh openelevation/open-elevation /code/create-dataset.sh

download-srtm-data.sh should look like this:

#!/usr/bin/env bash

set -eu

wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_NE_250m_TIF.rar && \
wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_SE_250m_TIF.rar && \
wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_W_250m_TIF.rar && \
unar -f SRTM_NE_250m_TIF.rar && \
unar -f SRTM_SE_250m_TIF.rar && \
unar -f SRTM_W_250m_TIF.rar

from open-elevation.

JLundqvist avatar JLundqvist commented on July 21, 2024

Oh, and you also have to either update create-dataset.sh or download-srtm-data.sh, since the TIF-files are unpacked into folders in the version from srtm.csi.cgiar.org
Or you could just simply move them manually, as I did when I found out why it still didn't work.

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. This includes fixing the Dockerfile and updating the source dataset.

When that happens, I will close this issue.

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.