Click here to get back home

Help with reading and writing tags using libgeotiff

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Help with reading and writing tags using libgeotiff ranger123 06-22-2005
Get Chitika Premium
Posted by ranger123 on June 22, 2005, 2:50 am
Please log in for more thread options
Hi,

I have problems with reading and writing some geottif tags and I still
have not figure out how to do it. Please help. Thanks.

I have compield libgeotif 1.2.2 into a DLL. I have tried to copy the
Geo tags from one file to another but not all of the tags were copied.
The ones that were left out are Tagged_Information(eg.
ModelTiepointTag) and Corner coordinates. The function I used is as
follows:

-----------------------------------------------

sourcegtif = GTIFNew(stif);
destgtif = GTIFNew(dtif);

sourcegif->gt_tif = destgtif->gt_tif;
sourcegif->gt_flags |= FLAG_FILE_MODIFIED;

GTIFWriteKeys(sourcegif);

-----------------------------------------------

Is this the correct way of copying tags? Do I need to use GTIFKeySet
to set every tag?
I have look through the structures but I can't find the structure that
store the Corner coordinates. Any idea which structure contains it?

Thanks.



Similar ThreadsPosted
Newbie ? - OpenGIS specifications worth reading? March 4, 2004, 12:13 am
Mind Reading, Mind Control September 30, 2007, 4:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap