Skip to content

Latest commit

 

History

History

osmnx_example

Download a routable OSM network in shapefile

Check the download_network.ipynb.

Run map matching in command line arguments

# Run precomputation
ubodt_gen --network stockholm/edges.shp --network_id fid --source u --target v --output stockholm/ubodt.txt --delta 0.03 --use_omp
# Run fmm
fmm --ubodt stockholm/ubodt.txt --network stockholm/edges.shp --network_id fid --source u --target v --gps stockholm/trips.csv -k 8 -r 0.003 -e 0.0005 --output stockholm/mr.txt --use_omp
# Run stmatch
stmatch --network stockholm/edges.shp --network_id fid --source u --target v --gps stockholm/trips.csv -k 8 -r 0.003 -e 0.0005 --output stockholm/mr.txt --use_omp --output_fields opath,cpath,mgeom

Run map matching in jupyter notebook

Check the map_matching.ipynb.