SRTM4 elevation data reader
Project description
# SRTM4 (Shuttle Radar Topography Mission)
Download and parsing of SRTM4 elevation data.
[Carlo de Franchis](mailto:carlo.de-franchis@cmla.ens-cachan.fr), Enric Meinhardt, Gabriele Facciolo, CMLA 2018
# Installation and dependencies
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
Release history Release notifications | RSS feed
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.0a2.tar.gz
(2.0 MB
view details)
File details
Details for the file srtm4-1.0a2.tar.gz
.
File metadata
- Download URL: srtm4-1.0a2.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063e17332d254eae653b120977cb650c4726930ce0eae02367e9136631d1dde9 |
|
MD5 | e55bede0c3ffac33c05543370cc1932e |
|
BLAKE2b-256 | c488fb2b73f39c99e4e0172501f057e096635df2cf1d96dbce0bcaaec4250db1 |