Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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);
```