ajnisbet / opentopodata

Open alternative to the Google Elevation API!
https://www.opentopodata.org
MIT License
312 stars 69 forks source link

How to get altitude from lat and long in local? #76

Closed madenburak closed 1 year ago

madenburak commented 1 year ago

I want to lat, long and altitude values in a table or text. How I access this data? I tried local installation without docker but I got error at api.py. Which method should I follow?

ajnisbet commented 1 year ago

I highly recommend running in docker if possible: it solves a lot of issues with difficult geospatial dependencies.

Otherwise here are the instructions to follow: https://www.opentopodata.org/notes/running-without-docker/

To help you more please share

madenburak commented 1 year ago
ajnisbet commented 1 year ago

Thanks for this info!

opentopodata is software for turning an elevation dataset into an API. As well as running the software, you'll need to supply an elevation dataset: there are instructions under the "Datasets" tab for how to download and install some common elevation datasets: https://www.opentopodata.org/ if you're not sure which dataset you need to use, the mapzen one is a good start.

If you just need small amounts of data, I also host a free public api at api.opentopodata.org