Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

GeoPointWithinPolygonCondition checks if the value in the provided fieldpath is inside the defined polygon e.g. to check if images were taken (GPS data from extracted metadata) near the headquarter address (polygon) and then assign the headquarter tag to them (action assign tag). 

Triggers the moment the Geo Point value in the provided fieldpath is inside the defined polygon. 

Specific Definitions

PropertyValue
kind

GeoPointWithinPolygonCondition

fieldpath

layerId.fieldId

Details on accessing field values, specifically fieldpath starts lowercase

Supports JSON path syntax which you can test here: https://jsonpath.com.

polygon

Geo Point

  • Latitude
  • Longitude

A minimum of three geo points must be defined. 

Is Product 12346xxx Assigned?
{
	"kind": "GeoPointWithinPolygonCondition",
	"polygon": [
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		},
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		},
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		}],
	"fieldPath": "image.location"
}
  • No labels