AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.02.01 23:14 "[Tiff] Re: get tifftag_geoasciiparams string", by Phil Harvey
2007.02.02 00:07 "[Tiff] Re: get tifftag_geoasciiparams string", by Phil Harvey
2007.02.02 19:36 "RE: [Tiff] Re: get tifftag_geoasciiparams string", by Gennady Khokhorin
2007.02.02 20:25 "Re: [Tiff] Re: get tifftag_geoasciiparams string", by Phil Harvey
2007.02.02 20:44 "RE: [Tiff] Re: get tifftag_geoasciiparams string", by Ed Grissom
2007.02.05 18:27 "RE: [Geotiff] RE: [Tiff] Re: get tifftag_geoasciiparams string", by Gennady Khokhorin

2007.02.02 20:25 "Re: [Tiff] Re: get tifftag_geoasciiparams string", by Phil Harvey

On 2-Feb-07, at 2:36 PM, Gennady Khokhorin wrote:

Still can not find any reference for return from TIFFGetField(tif, TIFFTAG_GEOASCIIPARAMS, &data) command.

Hi Gennady,

I've never used TIFFGetField(), but I expect it just returns a null- terminated string for ASCII tags. (A null terminated string is just a character array where the length is determined by scanning for the first null byte.)

The content of the TIFFTAG_GEOASCIIPARAMS will be a set of strings accessed via the TIFFTAG_GEOKEYDIRECTORY information. In a sample I have, it looks like strings may be separated by '|' symbols in the TIFFTAG_GEOASCIIPARAMS record, but you should check the GeoTiff documentation to be sure.

I hope this helps.

- Phil