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

JAXB: case-sensitive (or as-is) generation of classes

Here is an excerpt from the my OSRMResponseDto.xsd:
Green Root
  • 644
  • 2
  • 10
  • 28
4
votes
1 answer

OSRM install start osrm-routed

I am fighting with the installation of OSRM on my ubuntu 12.04 server. on osrm-routed map.osrm I get the following error: [info] starting up engines, v4.8.1 [info] populating base path: map.osrm [info] HSGR file: "map.osrm.hsgr" [info]…
user1702736
  • 51
  • 1
  • 6
4
votes
0 answers

Boost -- warning: libicui18n.so.48 not found

I'm trying to build the most recent (4.1) version of Project-OSRM on Ubuntu 12.04, and have errors associated with Boost. The older version of OSRM (3.9) relied on the version of Boost that is available as a package (1.48) but the new version needs…
Bambax
  • 2,920
  • 6
  • 34
  • 43
3
votes
2 answers

animation of vehicle from A to B and then B to A along the route (with some wait time at B)

Below is an example of animating vehicle moving from A to B. [solved by @mrhellmann here, there are solutions also available] I want to animate vehicle moving from A to B and then wait at B for sometime and then return to A. Below is the code which…
SiH
  • 1,378
  • 4
  • 18
3
votes
1 answer

How do I sort points based on a time matrix in R?

I have a time matrix in R which I computed with the help of osrm package. I want to sort the points based on the neighboring points. The sample data: name <- LETTERS[1:10] lat <- c(22.57, 22.69, 22.72, 22.50, 22.66, 22.19, 22.60, 22.27, 22.31,…
Shibaprasadb
  • 1,307
  • 1
  • 7
  • 22
3
votes
2 answers

Input file not found in docker command on windows

Complete docker noob here, i installed docker desktop on windows - Trying to follow the commands on this link to setup OSRM backend on my machine. i've downloaded the dataset for india(india-latest.osm.pbf) to D:/docker and am running the commands…
3
votes
1 answer

Too Many Branching Routes From OSRM Match Service

I have location values for every driving trip fetched from our servers. I need to generate a single route that is matched to roads, with given locations. I’m using Leaflet Javascript Map Library, OpenStreetMap Tile Map Service and OSRM API Match…
3
votes
0 answers

How to exactly reproduce historical ORS-Isochrones?

During the reproduction of historical isochrones created with the API of ORS - openrouteservice.org, I ran into issues with the resolution. About 3 years ago, the returned isochrones had higher resolution than today and there is no option to…
MichiSmith
  • 317
  • 1
  • 7
3
votes
2 answers

which OSM attributes are used for routing? (OSRM)

I'm trying to use OSRM on my own map data (in OSM format) I'm wondering which of the ~66k OSM attributes are relevant for this, and which are ignored by OSRM. Is there a reference someone can point me to?
Dotan
  • 6,602
  • 10
  • 34
  • 47
3
votes
1 answer

How to use the new "route" command from OSRM v5? (Formerly "viaroute")

Under version v4 I used http://router.project-osrm.org/viaroute?loc=47.168,8.117&loc=46.978,8.335&instructions=true to access routes. Now it just returns The OSRM Demo server has moved to API Version 5. Documentation for the new version can be…
Christoph
  • 6,841
  • 4
  • 37
  • 89
3
votes
1 answer

Change vehicle profile on viaroute request in OSRM?

I am developing an application based on OSRM that provides distances in kms and minutes starting from a list of addresses. I am using the request "viaroute" to get back the desired information. This is an example of…
Baiso
  • 79
  • 8
3
votes
1 answer

Memory error when running make on OSRM in Ubuntu 14.04

I've been trying to install Open Source Routing Machine(OSRM) on an Ubuntu server but when I run Make in the build folder it stops at 21% and gives me the following error: [ 21%] Building CXX object…
2
votes
1 answer

How to change osrm table query limit

I use my own instance of OSRM. My current maximum table query size is the default value 100. So I want to increase the query limit of OSRMtable. I find some people suggest using --max-table-size I use --max-table-size=10000 but it shows "/bin/sh:…
Freeego
  • 135
  • 6
2
votes
1 answer

osrmTable give incorrect results when two latitudes or longitudes are identical

I am trying to use osrmTable to calculate driving distances, but I am encountering incorrect results under certain circumstances. It took me a lot of trial and error to (I think) identify when the error happens, but I think I have figured it out…
bill999
  • 2,147
  • 8
  • 51
  • 103
2
votes
2 answers

How to apply an osrm function to every row of a dataframe

my question is about applying a complicated function to every row of a table. I'm trying to find the traveling time and route of some pairs of points using the osrm package in r (https://cran.r-project.org/web/packages/osrm/osrm.pdf). My data looks…
Alice-W
  • 43
  • 2
1 2
3
16 17