GExiv2.Metadata.try_update_gps_info

### Method

# GExiv2 Metadatatry_update_gps_info

deprecated: 0.16.0 since: 0.12.2

#### Declaration [src]

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

#### Description [src]

Convenience function to update longitude, latitude and altitude at once.

Available since: 0.12.2

Deprecated since: 0.16.0

Use `gexiv2_metadata_update_gps_info()` instead.

#### Parameters

`longitude`

  Type: `gdouble`

  Longitude value to set or replace current value.

`latitude`

  Type: `gdouble`

  Latitude value to set or replace current value.

`altitude`

  Type: `gdouble`

  Altitude value to set or replace current value.

`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.