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
1
vote
1 answer

OpenStreetRoutingMap Docker

I am trying to build a docker that imports the OSRM backend server, but then immediately imports and extracts the correct osm.pbf file. Now I am somehow not getting anywhere. My Dockerfile so far: # import docker file FROM…
1
vote
1 answer

recalculate distance matrix python OSRM docker in windows

I'm new to python programming please bear with me, I have calculated a distance matrix (300x300) using real data (lat & log) through a OSRM running in dockers in a windows machine. it takes about 400 secs to complete the calculation. because the…
mj_davis
  • 21
  • 3
1
vote
0 answers

The OSRM server returned an error: Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found

I run my own OSRM server and use OSRM R package. OSRM server run but when I want to get osrmTable I get this error: The OSRM server returned an error: Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found and my code…
1
vote
0 answers

OSRM-BACKEND docker: Local server accepts no more than 500 point

I send points using leaflet-routing-machine, but after 500 entry passed I get this error: { message: Number of entries 527 is higher than current maximum (500), code: Too Big } How can I increase size number of entries in docker osrm-backend?
1
vote
0 answers

why foot and car method yield same duration and distance in osrm?

I tried running this code to get duartion and disatnce for each method. But I got same duration and distance. Is there something wrong? # -*- coding: utf-8 -*- """ Created on Fri Jul 23 14:49:45 2021 @author: ukjo """ import datetime import…
verystrongjoe
  • 3,831
  • 9
  • 35
  • 66
1
vote
1 answer

unable to build an osrm docker server for Brazil

I am trying to build my own docker server for Brazil. To do that I'm following this example. First I run this line of code: docker pull osrm/osrm-backend Then I download Brazil data from Geofabrik: wget…
brenda
  • 656
  • 8
  • 24
1
vote
0 answers

OSRM gives negative driving distance, why?

With this query, the result is -0.3 meters driving distance. Is there some reason why the result is negative? The points are by a one-way street, if that…
Sampo Smolander
  • 1,605
  • 2
  • 15
  • 33
1
vote
1 answer

How to use the OSRM front end with leaflet routing machine?

I'm new to leaflet and OSRM. I have installed OSRM backend already now I need to display the routing machine with my map. previsouly I was using Leaflet routing machine. Previous leaflet routing machine: Now I need this osrm backend already…
salman m
  • 33
  • 7
1
vote
0 answers

Is it possible to use OSRM backend to snap traces to sidewalks?

If I extracted sidewalk data from OSM would it be possible to use the match feature of OSRM backend to snap traces to the sidewalk network?
1
vote
1 answer

Computing graph from the distances between points

I have a set of geographical points (lat, lon) and I want to compute a directed graph where: the nodes are those points an edge X->Y (between nodes X and Y) exists if the fastest path between X and Y doesn't pass through another node Z. I am able…
megalodon
  • 63
  • 1
  • 5
1
vote
0 answers

Is there any repository of OSRM files already processed?

I'm building the entire world of OSRM in one instance. Is a process that is taking hours to process and I would like to know if there is some repository where I can download the data already processed, saving tons of very expensive machines…
enedebe
  • 268
  • 1
  • 5
  • 15
1
vote
1 answer

Reasons for using OSMBonusPack versus OSRM (Open Source Routing Machine)?

UPDATE to question: If we are running our own database and tile server, do we also need to run our own instance of OSRM to get routing via OSMDroid using OSRMRoadManager? OR if not running our own, pull from another OSRM instance somewhere? We are…
user3398945
  • 93
  • 3
  • 9
1
vote
1 answer

Why do these 2 approaches produce different amount of ways in OSM Object?

Why does these 2 approaches produce different amount of ways? According to definition of a way: A way is defined: A way is an ordered list of nodes which normally also has at least one tag or is included within a Relation. A way can have between 2…
Andreas
  • 397
  • 4
  • 18
  • 37
1
vote
1 answer

How to host an OSRM instance in AWS Fargate?

I've been trying to set up an OSRM-backend instance within Fargate. However, I haven't been able to successfully do so. I've read in other places on how to host in EC2 instances, however, none on how to host this on AWS Fargate. I've been able to…
1
vote
1 answer

Not able to connect OSRM frontend with OSRM backend using docker in Ubuntu

I had used the following commands to process the osrm/backend: $docker pull osrm/osrm-backend $wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf $docker run -t -v "${PWD}:/data" osrm/osrm-backend osrm-extract -p /opt/car.lua…
Manmohan
  • 21
  • 6