Re: [gdal-dev] Copy / manipulate TIFF-header

2010-03-05 Thread Sigbjorn Herstad
Using the Python-script I was able to update the SetGeoTransform and SetProjection with success. I have also done the same with a VB-script with the same result. I do not see anything wrong in the header and the file itself opens without errors. Thanks for the warning regarding bugs in the libtiff

Re: [gdal-dev] Copy / manipulate TIFF-header

2010-03-04 Thread Greg Coats
A .tif file in organized such that it begins with a very small header, is followed by all of the pixels, and then the file ends with the TIFF tags. So, if one wanted to change or set for example the TIFF resolution tags, there are three resolution tags: XResolution=282, YResolution=283, and Reso

Re: [gdal-dev] Copy / manipulate TIFF-header

2010-03-04 Thread Frank Warmerdam
Sigbjorn Herstad wrote: Hi, This is my first post here, but have followed the list for several years. I am trying to find a good way to edit a GeoTIFF-header. I have looked at the Python-script and listgeo and geotifcp mentioned here: http://lists.osgeo.org/pipermail/gdal-dev/2008-April/016752.h

[gdal-dev] Copy / manipulate TIFF-header

2010-03-03 Thread Sigbjorn Herstad
Hi, This is my first post here, but have followed the list for several years. I am trying to find a good way to edit a GeoTIFF-header. I have looked at the Python-script and listgeo and geotifcp mentioned here: http://lists.osgeo.org/pipermail/gdal-dev/2008-April/016752.html Using the Python-scri

[gdal-dev] Copy / manipulate TIFF-header

2010-03-02 Thread Sigbjorn Herstad
Hi, This is my first post here, but have followed the list for several years. I am trying to find a good way to edit a GeoTIFF-header. I have looked at the Python-script and listgeo and geotifcp mentioned here: http://lists.osgeo.org/pipermail/gdal-dev/2008-April/016752.html Using the Python-scri