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 Array

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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity does not work when the device is offline.

Version Information

Supported from: Geocortex Mobile Viewer 5.0.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15