[Geotiff] RE: [Tiff] Re: get tifftag_geoasciiparams string

Gennady Khokhorin gok at aerometric-ak.com
Fri Feb 2 14:36:35 EST 2007


Thanks, Phil, for respond.
I agree: docs are pure. I have the same manual.txt for libgeotiff.

Still can not find any reference for return from TIFFGetField(tif, TIFFTAG_GEOASCIIPARAMS, &data)
command. The other two return number of elements as a parameter:
TIFFGetField(tif, TIFFTAG_GEOKEYDIRECTORY, &size, &data);
TIFFGetField(tif, TIFFTAG_GEODOUBLEPARAMS, &size, &data);

TIFFGetField() description in tiff-3.8.2\html\man\TIFFGetField.3tiff.html shows
in "Autoregistered tags" sample that ascii tag should be handled the same way. But 
real code is different.

I want to use TIFF approach to handle tags (shorts, doubles, ascii) as an arrays
rather then GTIFFKeySet/GTIFFKeyGet for each tag. Thanks to gdal it handles geoTiff
great.

Any help, please!

Gennady

-----Original Message-----
From: tiff-bounces at lists.maptools.org
[mailto:tiff-bounces at lists.maptools.org]On Behalf Of Phil Harvey
Sent: Thursday, February 01, 2007 3:08 PM
To: tiff at lists.maptools.org
Subject: [Tiff] Re: get tifftag_geoasciiparams string


Sorry, I meant to give you this reference so you can download the 
GeoTiff library, which I believe includes documentation:

  ftp://ftp.remotesensing.org/geotiff/libgeotiff/libgeotiff-1.2.3.tar.gz

- Phil

_______________________________________________
Tiff mailing list: Tiff at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/



More information about the Geotiff mailing list