Skip to content

ayacteam/rait-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSRM local server

SEstablecer servidor

docker build -t osmium-tool -f Dockerfile.osmium-tool .
docker pull osrm/osrm-backend:v5.16.4

Procesamiento de datos

mkdir data/
wget https://www.dropbox.com/s/ecefm53ykenwd3n/tr.osm  -O data/tr.osm
docker run -it -v $(pwd)/data:/data osrm/osrm-backend:v5.16.4 osrm-extract -p /opt/car.lua /data/tr.osm
docker run -it -v $(pwd)/data:/data osrm/osrm-backend:v5.16.4 osrm-contract /data/tr.osrm

Requerimientos

export OSRM_GRAPH=./data/tr.osrm

Ejecutar

npm start

OSRM algorithm

https://en.wikipedia.org/wiki/Contraction_hierarchies

GIF

ezgif-2-668993f909

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%