SRTM4 elevation data reader
Project description
SRTM4 (Shuttle Radar Topography Mission)
Download and parsing of SRTM4 elevation data.
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
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.1.1.tar.gz
(2.0 MB
view details)
File details
Details for the file srtm4-1.1.1.tar.gz
.
File metadata
- Download URL: srtm4-1.1.1.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 230e06e783b8da06fe551e45caac67907261f620c7960f027fc5d0ab40acc9a8 |
|
MD5 | c7360fbd397e233057a657f92504d686 |
|
BLAKE2b-256 | e7e1de1595624ab044ce04c84afc93da6655c1b749cf7b1da5c0ca7eab8577b7 |