Matcher is the WherobotsDB module that performs map matching for GPS points.
The following functions are available in the matcher module:
match(): Performs map matching for GPS pathsload_osm(): Loads OSM xml file and retrieves edges and nodes information
match()
match() performs map matching for a GPS path trip. If not provided, the first non-geometry column is used.
DataFrame object that contains all edges in the target dataset
DataFrame object that contains all GPS trips for which map matching need to be performed
Name of the geometry column in the edgesDf DataFrame
Name of the geometry column in the pathsDf DataFrame
Optional - Name of the column in the pathsDf DataFrame that contains the unique identifier for each GPS
Returns
A DataFrame object containing the results of map matching
load_osm()
Function loads an OSM xml file and retrieves all the edges and locations of the corresponding nodes.
A string that represents path to the OSM xml file
A string denoting the tags to be used for filtering the OSM data
Returns
A DataFrame object containing all the edges information required for map matching

