tangrams / heightmapper

interactive heightmaps from terrain data
http://tangrams.github.io/heightmapper
MIT License
410 stars 120 forks source link

heightmapper

http://tangrams.github.io/heightmapper

Heightmapper is an interactive grayscale heightmap browser, which can generate heightmaps for use in 3D applications. By default, it "auto-exposes" the display so that the highest visible elevation in the current view will be white, and the lowest will be black.

Uses Mapzen's global elevation service.

screen shot 2016-07-19 at 11 17 17 am

Usage

Rendering

This comes with a gotcha: the map must take up the entire view (no whitespace above or below) for the renderer to work properly.

Do not resize the view or move the map during render as this will interfere with the render process.

Todo

To run locally:

Start a web server in the repo's directory:

python -m SimpleHTTPServer 8000

If that doesn't work, try:

python -m http.server 8000

If running this produces CORS errors on your local machine, try:

python run-server.py

or

python3 run-server.py (on mac)

Then navigate to: http://localhost:8000