Crates.io | nori |
lib.rs | nori |
version | 0.1.0 |
source | src |
created_at | 2020-10-01 16:55:44.470963 |
updated_at | 2020-10-01 16:55:44.470963 |
description | Estimate average daily traffic on a road network by sampling a distribution of shortest paths. |
homepage | https://github.com/b-r-u/nori |
repository | https://github.com/b-r-u/nori |
max_upload_size | |
id | 295089 |
size | 56,512 |
Estimate average daily traffic on a road network by sampling a distribution of shortest paths.
git clone https://github.com/Project-OSRM/osrm-backend/
cd osrm-backend
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --build . --target install
# Download OSM extract
wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
# Build routing graph
osrm-extract -p /usr/local/share/osrm/profiles/car.lua berlin-latest.osm.pbf
osrm-partition berlin-latest.osrm
osrm-customize berlin-latest.osrm
osrm-routed --algorithm mld berlin-latest.osrm
cargo build --release
cargo run --release -- sample -n 1000 --osrm ~/Downloads/berlin-latest.osrm --geojson output/berlin.geojson --routes output/berlin.routes --uniform2d 13.2392 52.4422 13.5125 52.5738
log-normal distribution of trip lengths
start/endpoints weighted by population-density, POI-density
local conversion factor for ground truth
Error: reqwest::Error { kind: Request, url: "http://127.0.0.1:5000/route/v1/driving/13.272295023439796,52.49581830313898;13.383933517069835,52.54885321672839?annotations=nodes", source: hyper::Error(IncompleteMessage) }