[gdal-dev] GeoRaster COMPRESS=DEFLATE is not compressing

Pasta Bolognese pasta.bolognese at gmail.com
Tue Jul 13 12:03:48 EDT 2010


Hi All,

to safe space, I'm trying the -co "COMPRESS=DEFLATE". but it is not
compressing !

C:\tmp>gdal_translate -of georaster c:\tmp\map.png ^
More?
georaster:geoserver/geoserver,MFDEVDB,geoserver.pasta_rasters,raster ^
More?                -co "INSERT=VALUES(SDO_GEOR.INIT('pasta_rdt_01'))" ^
More?                -co "COMPRESS=DEFLATE"
Input file size is 1014, 863
0...10...20...30...40...50...60...70...80...90...100 - done.
Ouput dataset: (georaster:geoserver,geoserver,MFDEVDB,PASTA_RDT_01,56)
on PASTA_RASTERS,RASTER

then from SQL

select sdo_geor.calcCompressionRatio(t.raster) from pasta_rasters t;

and I get 1...

infact if I run gdal_translate without COMPRESS, It is using exactly
the same amount of space (select * from user_segments;)

Any Ideas ?

thanks


More information about the gdal-dev mailing list