open-elevation

by BeeInventor

Helm chartv0.1.0App 1.0.0

A Helm chart for Open-Elevation server

About this chart

Open-Elevation

https://open-elevation.com

A free and open-source elevation API.

Open-Elevation is a free and open-source alternative to the Google Elevation API and similar offerings.

This service came out of the need to have a hosted, easy to use and easy to setup elevation API. While there are some alternatives out there, none of them work out of the box, and seem to point to dead datasets. Open-Elevation is easy to setup, has its own docker image and provides scripts for you to easily acquire whatever datasets you want. We offer you the whole world with our public API.

If you enjoy our service, please consider donating to us. Servers aren't free :)

API Docs are available here

You can learn more about the project, including its free public API in the website

Donations

Please consider donating to keep the public API alive. This API is used by millions of users every day and it costs money to keep running!

You can donate by following this link.

DasIot Started

Download Taiwan data from

- https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_61_08.zip
- https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/srtm_61_07.zip

Create folder

mkdir -p data

Copy srtm_61_08.tif, srtm_61_08.tif to data folder

Start server

docker run -t -i -v $(pwd)/data:/code/data -p 80:8080 openelevation/open-elevation

Evaluate result

curl --location 'http://localhost:8080/api/v1/lookup?locations=25.078984%2C121.529100'

Host with Helm

helm install open-elevation ./open-elevation \
  --namespace open-elevation \
  --create-namespac

TL;DR

helm repo add beeinventor https://beeinventor.github.io/charts
helm install open-elevation beeinventor/open-elevation

Deploy open-elevation with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has open-elevation on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopen-elevation is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply