Skip to main content

Get the elevation of any land point on Earth using elevationapi.xyz

Project description

elevationapi is a simple library that interfaces with http://www.elevationapi.xyz . It permits you to get the elevation of almost any point on Earth.

Example

from elevationapi import Elevation
e = Elevation()

elevation_of_Geneva = e.getElevation(46.2, 6.15)

#When asking for multiple points, use this instead:
elevations = e.getElevations((46.2, 6.15), (6.3, 6.20))

Using another API provider

Simply instance Elevation with:

e = Elevation(base_url='http://your-server.tld/api')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for elevationapi, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size elevationapi-1.0.3.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page