Method

GExiv2Metadataget_gps_info

unstable since: 0.16.0

Declaration [src]

gboolean
gexiv2_metadata_get_gps_info (
  GExiv2Metadata* self,
  gdouble* longitude,
  gdouble* latitude,
  gdouble* altitude,
  GError** error
)

Description [src]

Convenience function to query all available GPS information at once. See the gexiv2_metadata_get_gps_longitude(), gexiv2_metadata_get_gps_latitude() and gexiv2_metadata_get_gps_altitude() for possible values of the out parameters.

Available since: 0.16.0

Parameters

longitude

Type: gdouble*

Storage for longitude value.

The argument will be set by the function.
latitude

Type: gdouble*

Storage for latitude value.

The argument will be set by the function.
altitude

Type: gdouble*

Storage for altitude value.

The argument will be set by the function.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

Boolean success value. Indicates if any of the queries failed.