Hello.
 
I’m using gdal_rasterize to remove some data from DEM (Int16) and hillshade 
(Byte) rasters with shape-file, like this:
gdal_rasterize -burn -32768 shape.shp dem.tif and gdal_rasterize -burn 0 
shape.shp hillshade.tif
Both DEM and hillshade GTiffs created with -co COMPRESS=LZW -co TILED=YES 
options. After processing with gdal_rasterize the  size of GTiffs becomes 1.5 
times larger . Why it happens?  I assumed that it should be the other way 
around, because a significant portion of the data is replaced with the same 
values and should be compressed well.
 
Andrey
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to