Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas037.isp.belgacom.be (localhost [127.0.0.1])
        by inav003.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id l12KsQYo012032
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Feb 2007 21:54:26 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.4.218])
        by inas037.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id l12KsKKE019190
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Feb 2007 21:54:21 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l12KsAQd011346
        for <joris.at.lebbeke@skynet.be>; Fri, 2 Feb 2007 21:54:10 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l12Ki1R3026823;
	Fri, 2 Feb 2007 15:44:17 -0500
Received: from us-smtp2.ingrnet.com (ckpnt05.intergraph.com [63.75.137.244])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l12KhxWr026820
	for <tiff@lists.maptools.org>; Fri, 2 Feb 2007 15:43:59 -0500
Received: from US-MAIL.ingrnet.com ([129.135.112.2]) by us-smtp2.ingrnet.com
	with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 2 Feb 2007 14:43:57 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: [Tiff] Re: get tifftag_geoasciiparams string
Date: Fri, 2 Feb 2007 14:44:00 -0600
Message-ID: <AA6DDFA4E046A24585BC828A78155B47015C516D@US-MAIL.ingrnet.com>
In-Reply-To: <A2A70093-575D-4767-87DD-0A83CB5E99ED@owl.phy.queensu.ca>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] Re: get tifftag_geoasciiparams string
Thread-Index: AcdHCLm1CAlISmhPSTO6SbmEQAqdQgAAT64Q
References: <3054411AF4728548AD6D7137190D56B30C45C1@admin1.aeromap.com>
	<A2A70093-575D-4767-87DD-0A83CB5E99ED@owl.phy.queensu.ca>
From: "Grissom, Ed" <ed.grissom@intergraph.com>
To: <tiff@lists.maptools.org>
X-OriginalArrivalTime: 02 Feb 2007 20:43:57.0562 (UTC)
	FILETIME=[DC5C25A0:01C7470A]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	l12KhxWr026820
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00002089
X-MSP-STORE: Fri, 02 Feb 2007 21:54:36 +0100
Status:   


Gennady -  

I believe Phil is correct below. 

You would probably get better info if you asked on the GeoTIFF list
[geotiff@lists.maptools.org] although a lot of us hang out both places.


I think the GeoTIFF spec (1) describes what the string is supposed to
look like internally.  I would assume that the TIFF code treats it as
any other ASCII string type. 

The GeoTIFF spec requires that TIFFGetField() makes sure it has a
terminating NULL .


(1) http://geotiff.maptools.org/spec/geotiff2.4.html#2.4



-- 
ed grissom
ed.grissom@intergraph.com




-----Original Message-----
From: tiff-bounces@lists.maptools.org
[mailto:tiff-bounces@lists.maptools.org] On Behalf Of Phil Harvey
Sent: Friday, February 02, 2007 2:25 PM
To: tiff@lists.maptools.org
Subject: Re: [Tiff] Re: get tifftag_geoasciiparams string

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


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

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