Functions
a_geotag_create_waypoint_from_file ()
VikWaypoint *
a_geotag_create_waypoint_from_file (const gchar *filename
,
VikCoordMode vcmode
,
gchar **name
);
Returns
An allocated Waypoint or NULL if Waypoint could not be generated (e.g. no EXIF info)
a_geotag_waypoint_positioned ()
VikWaypoint *
a_geotag_waypoint_positioned (const gchar *filename
,
VikCoord coord
,
gdouble alt
,
gchar **name
,
VikWaypoint *wp
);
Returns
An allocated waypoint if the input waypoint is NULL,
otherwise the passed in waypoint is updated
Here EXIF processing is used to get non position related information (i.e. just the comment)
a_geotag_get_exif_date_from_file ()
gchar *
a_geotag_get_exif_date_from_file (const gchar *filename
,
gboolean *has_GPS_info
);
Returns
An allocated string with the date and time in EXIF_DATE_FORMAT, otherwise NULL if some kind of failure
Here EXIF processing is used to get time information
a_geotag_get_position ()
struct LatLon
a_geotag_get_position (const gchar *filename
);
filename
: The (JPG) file with EXIF information in it
Returns
The position in LatLon format.
It will be 0,0 if some kind of failure occurs.
a_geotag_write_exif_gps ()
gint
a_geotag_write_exif_gps (const gchar *filename
,
VikCoord coord
,
gdouble alt
,
gdouble direction
,
VikWaypointImageDirectionRef direction_ref
,
gboolean no_change_mtime
);
Returns
A value indicating success: 0, or some other value for failure