Index: src/python/bin/gnuboat-log-analyser
===================================================================
--- src/python/bin/gnuboat-log-analyser	(revision 1c0ee46b4c4907e1cf0efa4d5f5a7bcc65c66f7b)
+++ src/python/bin/gnuboat-log-analyser	(revision 26d66d8d3e5de36d2650366c0ef905dcf07af09e)
@@ -2,5 +2,5 @@
 # -*- coding: utf-8 -*-
 '''
-    Copyright (C) 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
+    Copyright (C) 2018 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
 
     This program is free software: you can redistribute it and/or modify
@@ -246,5 +246,5 @@
 	print("  Created color relief in {}".format(gdal_file_color_relief))
 	
-	# slope shade
+	# slopeshade
 	gdal_file_slope_shade_tmp = "/vsimem/tmp_water_depth_slope_shade.tif"
 	gdal_file_slope_shade = os.path.join(output_directory, "water_depth_slope_shade.tif")
@@ -259,4 +259,5 @@
 	
 	# generate contour lines
+	# @todo not useful in this configuration!
 	contour_input = gdal.Open(gdal_file, gdalconst.GA_ReadOnly)
 	contour_input_band = contour_input.GetRasterBand(1)
@@ -276,4 +277,21 @@
 	del contour_output
 
+	# generate tiles
+	tile_zoom_option = "0-19"
+	tile_commands = [
+		#hillshade
+		{"file": gdal_file_hillshade, "title": 'Hillshade', "output": 'hillshade'},
+		#color relief
+		{"file": gdal_file_color_relief, "title": 'Color relief', "output": 'color_relief'},
+		#slopeshade
+		{"file": gdal_file_slope_shade, "title": 'Slopeshade', "output": 'slopeshade'}
+	]
+	print("Expanding {} tifs to tiles".format(len(tile_commands)))
+	for tile_command in tile_commands:
+		title = tile_command["title"]
+		output = os.path.join(output_directory, tile_command["output"])
+		os.system('gdal2tiles.py -q -w none -z {} -t "GNUBoat {}" {} {}'.format(tile_zoom_option, title, tile_command["file"], output))
+		print("  Created tiles for {} in {}".format(title, output))
+
 	sys.exit(0)
 
