Get Image Metadata Activity

Description

The Get Image Metadata activity gets the metadata attached to an image if it exists.

Usage

A workflow could use the File Picker form element in a Display Form activity to get an image from the end user. The end user's image may have location data attached to it. The workflow could use the Get Image Metadata activity to create a point on a map at the location that it gets from the metadata.

Inputs

Source

Required

Type: Number[]

The byte content of the image.

Bytes are the raw binary values that represent content. A byte array is represented by a list of numbers between 0 and 255. Invalid byte content will cause an error.

One way byte content can be retrieved is by using the Read File Bytes activity.

Outputs

latitude

Type: Number

The latitude of the location stored in the metadata.

The latitude can be null.

longitude

Type: Number

The longitude of the location stored in the metadata.

The longitude can be null.

metadata

Type: Object

The metadata attached to the image. Metadata is stored as key/value pairs.

Metadata can be null.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

Version Information

Supported from: VertiGIS Studio Mobile Viewer 5.0.