routing_engine 0.2.0 copy "routing_engine: ^0.2.0" to clipboard
routing_engine: ^0.2.0 copied to clipboard

Engine-agnostic routing interface with OSRM and Valhalla implementations. Supports local and public routing servers, offline routing via local Valhalla. Abstract RoutingEngine, RouteResult model, and [...]

Changelog #

0.2.0 #

  • Add integration pattern examples derived from SNGNav example app.
  • Harden coverage baseline with additional test paths.
  • Polish package landing page, README structure, and pub.dev metadata.
  • Harmonize version across all SNGNav ecosystem packages.

0.1.2 #

  • Added an explicit install section to README for pub.dev onboarding.
  • Added an API overview table to README for core routing abstractions.

0.1.1 #

  • Added example/main.dart showing the engine-agnostic RoutingEngine API with a minimal example engine.
  • Improved discoverability: added offline routing, local Valhalla keywords.
  • Added offline topic.
  • Added cross-links to sibling packages in README.
  • Expanded README sibling links to the full 10-package SNGNav ecosystem.
  • Added ValhallaRoutingEngine.local() helper and configurable timeouts.
  • Set ValhallaRoutingEngine.local() to the canonical Machine E localhost:8005 runtime.
  • Added gated local Valhalla integration test and README instructions.
  • Added tool/valhalla_benchmark.dart for exact-payload local/public latency measurement.

0.1.0 #

  • Initial release.
  • Abstract RoutingEngine interface for engine-agnostic routing.
  • OSRM implementation: sub-frame latency (4.9ms for 10km queries).
  • Valhalla implementation: multi-modal routing with Japanese language support.
  • RouteResult model with maneuvers, geometry, distance, time, and engine info.
  • RouteRequest with origin, destination, and optional waypoints.
  • Engine identity via EngineInfo (name, version, query latency).
0
likes
150
points
498
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Engine-agnostic routing interface with OSRM and Valhalla implementations. Supports local and public routing servers, offline routing via local Valhalla. Abstract RoutingEngine, RouteResult model, and build-time engine selection.

Repository (GitHub)
View/report issues
Contributing

Topics

#routing #osrm #valhalla #navigation #offline

License

BSD-3-Clause (license)

Dependencies

equatable, http, latlong2

More

Packages that depend on routing_engine