Le mercredi 03 juin 2015 11:15:16, Koen2704 a écrit : > Dear community > > > I am trying to create tiled pyrimidal tifs through GDAL library tools: > First I do: gdal_translate test.tif tiled_test.tif -b 1 -b 2 -b 3 -co > COMPRESS=JPEG -co PHOTOMETRIC=RGB,
Note: the resulting dataset will not be tiled if you don't specify -co TILED=YES > then I do: gdal_gdaladdo --config > COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW RGB --config > INTERLEAVE_OVERVIEW PIXEL -ro tiled_test.tif 2 4 8 16 > > In the end I get a nice tiled pyrimidal tif, but it is greyscale?! How do I > keep the colors?! That's surprising. Are you sure the viewer is using overviews properly ? You could try "gdal_translate tiled_test.tif.ovr ovr2.tif" and display ovr2.tif. If it looks OK, then it's likely an issue with the viewer. If it is greyscale then there's a strange issue for which sharing your dataset would be good for further investigation. > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/gdal-translate-and-gdal-gdaladdo-to-cr > eate-tiled-pyrimidal-tiffs-grey-tp5208842.html Sent from the GDAL - Dev > mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
