Hello Community,
We are trying to implement a radius search on a map element.
We have a table with geocoordinates (Lon and Lat), which we can also convert into a geography::Point.
For the purpose of planning, I now want to know when I am on a dataset, which datasets from the same table are X kilometers away to do further planning.
On the MS-SQL Server side, we know what to do:
declare @point geography = geography::Point(<Latitude>, <Longitude>, 4326);
SELECT id, geo_point
FROM [table]
WHERE @point.STDistance([geo_point]) <= 40000; -- input distance in meters
But in the Sofware Factory / Universal GUI we are currently unable to find a solution. Clearly a task with the distance as a parameter and the current geodata of the selected data set. And as a result we could get a list with IDs which data records are within the specified radius. But how do we filter this and how do we prevent everything from being recalculated immediately when the data set is changed? Or are we thinking in the wrong direction?
Thanks for your input.