Skip to content
Map Matching
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Add examples Dec 1, 2015
map_matching Explicitly cast costs to float Sep 8, 2016
.gitignore Add first working version Jun 15, 2015
LICENSE BSD License Jun 15, 2015


map_matching is a Python library that associates a sequence of locations (e.g. GPS trajectory) to the underlying road network. The matching considers both road network topology and spatial relations. The library provides a simple interface for use, and above that it is also intended to work nicely with PostGIS and OSM road network to build real-world applications.


  • Provide both offline and online matching
  • Support PostGIS with OSM road network loaded
  • Designed to be fast, even in Python

Getting Started

See Getting Started for more information.


We use nose to run unit tests.

Currently we put code and tests together for the sake of convenience. To test a single module, for example,, simply:

$ nosetest map_matching/

To run all unit tests:

$ nosetest map_matching/*.py


map_matching is under BSD license. See LICENSE file for full license text.

You can’t perform that action at this time.