Closed mdsumner closed 2 years ago
gdal_translate .../www.bodc.ac.uk/data/open_download/gebco/GEBCO_30SEC/zip/GEBCO_2014_2D.nc -co TILED=YES -co BLOCKXSIZE=256 -co BLOCKYSIZE=256 -co COMPRESS=DEFLATE gebco_14_deflate_256.tif gdaladdo gebco_14_deflate_256.tif 2 4 8 16 ## 1.3G (from 1.8Gb) Driver: GTiff/GeoTIFF Files: gebco_14_deflate_256.tif Size is 43200, 21600 ... Band 1 Block=256x256 Type=Int16, ColorInterp=Gray NoData Value=-32767 Overviews: 21600x10800, 10800x5400, 5400x2700, 2700x1350 Unit Type: m M
We'd need to think about the resampling algorithm for the overviews, currently it's nearest neighbour (and possibly the band type, currently Int16)
Oh, in upcoming GDAL 3.1 we can use -of COG:
-of COG
https://gdal.org/drivers/raster/cog.html
more to come ping @raymondben fyi
We'd need to think about the resampling algorithm for the overviews, currently it's nearest neighbour (and possibly the band type, currently Int16)