/map-matching

Map Matching

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

map_matching

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.

Features

  • 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.

Tests

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, shortest_path.py, simply:

$ nosetest map_matching/shortest_path.py

To run all unit tests:

$ nosetest map_matching/*.py

License

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