kopia lustrzana https://github.com/OpenDroneMap/ODM
tiled, deflate, etc.
per Seth's comment here https://github.com/hotosm/oam-uploader/issues/39
Former-commit-id: c3f5cf2150
pull/1161/head
rodzic
6210a15a84
commit
fee8b4adf0
|
@ -89,10 +89,13 @@ class ODMOrthoPhotoCell(ecto.Cell):
|
|||
}
|
||||
|
||||
system.run('gdal_translate -a_ullr {ulx} {uly} {lrx} {lry} '
|
||||
'-co TILED=yes -co SPARSE_OK=yes '
|
||||
'-co BLOCKXSIZE=256 -co BLOCKYSIZE=256 '
|
||||
'-co INTERLEAVE=BAND -co COMPRESS=JPEG '
|
||||
'-co JPEG_QUALITY=90 '
|
||||
'-co TILED=yes'
|
||||
'-co COMPRESS=DEFLATE'
|
||||
'-co PREDICTOR=2'
|
||||
'-co BLOCKXSIZE=256'
|
||||
'-co BLOCKYSIZE=256'
|
||||
'-co INTERLEAVE=band'
|
||||
'-co NUM_THREADS=ALL_CPUS'
|
||||
'-a_srs \"EPSG:{epsg}\" {png} {tiff} > {log}'.format(**kwargs))
|
||||
geotiffcreated = True
|
||||
if not geotiffcreated:
|
||||
|
|
Ładowanie…
Reference in New Issue