Method

GExiv2Metadatatry_get_gps_info

deprecated: 0.16.0 since: 0.12.2

Declaration [src]

gboolean
gexiv2_metadata_try_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.

Available since: 0.12.2

Deprecated since: 0.16.0

Use gexiv2_metadata_get_gps_info() instead.

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.