Questions tagged [osrm]

Open Source Routing Machine is a high performance routing engine written in C++11 designed to run on OpenStreetMap data.

Open Source Routing Machine computes shortest paths in a graph. It was designed to run well with map data from the OpenStreetMap Project.

250 questions
5
votes
1 answer

Is there an efficient way to create a mechanism for automatic updating osrm map data in kubernetes?

We have created .yaml file to deploy osrm/osrm-backend (https://hub.docker.com/r/osrm/osrm-backend/tags) in a Kubernetes cluster. We initially download the pbf file in the node's volume, then we create the necessary files for the service and finally…
Antonis S
  • 733
  • 6
  • 15
5
votes
2 answers

Docker includes invalid characters "${PWD}" for a local volume name

I want to install OSRM locally using the docker container under windows I followed the steps in this doc In the end I can not execute the necessary commands and I receive the following error : Any suggestion will be very helpful for me, thank you !
5
votes
1 answer

OSRM Server setup using docker-compose - container exited

I'm trying to setup the OSRM server on the top of Docker. I need to configure it using docker-compose.yml inside my micro-services project using .net core. version: '3.4' services: test_web: image: ${DOCKER_REGISTRY-}osrmweb build: …
5
votes
1 answer

Lat/Lon of Node ID in Match Service Response

I have been trying to reconcile the coordinates returned by the matching geometry and the nodes in each leg when doing a match call with annotations=true overview=full and geometries=geojson. I would like to understand how to align the node IDs with…
user1077071
  • 901
  • 6
  • 16
  • 29
5
votes
2 answers

How to use OSRM's match service

As stated in the header: how can I use the match call? I tried http://router.project-osrm.org/match/v1/driving/8.610048,46.99917;8.530232,47.051?overview=full&radiuses=49;49 I am not sure, whether the list of radiuses is given correctly. I can't…
Christoph
  • 6,841
  • 4
  • 37
  • 89
5
votes
2 answers

error ‘underlying_type_t’ in namespace ‘std’ does not name a template type in example.cpp from project-OSRM

I try to execute the examle.cpp file of Project-OSRM. I did the following steps: build OSRM from source as described here in new terminal: cd osrm-backend/example in the terminal: cmake .. in the terminal: cmake --build . in the terminal: sudo…
Hessel Jonker
  • 53
  • 1
  • 4
5
votes
1 answer

Difference between osrm route and match service

What is the difference between OSRM route service and match service?
Shailendra
  • 528
  • 2
  • 10
  • 21
5
votes
1 answer

Node osrm setup failure

I have installed node osrm using npm install osrm on Ubuntu 14.04. This has installed the OSRM v4.9. The next step is to setup OSRM. I am trying to follow the steps given in the wiki for setup- https://github.com/Project-OSRM/node-osrm When I run…
4
votes
1 answer

Plot multiple encoded polylines on a folium map

I am using OSRM match service and got the following dictionary of the JSON…
winecity
  • 285
  • 2
  • 9
4
votes
1 answer

Change the weight of an Edge of a path in a open street map based igraph based on a list of gps coordinates

i would like to change weight of parts of a route based on gps coordinates. For that i would like to get gps coordinates of an edge of a calculated route then compare them with a list of coordinates i have and if the coordinates in my list matches…
Andreas
  • 397
  • 4
  • 18
  • 37
4
votes
0 answers

Route snapping with Python OSRM

I want to do route snapping with OSRM, almost exactly what this person did: https://www.jamesrcroft.com/2015/06/snapping-gps-tracks-to-roads/. However, instead of javascript, I want to use Python, so I installed python-osrm…
Luciano
  • 426
  • 2
  • 9
  • 19
4
votes
1 answer

Unable to docker run

I am trying to setup an image of the osrm-backend on my docker. I am unable to run docker using the below commands (as mentioned in wiki) docker run -t -v ${pwd}/data osrm/osrm-backend:v5.18.0 osrm-extract -p /opt/car.lua…
Naveed Butt
  • 2,861
  • 6
  • 32
  • 55
4
votes
2 answers

Launch OSRM server on large area

in the tutorial it is shown how to start an OSRM server with this example : wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf osrm-extract berlin-latest.osm.pbf -p profiles/car.lua osrm-contract berlin-latest.osrm osrm-routed…
DeepProblems
  • 597
  • 4
  • 24
4
votes
3 answers

Is there any tag to know type of road/highway/route in OSRM RouteStep Object?

Context : I am querying OSRM to return route between two co-ordinates. It returns me requested route along with parts(steps) with instructions for route ( Array of RouteStep bjects in v5 ). http://project-osrm.org/docs/v5.6.4/api/#route-object What…
mkkhedawat
  • 1,687
  • 2
  • 17
  • 34
4
votes
2 answers

Getting routes on openstreetmaps using OSRM

I've been trying to get a list of co-ordinates in a route from point A to B using OSRM with the following request: GET http://router.project-osrm.org/viaroute?hl=en&loc=47.064970,15.458470&loc=47.071100,15.476760 However, on opening the url, i find…
chakrr
  • 329
  • 3
  • 9
1
2
3
16 17