Skip to main content

Accurate routing for Open Street Maps and OSMnx

Project description

gh-actions-ci GitHub license codecov

Taxicab

When routing between two points of longitude and latitude, the built in routing functionality in OSMnx will find the nearest network nodes and route between those. This assumption is fine, and works for many applications but when you need routing with a little more accuracy you'll want to consider using Taxicab. Below are a few examples which highlight Taxicab usecases:

When the nearest nodes are not that close

When routing along a single edge:

When routing along short routes:

Installation

The easiest way to use Taxicab is probably via a PyPi install:

pip install taxicab

You can also install directly from this repo:

pip install git+https://github.com/nathanrooy/taxicab

Example usage

User reference

Performance Considerations

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Taxicab-0.0.1.tar.gz (6.9 kB view hashes)

Uploaded Source

Built Distribution

Taxicab-0.0.1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page