1
Python and Java API / Default value of blockh and blockw that doesn't tile the orthophoto/DEM?
« on: June 16, 2016, 12:10:23 PM »
Is there a way to set blockh and blockw to some default value that ensures the orthophoto is not divided into blocks? I want to ask the user if the orthophoto should be blocked or not.
I know I can just use an if-sentence and have to versions of exportOrthomosaic with and without blockh and blockw, but I also have an if-sentence for the format, and I might get more, so I would like to avoid a whole tree of if-sentences with all combinations of possibilities.
Any help is much appreciated
Code: [Select]
chunk.exportOrthomosaic(path, format=fmat, projection = proj, blockw = blockSize, blockh = blockSize, tiff_compression = compression, tiff_big = bigTiff):
I know I can just use an if-sentence and have to versions of exportOrthomosaic with and without blockh and blockw, but I also have an if-sentence for the format, and I might get more, so I would like to avoid a whole tree of if-sentences with all combinations of possibilities.
Any help is much appreciated