inital commit

This commit is contained in:
2023-04-01 18:44:31 +02:00
commit f2f7911799
9 changed files with 4210 additions and 0 deletions

17
tools/createtiles.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# do NOT forget to install `python-gdal` library
# assuming you are on a debian like OS
#sudo apt install python-gdal
# get the tool
test ! -f gdal2tiles.py \
&& curl https://raw.githubusercontent.com/commenthol/gdal2tiles-leaflet/master/gdal2tiles.py \
> gdal2tiles.py \
&& echo "'python-gdal' library required - please install"
# process ...
export GDAL_ALLOW_LARGE_LIBJPEG_MEM_ALLOC=1
python3 ./gdal2tiles.py -l -p raster -z 0-4 -w none 20230330_143536.jpg tiles
echo 'Now open "index.html" in your browser.'