Skip to main content

SRTM4 elevation data reader

Project description

SRTM4 (Shuttle Radar Topography Mission)

Download and parsing of SRTM4 elevation data.

Build Status PyPI version

Carlo de Franchis, Enric Meinhardt, Gabriele Facciolo, CMLA 2018

Installation and dependencies

The main source code repository for this project is https://github.com/cmla/srtm4. It is written in Python. It was tested with Python 3.5, 3.6 and 2.7.

srtm4 requires libtiff development files. They can be installed with apt-get install libtiff-dev (Ubuntu, Debian) or brew install libtiff (macOS).

Once libtiff is installed, srtm4 can be installed with pip:

pip install srtm4

Usage

In a Python interpreter:

>>> import srtm4
>>> longitude, latitude = 2, 48
>>> altitude = srtm4.srtm4(longitude, latitude)
>>> print(altitude)  # should be 174.613 (altitude in meters above the WGS84 ellipsoid)

In a shell:

GEOID_PATH=data ./bin/srtm4 2 48

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

srtm4-1.2.1.tar.gz (2.0 MB view details)

Uploaded Source

File details

Details for the file srtm4-1.2.1.tar.gz.

File metadata

  • Download URL: srtm4-1.2.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.3 CPython/3.9.7

File hashes

Hashes for srtm4-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c197f4611375476e043e5fef49afcf3ca03085d148832654577743d45aa702cf
MD5 a9c6f354805b73e57d2d1da679b75bf7
BLAKE2b-256 aeffb11183c6328f6cd722f1c4ec59d1a111bc79a981f55463e3979cb9e18c68

See more details on using hashes here.

Supported by

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