Matcher Java Class includes the following methods for map matching:
match(): Performs map matching for GPS pathsloadOSM(): Loads OSM xml file and retrieves edges information
match()
Perform map matching between an RDD of edges and an RDD of GPS tracks source node ID, destination node ID, a geometry column of type LineString that connects
source and destination nodes, source node latitudes and longitudes, destination node
latitudes and longitudes
contains the track ID, sequence of coordinates, and a geometry column of type LineString
connecting all GPS points
Parameters
A DataFrame consisting of all edges in the dataset. Each row in the RDD contains source node ID, destination node ID, a geometry column of type LineString that connects source and destination nodes, source node latitudes and longitudes, destination node latitudes and longitudes
A DataFrame consisting of all target GPS tracks for map matching. Each row contains the track ID, sequence of coordinates, and a geometry column of type LineString connecting all GPS points
A string denoting the geometry column in the edges dataFrame
A string denoting the geometry column in the paths dataFrame
Returns
A DataFrame consisting of map matching results for each target GPS tracks
loadOSM()
Perform map matching between an RDD of edges and an RDD of GPS tracks
Parameters
A string denoting the path to the OSM xml file
A string denoting the tags to be used for filtering the OSM data

