Re: [gdal-dev] gdalwarp eats scale and offset

2012-03-21 Thread Etienne Tourigny
I am the author of those changes (adding metadata copy to gdalwarp), and I must confess I had not thought of scale and offset. What I did do was add non-conflicting metadata (at the dataset and band level) and some band-related stuff like description. I have just tested and gdalwarp does not pass

Re: [gdal-dev] gdalwarp eats scale and offset

2012-03-21 Thread Frank Warmerdam
On Wed, Mar 21, 2012 at 3:01 PM, Kyle Shannon wrote: > If I have a dataset with a scale and offset: ... > I couldn't find any docs on this. Is this known and/or expected? I would > think scale and offset would be transferred to the new file. Kyle, Scale and offset are basically a form of metadat

[gdal-dev] gdalwarp eats scale and offset

2012-03-21 Thread Kyle Shannon
If I have a dataset with a scale and offset: kyle@ubuntu:~/Desktop$ gdalinfo test.tif Driver: GTiff/GeoTIFF Files: test.tif Size is 738, 919 Coordinate System is: PROJCS["WGS 84 / UTM zone 12N", ... Origin = (279635.000,4878315.000) Pixel Size = (30.000,-30.000