I am looking for a way to run select by location, specific to the features of the 'INTERSECT' layer. I have got bus locations and bus stops and want to figure out when the bus has entered and left individual stops.
Here the orange dots are the bus stops (with varying radius) and the purple ones are the GPS locations of one bus.
With the standard logic, select by location select the GPS locations in all stops and I cannot discriminate when the bus has visited individual stops.
I am using this command for the selection:
processing.run("native:selectbylocation", {'INPUT':Course,'PREDICATE':[0,6],'INTERSECT':Stops,'METHOD':0})