Filter Query: Geo Distance Filter

Show all Picturepark partners near Berlin, 50km radius. This way your sales people can get an easy overview of partners to visit or to invite for a specific partner event.

{ "kind": "GeoDistanceFilter", "field": "layerId.fieldId", "location": { "lat": 52.5200, "lon": 13.4050, }, "distance": 50000 // DISTANCE IN METERS }

Basic Filter

Geo values at position e.g. all images from Aarau and 100m distance (radius).

{ "kind": "GeoDistanceFilter", "field": "layerId.fieldId", "location": { "lat": 47.4117082, "lon": 8.0569206, }, "distance": 100 }

Properties

kind

Required

Which filter to use, as string e.g. "GeoDistanceFilter"

field

Required

The field's name to execute the filter on. It is composed by the field ids of the hierarchy joined with "." (i.e. personLayer.address.region).

location

The top left corner of the bounding box's geo location (latitude and longitude).

Lat

Latitude value (decimal value)

Lon

Longitude (decimal value)

distance

The distance in meters from the point of origin (location).

Show only Customers in my Region

Show all customers 200km from my location, so I know which ones to include in my marketing campaigns.

{ "kind": "GeoDistanceFilter", "field": "keyAccountCustomers.headquarter.location", "location": { "lat": 40.7128, "lon": 74.0060, }, "distance": 200000 }



FotoWare Switzerland AG - CH-5033 Buchs - Switzerland
https://picturepark.com - support@picturepark.com
© 2023 FotoWare Switzerland AG