252 questions
0
votes
1
answer
80
views
OSRM Indian map extraction fails on 32GB RAM system, partitioned zones still can’t create cross-zone routes
I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are:
RAM: 32 GB
CPU: Intel i7 11th Gen (8 cores / 16 threads)
When I try to extract the map (osrm-extract), ...
0
votes
0
answers
44
views
Self-hosted VROOM shows increased request execution
VROOM is hosted on an Azure App Service. It was working fine earlier, but recently I've noticed that the execution time for route optimization requests has increased significantly.
Here are some key ...
0
votes
0
answers
74
views
error running custom profiles in osrm (Open Source Routing Machine)
trying to run custom profile in osrm on docker but gives this error:
what(): lua: error: /opt/moto.lua:9: module 'lib/traffic_signal' not found:
no field package.preload['lib/traffic_signal']
no file '...
1
vote
0
answers
284
views
router.project-osrm.org is giving 500 and 504 Gateway Time-out errors
router.project-osrm.org using this for distance and using curl and sending a request to the URL
https://router.project-osrm.org/route/v1/driving/6.7685546,51.2874675;6.0907987,50.7681629?steps=false&...
1
vote
1
answer
237
views
How to Set Frontend of OSRM?
I'm new to OSRM . I have setup the containers for Backend and Frontend of OSRM but unfortunately cannot access the coordinates on MAP. And can't select the Start and End point on the Map.
Followed the ...
1
vote
1
answer
86
views
Running osrm-frontend docker failing due to syntax error in Micromatch
Firstly, I ran the osrm-backend docker successfully. I validated its result with a few queries. Then, I tried to run the osrm-frontend docker using the steps provided in its repo. However, it fails ...
2
votes
0
answers
146
views
OSRM and car.lua change (problem to adapt)
We are using OSRM to calculate map matched itinerary of trucks, and until now it worked smothly.
But the restrictions on some roads in OSM are starting to create problems for our solution :
the ...
1
vote
1
answer
374
views
Calculate the travel time on foot between two coordinates with R and OpenStreetMap (OSM)
I'm trying to calculate the time on foot by two coordinates with OpenStreetMap.
I'm using this dataset: https://github.com/JayScribes/Geocode-Distance/blob/main/NYC%20Bike%20Share%20Data.csv
And this ...
0
votes
1
answer
332
views
OSRM. How I can to get route (points array) between my points
I have two points and I want to get a route with roads. In documentation I read I should to send this request:
http://router.project-osrm.org/route/v1/driving/{first_point},{last_point}?overview=false
...
1
vote
2
answers
391
views
JsonSerializer.Deserialize returns an empty object with null properties
I try to parse a response by the OSRM map matching service using the following code (here a .NET Fiddle too; UPDATED with fixed version):
namespace OsrmMapMatch
{
public class OsrmResponse
{
...
0
votes
2
answers
663
views
OSM routing on ferry lines
I am building a tool that aims to display and store public transport trips. I currently have train, bus and air travel working, and I would like to add ferry.
For Bus, I currently use the OSRM. For ...
0
votes
1
answer
273
views
Is there a way to dynamically load input file (.osm.pbf) to docker image of OSRM?
I run a docker image of OSRM on my machine. I'd like to dynamically load osm data that i take from OverpassAPI.
Is there a way to do so without restarting OSRM every time?
I tried using Geofabrik data,...
2
votes
1
answer
734
views
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 ...
3
votes
1
answer
522
views
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 ...
5
votes
2
answers
2k
views
Problem extracting OSRM data using Docker
I am trying to extract OSRM data but having troubles. In a previous question (lua error when trying to extract osrm data), I was encountering an error. So I am not trying to do the same thing except ...
1
vote
1
answer
2k
views
How to speed up code that finds shortest driving time between two sets of points using osrm
Say that I have two sets of coordinates, A and B. My goal is, for each element of A, to find the element of B with the shortest driving time (retaining B's index, driving time, and distance). Based on ...
1
vote
1
answer
442
views
Is it possible to start OSRM routing from pre-existing route?
I currently have a leaflet implementation that uses L.Routing.OSRMv1, and it allows me to get a route, modify it on the fly with waypoints, and then save it as a trip. This works fine, current ...
0
votes
1
answer
146
views
Osmdroid and OSRM best approach to continuosly calculate time and distance to destination
I'm using Osmdroid and selfhosted OSRM to create navigation app.
I'm thinking what would be the best approach to calculate distance and time to destination in real time. What obviously comes to mind ...
0
votes
1
answer
94
views
Why does the shiny app give me an error when trying to use osrm trip in a reactive()?
I am trying to make an app that generates a route to the closest location of the dataframe considering the current location, but when doing the calculations in shiny it is giving me the following ...
1
vote
1
answer
213
views
OSRM - Create Direction Link using current position
Here's what I'm trying to do. I have two lat, lngs. One is the target or the end point, the other is a stop.
I'm trying to open a map in a browser that finds the route from a individual or the current ...
0
votes
1
answer
1k
views
Why does my custom OSRM server not give alternative routes as map.project-osrm.org?
I have set up a custom OSRM server using docker as explained here. And I have a web application which shows routes between 2 locations. I am using leaflet routing machine which pointed to the custom ...
1
vote
2
answers
2k
views
Building OSRM on Ubuntu, CMake fails with "Intel TBB NOT found!" message
I am following this tutorial to build OSRM-backend from source.
When it says:
cd build
cmake /srv/osrm/osrm-backend/
I got this error message:
ERROR: Intel TBB NOT found!
-- Looked for Threading ...
0
votes
1
answer
667
views
Cannot extract merged .osm.pbf OSRM file using docker
I merged the following .pbf countries I have extracted from geofabric(using osmosis):
Italy, Slovenia, Croatia, Bosnia, Montenegro, Albania.
The order I merged them:
Italy&Slovenia
Croatia&...
0
votes
0
answers
251
views
How can we access our OSRM instance when creating an app in Swift?
We are running our own OSM tile server and OSRM. It is pretty straight forward to set URLs for both when accessing them in Java/Android (OSMDroid) and Web (Leaflet). Is there a comparable open ...
0
votes
1
answer
544
views
Error while multi threading API queries in Python
I'm performing queries in a server with Open Source Routing Machine (OSRM) deployed. I send a set of coordinates and obtain a n x n matrix of network distances over a streets network.
In order to ...