Skip to content

OSRM backend instance for Artisanal Futures Routing app

Notifications You must be signed in to change notification settings

CSDTs/af-routing-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artisanal Futures Routing Service

This repository contains the necessary files to spin up a dockerized OSRM backend service for Michigan.

Setting Up

You need to have Docker installed. You can always just build the image yourself if you don't want to install Docker Compose as well.

docker-compose build
docker-compose up

To test, head to http://localhost:8080/route/v1/driving/-83.7778416,42.2542447;-83.7401024,42.2787389?steps=true. If you get something back, it works.

Notes

This is a memory hog. Roughly takes 2GB solo, just for the single state. Midwest takes 16GB in comparison. Also initial startup can take upwards of 30-40 minutes depending on your memory.

Route Optimization Testing

(in progress)

  1. Perform the Set Up instructions; have the container running
  2. source venv/bin/activate && pip install -r requirements.txt
  3. source set_env.sh # get the API keys from a CSDT developer
  4. pytest . # all tests should pass

About

OSRM backend instance for Artisanal Futures Routing app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published