Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 2.25 KB

README.md

File metadata and controls

54 lines (34 loc) · 2.25 KB

fmm-examples

This repository contains a collection of fmm examples in Jupyter-notebook.

Python packages used

  • fmm: Fast map matching framework (Python binding used here)
  • ipyleaflet: Interactive map in Jupyter-notebook
  • ipywidget: Interactive widget in Jupyter-notebook
  • folium: More fluent dual map visualization
  • shapely: Geometry conversion
  • osmnx: Download road network from OpenStreetMap into Shapefile format
  • bqplot: 2-D plotting library for Project Jupyter
  • Pandas: Python data analysis library
  • Numpy: Numeric computation library
  • Geopandas: Python GeoSpatial data analysis library
  • Tested on Ubuntu 14.04 and Python 2.7 and Python 3 (Python 3 is only used in 1-download_network.ipynb to download network data)

A dataset is provided at data.tar.gz.

List of examples

  • 1-download_network.ipynb. Download OSM road network for a region
  • 2-map_match_interactive.ipynb. Interactive map matching
  • 3-hex_match_interactive.ipynb. Interactive hexagon matching
  • 4-explore_detailed_mapmatching.ipynb. Interactive exploring details of map matching result including gps error, shortest path distance, etc.

Screenshots

Map match to OSM road network by drawing, link

fmm_draw

Explore the factor of candidate size k, search radius and GPS error, link

fmm_explore

Explore detailed map matching information, link

fmm_detail

Explore with dual map, link

dual_map

Map match to hexagon by drawing, link

hex_draw

Explore the factor of hexagon level and interpolate, link

hex_explore