Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
/ srtm4 Public archive
forked from centreborelli/srtm4

Download and parsing of SRTM4 elevation data

Notifications You must be signed in to change notification settings

20treeAI/srtm4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Download and parsing of SRTM4 elevation data

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.6%
  • Python 11.9%
  • C 5.2%
  • Makefile 0.3%