[Geotiff] Tiff header modification

Daniel Denk ddenk at earthlink.net
Thu Sep 29 13:54:20 PDT 2005


Nivedita,

 

If you look on the Geotiff main page, there are two methods in programs
available for free to the Open Source:

 

Two tools are the original listgeo and geotifcp DOS command-line tools
(.exe's) to either strip Geotiff metadata from a georeferenced .tif file, or
to re-copy geotiff metadata from a text file to make a Geotiff .tif file.

 

There is a free GUI provided by Geosage which is a graphical wrapper for the
above two programs, to run the common use commands in a typical, or more
intuitive Windows type of environment - but is only capable of running
individual files.

 

If you want to batch, you can create a .bat (batch) file for the DOS
command-line that loops through the files in the directory you specify for
either of the command-line tools. You will have to know how to create a .bat
file and a little DOS code. There are many examples of creating such .bat's
on the web.

 

I'd suggest you become familiar with listgeo and geotifcp if your aim is to
batch through these tools - familiarize yourself with DOS commands and
scripting basics to write the needed .bat (batch) files. Once you're
familiar with this, you'll realize that you can apply similar .bat files for
other command-line use tools to automate their functions. There are also
several approaches you can take to run a .bat file which can drastically
improve efficiency in your workflow. I would only suggest a method that's
suited to your comfort level.

 

Hope this helps,

Daniel

 

 

 

-----Original Message-----
From: geotiff-bounces at lists.maptools.org
[mailto:geotiff-bounces at lists.maptools.org] On Behalf Of Nivedita Candade
Sent: Thursday, September 29, 2005 3:30 PM
To: geotiff at lists.maptools.org
Subject: [Geotiff] Tiff header modification

 

Can someone tell me how to modify/ update a tiff header ? Are there any
tools (in windows) to do so ? Also, I need to batch this process, so
anything automated would help.

 

Thanks in advance.

 

Nivedita Candade

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotiff/attachments/20050929/51d2c99a/attachment.html>


More information about the Geotiff mailing list