#!/bin/bash

set -e
set -x


dir=/mnt/disk-1/srv/digital-elevation-model/copernicus-dem-30m

output=dem-30m-u8-encoded.tif

# python encode_heightmap.py -s copernicus-dem-30m.tif -o $output

gdal2tiles.py --resume --processes=4 --zoom=16 --tilesize=128 $dir/$output $dir/tiles-u8

