Skip to main content
Skip table of contents

Geo Point Within Polygon Condition

The GeoPoint Within Polygon condition checks if the geoinformation inserted in Picturepark is within a defined polygon e.g. to check if the images shot were created in Aarau or more general 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). 

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

Specific Definitions

Property

Value

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 the Images' Location in the Defined Area?

CODE
{
	"kind": "GeoPointWithinPolygonCondition",
	"polygon": [
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		},
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		},
		{
			"kind": "GeoPoint",
			"lat": 12,
			"lon": 12
		}],
	"fieldPath": "image.location"
}


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.