"André M. Winter - Carto.net" <[EMAIL PROTECTED]> writes:

Hi André

(I subscribed your other address to the list before I saw that you had
done it yourself, sorry about that... I've unsubscribed it again.)

> answering my own question,the problem was the missing PelIfd::GPS
> while creating the GPS IFD:
>
> $gps = new PelIfd(PelIfd::GPS);
> $ifd0->addSubIfd($gps);
> $lat = new PelEntryRational(PelTag::GPS_LATITUDE,
> array(11,1),array(22,1),array(33,1));
> $gps->addEntry($lat);

Yep, that looks right!  Thanks for posting your solution!


-- 
Martin Geisler                                     GnuPG Key: 0x7E45DD38

PHP Exif Library      |  PHP Weather             |  PHP Shell
http://pel.sf.net/    |  http://phpweather.net/  |  http://mgeisler.net/
Read/write Exif data  |  Show current weather    |  A shell in a browser

Attachment: pgpSa88a90Jgl.pgp
Description: PGP signature

Reply via email to