slv.measurements.mobile.network.filter_near_routes#

slv.measurements.mobile.network.filter_near_routes(gps, routes, buffer)[source]#

Keep GPS points within buffer (in routes’ CRS units) of any route.

The per-line buffers are dissolved into one geometry first: where lines share track (the red/blue/green downtown trunk) a point falls inside several buffers and a plain sjoin duplicated it — the old builder more than doubled rows there.

Return type:

GeoDataFrame