Local generation tool suite for MAMUT-routing: OSM acquisition, road-graph engine, route geometry, and CVRP/VRPTW instance generation.
Project description
MAMUT-routing-tools
Local generation tool suite for the MAMUT-routing benchmark project: OSM city acquisition, a road-graph engine, BKS route-geometry materialization, and interactive CVRP/VRPTW instance generation. The public MAMUT-routing website is fully static; everything compute-heavy lives here and runs on your own machine.
Part of the ANR MAMUT project.
Status
Beta. The tool suite is being extracted from the website's former Julia backend; interfaces may change between releases.
Components
mamut-tools roadgraph: build and inspect drivable road graphs from OSM XML extracts. The construction is a faithful Python port of the OpenStreetMapX.jl pipeline the project previously used (same road classes, oneway rules, intersection segmentation, ENU distances, and strongly-connected trim), so graphs and route geometry stay consistent with previously published data.mamut-tools geometry: materialize road-following polylines for best-known solutions, in the exact artifact format the MAMUT-routing website consumes.- Planned: OSM city fetch (Nominatim + Overpass), interactive CVRP/VRPTW generation with a local workbench GUI, and the official time-dependent benchmark campaign pipeline.
Install
Requires Python >= 3.11 and uv.
git clone --recurse-submodules https://github.com/ANR-MAMUT/MAMUT-routing-tools.git
cd MAMUT-routing-tools
uv sync
uv run mamut-tools --help
The MAMUT-routing-lib contract library is vendored as a git submodule and installed as an editable dependency.
Quick examples
# Road-graph statistics for a city extract
uv run mamut-tools roadgraph info path/to/City.osm
# Materialize a route-geometry group plan (website build contract)
uv run mamut-tools geometry materialize-plan plan.json --repo-root path/to/MAMUT-routing --result-dir out/
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mamut_routing_tools-0.1.0.tar.gz.
File metadata
- Download URL: mamut_routing_tools-0.1.0.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
348315439787806c3672bf54497d805108880fd230608a00a1d3862762b79dbf
|
|
| MD5 |
2e37ca415a217ad56eb17e9ccddc2d45
|
|
| BLAKE2b-256 |
165ccffde42f3c82a07af2079bcd94148c75bfce4de1017598dab1c95ee67777
|
File details
Details for the file mamut_routing_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mamut_routing_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea9d2f78f8980a24482e9718e9ce92a6b1fa1224b436f471515dfd4dfb175f0
|
|
| MD5 |
ac9187b780d96c3a5885db88dafde2d2
|
|
| BLAKE2b-256 |
a8cf8b156b9105f58237d2f8f69666958b33441bc8c4604a430a6e682277864d
|