[Geotiff] get tifftag_geoasciiparams string

noel khan noel.khan at rdmd.ocgov.com
Mon Dec 17 10:54:05 EST 2007


Gok,

See: http://www.remotesensing.org/geotiff/spec/geotiff2.4.html#2.4

The data type for the GeoAsciiParamsTag value is ASCII (see the TIFF 6
spec). Of course, "letters" are not stored, but rather the ASCII numerical
code representing each letter in the string. 

The value of the GeoAsciiParamsTag may contain multiple strings. Each string
stored in GeoAsciiParamsTag's value must be delimited by a ASCII(0), i.e.,
NULL. 

Because some some programs may read the GeoAsciiParamsTag's value ONLY UP TO
the first NULL encountered, the GeoTiff spec recommends that *Readers*
replace each NULL delimiter with a pipe-character. Of course, this assumes
that piple characters are not stored in the GeoAsciiParamsTag's value to
begin with. 

Noel
-- 
View this message in context: http://www.nabble.com/get-tifftag_geoasciiparams-string-tp8755028p14372562.html
Sent from the GeoTIFF mailing list archive at Nabble.com.



More information about the Geotiff mailing list