TIOParams.EXIF_GPSLatitude
Declaration
property EXIF_GPSLatitude: Double;
Description
Returns the latitude in decimal degrees where the photo was taken (if the camera supports GPS).
Note:
◼This uses the following EXIF properties:
EXIF_GPSLatitudeDegrees,
EXIF_GPSLatitudeMinutes,
EXIF_GPSLatitudeSeconds and
EXIF_GPSLatitudeRef◼To save GPS data, you must set
EXIF_GPSVersionID to '2.2.0.0' (or use the const,
GPS_Version_ID)
// Write EXIF data to the current file
ImageEnView1.IO.Params.EXIF_GPSLatitude := StrToFloat( edtEXIF_GPSLatitude.Text );
ImageEnView1.IO.Params.EXIF_GPSLongitude := StrToFloat( edtEXIF_GPSLongitude.Text );
ImageEnView1.IO.Params.EXIF_GPSVersionID := GPS_Version_ID;
ImageEnView1.IO.InjectJpegEXIF('D:\GPSStamped.jpg');
See Also
◼IEGPSConvertDMSToDegDec◼EXIF_GPSLatitude_Str◼EXIF_GPSLongitude