Remove band interleaving, increase block size

Band interleaving confuses some tools that are used to thumbnail TIFFs (e.g. `libvips`).

The increased block size is to match the potentially impending OpenAerialMap file format standard, following the Landsat-on-AWS precedent.

Former-commit-id: 6f9c042f53
pull/1161/head
Seth Fitzsimmons 2016-10-24 09:31:45 -06:00 zatwierdzone przez GitHub
rodzic 1b8536ccce
commit ec0c738d3a
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -92,9 +92,8 @@ class ODMOrthoPhotoCell(ecto.Cell):
'-co TILED=yes '
'-co COMPRESS=DEFLATE '
'-co PREDICTOR=2 '
'-co BLOCKXSIZE=256 '
'-co BLOCKYSIZE=256 '
'-co INTERLEAVE=band '
'-co BLOCKXSIZE=512 '
'-co BLOCKYSIZE=512 '
'-co NUM_THREADS=ALL_CPUS '
'-a_srs \"EPSG:{epsg}\" {png} {tiff} > {log}'.format(**kwargs))
geotiffcreated = True