[Geotiff] User defined datum: Transformation parameters

Christian Zietz czietz at gmx.net
Thu Feb 28 13:53:58 PST 2008

Christian Zietz schrieb:

> And that's exactly where I'm having problems right now. Whenever I try
> to store multiple double values, an access violation occurs somewhere
> inside GTIFKeySet.

And a follow-up question/remark: Is it correct that multiple doubles
have to be passed as an array? When I do something like

double d[7];
d[0] = 1; d[1] = 2; d[2] = 3; d[3] = 4;
d[4] = 5; d[5] = 6; d[6] = 7.1;
GTIFKeySet(gtif, MY_KEY, TYPE_DOUBLE, 7, d);

everything works as expected. No access violation and listgeo confirms
that the key is correctly set.

Christian Zietz  -  CHZ-Soft  -  czietz at gmx.net
WWW: http://www.chzsoft.com.ar/
PGP/GnuPG-Key-ID: 0x6DA025CA

More information about the Geotiff mailing list