Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 12 days 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-04T00:28:46.000Z (13 days ago)
- Last Synced: 2024-11-04T01:21:56.489Z (12 days ago)
- Topics: brouter, osm, rust
- Language: Rust
- Homepage:
- Size: 176 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- 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);
```