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.

Source Distribution

elevationapi-1.0.3.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file elevationapi-1.0.3.tar.gz.

File metadata

  • Download URL: elevationapi-1.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for elevationapi-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f78f6e4418cd221368043ab74962e61929d43dbcbd009414a71ef97fc44f989e
MD5 fa607c35af40074cba89e2b02b1d3bf4
BLAKE2b-256 bbcde3ead2ca2e09b877aea1870f843eb05ff61ddf29383170d95a9ef411bbb4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page