Hello devs,

I'm playing with GDAL to set the CRS of a set of geotiff files I was given to upload them to geoserver later.

These files, were generated using ArcGIS and it seems that the CRS set in the geotiff file header is not standar (at least, my geoserver doesn't recognize them). What I did:

 gdal_translate -a_srs "EPSG:23029" original.tif output.tif

After doing that, the size of the output is 5/10 times bigger than input (in some cases: from 10Mb to almost 110Mb). The only thing I see as different -using gdalinfo on both files- is the "Color Table". The former has 2 entries and the output has 256. Don't know if it's the source of the problem, just let you know in case it is useful.

So, my question is: how could I generate an output file, with CRS set and with roughly the same size of the original?

best,
amaneiro
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to