Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 364 Bytes

.prepare_dataset.md

File metadata and controls

13 lines (10 loc) · 364 Bytes
# convert grey scale to RGBA
gdal_translate -co COMPRESS=LZW -expand rgba geomorphometry_map.tif map_render.tif

# generate tiles
gdal2tiles.py --resampling=near --z=6-14 --processes=10 --webviewer=leaflet --exclude map_render.tif tiles

# remove xml files
find . -name "*.aux.xml" -type f -delete

# remove empty directories
find . -type d -empty -delete