lair.transects.merge_route_points#
- lair.transects.merge_route_points(routes_xy, tol)[source]#
Merge the fixed points of several routes into one network point set.
routes_xyare(n_i, 2)arrays of projected coordinates (metres). Points of the first route are kept; a point of a later route is added only if it is farther thantolfrom every point already in the set, otherwise it is snapped to the nearest existing one. Returns(network_xy, index)whereindex[i][k]is the network point of routei’s pointk. Shared track thus maps to shared network points.