Page 1 of 1

EXIF - GPS

Posted: Sat Jan 24, 2009 9:10 am
by madiazg
Hello,
I have a problem to store in a photo the GPS data.
Reference Latitude (North / South) or the length of reference (East / West) I do not have problems because they are datas the ASCII type:

Code: Select all

gflBitmapSetEXIFValueString2(EXIF2, 16, 1,PChar(LatitudeRef));
I have problem with the latitude and longitude which, according to information I found on the Internet, are data type Rational:


The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. When degrees, minutes and seconds are expressed, the format is dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format is dd/1,mmmm/100,0/1.
Tag = 2 (2.H)
Type = RATIONAL
Count = 3
Default = none


For example, the latitude 28ยบ 26' 59.55", Can you tell me how to be added to the EXIF information of the picture?

Regards...
Miguel Angel
http://imagen3d.site88.net

Re: EXIF - GPS

Posted: Mon Jan 26, 2009 10:55 am
by xnview
Sorry currently you can't add GPS values to EXIF

Posted: Mon Jan 26, 2009 3:10 pm
by madiazg
Hello Pierre,
Do you have intentions to add this feature in future version of GLF SDK?
Regards...
Miguel Angel

Posted: Tue Jan 27, 2009 8:15 am
by xnview
madiazg wrote: Do you have intentions to add this feature in future version of GLF SDK?
Yes, i can add the support

Posted: Tue Jan 27, 2009 10:49 am
by madiazg
Thank you very much.