Comments (5)
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.
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.
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.
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.
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)
- "429 Too Many Requests" Error when requesting elevation data
- How can I make a javascript call?
- Public API is down HOT 1
- TLS certificate for `open-elevation.com` has expired HOT 1
- geojson format in the requests
- Issued certificate has expired. To connect to srtm.csi.cgiar.org insecurely, use `--no-check-certificate'.
- Public api does not work HOT 11
- Expired certificate
- replace the .sh scripts with py scriprts HOT 5
- Docker installation help HOT 3
- Elevation=0 HOT 1
- Public POST API not working HOT 1
- latitude, logitude reversed HOT 1
- SSL crt and key files
- Is the elevation value from mean sea level or from the ellipsoid or ?
- TLS certificate for open-elevation.com has expired
- Multiple Access-Control-Allow-Origin headers causing CORS error HOT 1
- Dead repository - Maintained fork available! HOT 4
- WKT
- Altitudes above 60 not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-elevation.