Closed dephiloper closed 4 years ago
The above mentioned repository was forked (under https://github.com/dephiloper/open-elevation) to modify the data retrieving scripts that they only download relevant data (germany).
Like in the tileserver-gl the open-elevation api is available under https://h4nsolo.f4.htw-berlin.de/elevation/ followed by the default api route.
To install the open-elevation endpoint these instructions were followed: https://github.com/Developer66/open-elevation
Additionally gdal was installed via custom pip command, which gathers the currently installed gdal version itself. pip install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal"
The endpoint can now be accessed via (example query for center of berlin): https://h4nsolo.f4.htw-berlin.de/elevation/api/v1/lookup?locations=52.520008,13.404954
@LB31 fyi
For getting elevation data from specific latitude/longitude coordinates an service needs to be set up which should also be located on our h4nsolo server.
As entrance point the following repository provides information for setting up the service:
https://github.com/Jorl17/open-elevation