https://github.com/caged/demshade
Tools for generating static images from digital elevation models.
https://github.com/caged/demshade
Last synced: 10 months ago
JSON representation
Tools for generating static images from digital elevation models.
- Host: GitHub
- URL: https://github.com/caged/demshade
- Owner: caged
- Created: 2016-12-11T23:54:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-25T01:53:08.000Z (about 9 years ago)
- Last Synced: 2025-03-26T03:04:19.633Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.83 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

``` shell
# Boostrap
./script/bootstrap
```
``` shell
make data/tif/states/oregon.tif
# Set the SRS for the output TIF
SRS='EPSG:2913' make data/tif/states/oregon.tif
# Set the WIDTH of the output image. Height is dynamic.
WIDTH=5000 make data/tif/states/oregon.tif
# Set the HEIGHT of the output image and allow width to be dynamic
WIDTH=0 HEIGHT=5000 make data/tif/states/oregon.tif
# Cut the resulting tif around the state borders and crop the image to those boundaries
# e.g. make a state cutout of Oregon
SRS='EPSG:2913' CROP_AND_CUT=yes make data/tif/states/oregon.tif
```
If you want to regenerate a TIF in a different projection or size, you will need to delete the related tif file beforehand.