[Geotiff] Tiff header modification

Daniel Denk ddenk at earthlink.net
Thu Sep 29 17:41:57 EDT 2005


Sorry, I was assuming you were working with Geotiff's.

 

One tool that I've used for graphic arts and photography related work is
specific toward EXIF information. There are a variety of other free
command-line apps available if you search for them in a variety of needs and
language flavors. This one seems to pack many of the desirable formats into
one application:
http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html - Again, you
can create .bat files for DOS batching as well.

 

If you're editing images with the recent Adobe proprietary Extensible
Metadata Platform (XMP) structure, you'll find very little in way of such
tag manipulation capability in command-line form or automation - at least
without having to pay for it, or it being readily available in the Open
Source.

 

Hope this helps,

Daniel

 

 

 

-----Original Message-----
From: Nivedita Candade [mailto:nivedita.candade at gmail.com] 
Sent: Thursday, September 29, 2005 4:22 PM
To: Daniel Denk
Subject: Re: [Geotiff] Tiff header modification

 

Thank you Daniel. I did try to use those programs. I am looking for generic
'tiff' tags in addition to Geotiff tags. I already have information such as
imageheight, resolution, rows/strip etc., but want to add 'Image
descriptionTag' and 'documentNameTag'. These are not part of the tags that
listgeo/geotifcp use. 

I would like to know how I can update these tif tags. In short, is there an
equivalent of listgeo<=>geotifcp for basic tiff header information ? 

Hope I was clear enough.

 

Thanks for your help.

 

Nivedita

 

On 9/29/05, Daniel Denk <ddenk at earthlink.net> wrote: 

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.maptools.org/pipermail/geotiff/attachments/20050929/0d952d04/attachment-0001.html


More information about the Geotiff mailing list