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
0
votes
0 answers

trouble with cmake finding dependencies when installing C++14 OSRM routing application

I have been wrestling with this since yesterday. I am trying to install the Osrm routing library that provides street routing directions between two lat/long points. I cloned the OSRM repo and ran the basic install instructions. mkdir -p build cd…
krishnab
  • 9,270
  • 12
  • 66
  • 123
0
votes
2 answers

OSRM route directions

Here is what I am trying to do. I have a pair of lat, lngs and I am trying to find the route between the pair of lat, lngs using OSRM. I extracted polylines from each step object using the OSRM route service output but couldn't figure out how to…
Prash
  • 43
  • 1
  • 6
0
votes
1 answer

OSRM - Speed up/down gradient

Is it possible in OSRM, that I can define in a routing profile, that downhill is speeding up and uphill is speeding down? And another question: Is it possible to make the two sides of a street independent?
OnlyMate
  • 23
  • 7
0
votes
0 answers

Plotting shapefile points

I'm working on shortest paths and travel time matrices between points (using osrm, OpenStreetMap and rgdal) : library(osrm) library(cartography)…
0
votes
0 answers

Error when executing osrm-extract on a pbf file

I am installing an OpenStreetmap Server with osrm-backend and I have this error when executing the osrm-extract command. The linux command result : root@osrm:~/osrm-backend/build# ./osrm-extract -p profile.lua champagne.osm.pbf [info] Using script…
Vens
  • 21
  • 3
0
votes
0 answers

stop $resource from encoding URL

Working on a a routing system using OSRM. Right now I'm encoding my coordinates as a polyline, but the polyline keeps getting URL encoded before it gets send to the server so it's not sending the correct polyline definition. Is there a way to…
Justin Young
  • 2,393
  • 3
  • 36
  • 62
0
votes
1 answer

OSRM 5 how to get overview=full

I can't send request using overview=full, can you help me? My code: var map = L.map('map'); L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap
Tomasz Kujawa
  • 13
  • 1
  • 5
0
votes
1 answer

OSRM displays any route

API update yesterday OSRM and I'm having problems. It calls previously used this way: router.project-osrm.org/viaroute&loc=-0.88656,41.68043&output=json&compression=false and it runs smoothly. Now there is no way to make it work with the new…
Nodsert
  • 1
  • 1
0
votes
1 answer

Running a cmd command from within my C# code

I'm currently hosting OSRM locally on my machine to build a routing application. When the application starts, a bool ServiceAvailable is checked with a test query to see if the application is available and running locally. I want to be able to start…
James Gould
  • 4,492
  • 2
  • 27
  • 50
0
votes
1 answer

What's new in OSRM v5?

OSRM have realesed new version, v5. And I can't find anywhere, what's new in it? I found new documentation of HTTP API, https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md , but it isn't enought. I don't know, whether it makes…
z17
  • 423
  • 1
  • 7
  • 17
0
votes
1 answer

How to serialize and store the returned routing object locally in leaflet routing machine?

I am thinking of caching the returned routing object in leaflet routing machine. But I cannot serialize the object using JSON.stringify() as it throws up an error stating it's a circular object. I tried to use some java script libraries that can…
raven
  • 23
  • 3
0
votes
1 answer

Can I Use "Travel time models" in OSRM?

I have the OSRM setup up and running in my CentOS 7 and I have used car.lua profile with little modification to extract the osm data. Also, with the GPS traces I have(which further converted to gpx format) I generated real "travel time models" using…
sudesh
  • 973
  • 1
  • 10
  • 19
0
votes
1 answer

Draw a path from GEO locations from GPS snapped to road

I have some Points recorded in DB come from GPS, when I draw it as a polyline, it makes an ugly path. I tried to make a snap to road by google service; it gets an accurate path in small path because it has a limit for 100 points only, I have more…
Negm Negm
  • 3
  • 4
0
votes
1 answer

Unable to draw polline on the map in openlayer3 using direction service

I am trying to add direction service to the map 1:I need to display the map 2:once i get the response from the server or invoke the method only then i should draw the poly line i am trying to do it as shown below
DhanaLaxshmi
  • 424
  • 1
  • 11
  • 24
0
votes
1 answer

bjam installation on RedHat centos 7 ppc64

I am trying to install OSRM and have followed the instructions on the link below. But am coming stuck when as I do not seem to ave laubind-0.9.1. I would like to install bjam on my linux system of RedHat Centos 7 ppc64, as I would like to use it to…
h.l.m
  • 13,015
  • 22
  • 82
  • 169
1 2 3
16
17