Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

This sample application is discussed in this StreamsDev article. It demonstrates how to use the OSMPointMatcher operator in the Geospatial toolkit.

Run the demo

You need:

Download the road network file

This sample demonstrates map matching in Bewdley, Ontario. An OpenStreetMap (OSM) road network file is required to perform the map matching. So, before you can run the sample, download the OSM file:

Compile the application

Once the OSM file is saved in the etc folder,

  • Import the projects into Streams Studio
  • Compile and launch the OSMPointMapMatchingSample application and launch it in Distributed mode.

View the map matching results

Once the application is running, go to http://PE HOST:8080/map/map.html, where PE HOST is the host where the Map Viewer operator in the application is running.

See the image below for how to find out the PE host.

Running application: The green markers represent raw GPS locations. The yellow and red markers represent mapped locations on the road.