https://github.com/jelmer/brouter-client-rs
Rust client for the BRouter engine
https://github.com/jelmer/brouter-client-rs
brouter osm rust
Last synced: 3 months ago
JSON representation
Rust client for the BRouter engine
- Host: GitHub
- URL: https://github.com/jelmer/brouter-client-rs
- Owner: jelmer
- Created: 2023-07-09T11:50:00.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T10:39:03.000Z (4 months ago)
- Last Synced: 2025-03-24T11:36:33.749Z (4 months ago)
- Topics: brouter, osm, rust
- Language: Rust
- Homepage:
- Size: 286 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# API Client for brouter
This rust crate contains a simple client for the API of
[brouter](https://brouter.de/brouter/), a routing engine based on openstreetmap
data.## Usage
```rust
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);
```