Table of Contents
Filter Query: Geo Distance Filter
Table of Contents
Show all Fotoware Alto partners within a 50km radius of Berlin. This way, your salespeople can get an easy overview of partners to visit or to invite to 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). It is composed of the field IDs of the hierarchy joined with "." (i.e., personLayer.address.region).
{
"kind": "GeoDistanceFilter",
"field": "layerId.fieldId",
"location": {
"lat": 47.4117082,
"lon": 8.0569206,
},
"distance": 100
}Properties
| kind |
Required Which filter to use, as a string, e.g., "GeoDistanceFilter" |
| field |
Required The field name to 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 the 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
}