Rgbifying SRTM dem
-
Download srtm data (1 sec, V3) and save it into the src directory.
-
Use docker or podman if you do not have gdal_merge.py or rasterio command installed.
docker run -it --rm -v ${PWD}:/data unvt/rgbify-node
- Run the following commands:
node index4merge-re.js
node index4rgb.js
If there is the file in merge/mbtiles folder, it skips the conversion.
This is originally developed at https://github.com/ubukawa/srtm-rgbify
FYI: https://qiita.com/T-ubu/items/a90c3d42f809725f50ab (in Japanese)