EXIF - GPS
Posted: Sat Jan 24, 2009 9:10 am
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:
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
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));
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