Public | Automated Build

Last pushed: 2 years ago
Short Description
Python heightmap REST API.
Full Description

SRTM Server

A Flask based python REST API for the srtm module to get elevations for an area described by a lat/lon bounding box.

To run:

pip install -r requirements.txt
python ./

Starts on port 5000

Heroku deployment

Get toolbet from here:

Run the following commands:

heroku login
virtualenv venv

Just on Windows:


Just on *NIX:

source venv/bin/activate

pip install -r requirements.txt --allow-all-external
heroku create
git push heroku master
heroku ps:scale web=1
heroku open

Browser should open displaying "Hello World!"

To make a request

Form a URL as follows:





Return type

An 8 bit RBG png image height map of the area specified is returned. Each pixels value represents height above sea level in meters encoded as follows;

Height(m) = R*255 + G + B*100


Docker Pull Command
Source Repository