Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
I hope the above description of my problem is clear.
Any assistance would be greatly appreciated.
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
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
Thanks so much, Patric.
The first suggestion (combination of TravelAreas and Within) solved my problem.