#api-client #engine #point #brouter

bin+lib brouter-client

API Client implement for brouter

3 releases

0.1.3 Jul 14, 2023
0.1.1 Jul 9, 2023
0.1.0 Jul 9, 2023

#38 in #point

Apache-2.0

14KB
274 lines

API Client for brouter

This rust crate contains a simple client for the API of brouter, a routing engine based on openstreetmap data.

Usage


use brouter_client::{Brouter, Point};

let router = Brouter::default();

let gpx = router.broute(&[Point::new(52.3676, 4.9041), Point::new(52.0907, 5.1214)], &[], "trekking", None, None);

Dependencies

~10–25MB
~398K SLoC