Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
alidajvr
Contributor
Contributor

Qlik Sense Geo Analytics - Finding all possible coordinates from a list that falls within a certain radius of a point

Hi,

I need to identify which position coordinates (lats and longs) from a table containing position data falls within a 1km radius of a set of locations.  The locations are currently in a polygon format, but I am able to find the centre point of the polygon with the GeoGetPolygonCenter function.

The objective is to identify when a vehicle passed through a polygon location marked on a map.

I tried the Closest operator, but this only gives me the position closest to the location - not each instance when a vehicle passed through the polygon.

Here is an example of my data:

alidajvr_0-1626430858485.png

 

alidajvr_1-1626430874792.png

I hope the above description of my problem is clear.

Any assistance would be greatly appreciated.

 

 

 

 

 

1 Solution

Accepted Solutions
Patric_Nordstrom
Employee
Employee

Ok, severals ways to do that

1. Use the operation TravelAreas, transportation mode bird , distance 1 km for each of the locations to make circles around the locations.

2. Use the operation Within for each position towards the circles.

Or

The closest operation, transportation mode bird , max distance 1 km for each point to wards every location.

That is, if the locations doesn't overlap with 1 km.

(The order of the datasets matter, in this case first points then locations).

Thanks,

Patric

View solution in original post

2 Replies
Patric_Nordstrom
Employee
Employee

Ok, severals ways to do that

1. Use the operation TravelAreas, transportation mode bird , distance 1 km for each of the locations to make circles around the locations.

2. Use the operation Within for each position towards the circles.

Or

The closest operation, transportation mode bird , max distance 1 km for each point to wards every location.

That is, if the locations doesn't overlap with 1 km.

(The order of the datasets matter, in this case first points then locations).

Thanks,

Patric

alidajvr
Contributor
Contributor
Author

Thanks so much, Patric.

The first suggestion (combination of TravelAreas and Within) solved my problem.