Skip to content

Bridge for replacing OSRM with Valhalla routing without app/web modifications

License

Notifications You must be signed in to change notification settings

CoWayger/OsrmValhallaBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSRM to Valhalla Bridge App

This repository contains a Node.js application that serves as a bridge between the OSRM (Open Source Routing Machine) and the Valhalla routing engine. The purpose of this application is to provide an easy way to migrate from OSRM to Valhalla for routing and navigation needs. This README file will guide you through the installation, setup, and usage of this bridge app.

Prerequisites

Before using this bridge application, ensure you have the following prerequisites installed:

  1. Node.js: Make sure you have Node.js installed on your system. You can download it from Node.js official website.

  2. OSRM Data: If you are migrating from OSRM to Valhalla, you should already have the OSRM data prepared. If not, follow the OSRM documentation to set up the data.

  3. Valhalla Data: Prepare the Valhalla routing data that you intend to use.

  4. Configurations: Create a configuration file to specify the data sources and other settings required for the bridge application. Sample configuration templates are provided in the config directory of this repository.

Usage in dev

  1. Create .env file in src folder(don't push this file into PR).:
VALHALLA_ENDPOINT=https://YOUR_VALHALLA_INSTANCE_DOMAIN/route
  1. start aplication in PM2 manager cd src && pm2 start

Usage with docker

docker run -it -e VALHALLA_ENDPOINT="https://YOUR_VALHALLA_INSTANCE_DOMAIN/route" -p 3000:3000 cowayger/osrm-valhalla-bridge:latest

Publish

About

Bridge for replacing OSRM with Valhalla routing without app/web modifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published