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

Unable to extract foot.lua to map.xml

I'm trying to implement osrm server, I have AWS Ubuntu server instance with 4 GB RAM. I have exported Indian map data from export https://www.openstreetmap.org downloaded as map.xml, now when I am trying to extract using osrm-extract command I'm…
0
votes
1 answer

nodeID from geo location OSRM

I'm running a local OSRM instance with c++. Is there a way to get NodeID for a location specified by Longitudes and Latitudes? Also, for 2 nodeIDs how can I find the distance and duration between the two nodes?
Klaus
  • 1,641
  • 1
  • 10
  • 22
0
votes
1 answer

Filter POIs that are close to a route

I have a list of Points-of-Interest (e.g. car rest areas). The user selects the Starting Point and the Ending Point. This generates a route. How can I programmatically filter the POIs that are close (e.g. 50 meters distance from the road) that…
0
votes
1 answer

Osrm Routing Not Working

I want to make routing between 5 coordinates but osrm route service not working. my request to the server; https://router.project-osrm.org/route/v1/driving/28.0705,41.1813;22.5441,40.0051;28.3865,39.1073;22.6612,40.0330;27.3865,40.0151 response from…
Talha K.
  • 27
  • 11
0
votes
0 answers

snap to road js fiddle

I would like to ask a simple question: I have a simple code in jsfiddle (in Javascript) about nearest service. More specifically, you put the coordinates and it returns the nearest coordinates to road (through Google Maps) with nearest service OSRM.…
Irini K.
  • 77
  • 1
  • 8
0
votes
1 answer

Using OSRM with big queries?

I am experimenting with table service, the first restriction I thought about is the URL query length, as it work by http get request. I need to send 5000 location, considering location is 35 characters long as for example:…
simo
  • 23,342
  • 38
  • 121
  • 218
0
votes
1 answer

OpenStreetMap Requests with Unprecise GPS Position from QtLocation

I am using OSM (OpenStreetMap) plugin for Qt 5.9, to make route calculation in my desktop application. I have an OSRM local server running that receives the requests from the application. I noticed a weird flickering in route calculations, and found…
0
votes
2 answers

I am making an android application to create routes with OSMDROID and the web router.project-osrm.org can not process the request (HTTP ERROR 503)

I am making an android application to create routes with OSMDROID and the web router.project-osrm.org can not process the request (HTTP ERROR 503). enter image description here
0
votes
1 answer

Geometry from a route of OSRM

I need the track of the route but only from de Origen to de Destiny. I have this: json_file<-"http://router.project-osrm.org/trip/v1/driving/-5.81336,43.495596;-5.81779973,43.51087296?overview=full&geometries=geojson" json_data <-…
adamista
  • 205
  • 2
  • 12
0
votes
2 answers

project-osrm nearest OpenStreetMap point id

I have to find the nearest node (the id) of a geo-spatial point in OpenStreetMap I can use the official demo api https://router.project-osrm.org/nearest/v1/foot/13.388860,52.517037 and I have this very nice output: // 20170831155106 //…
Marco Scarselli
  • 1,154
  • 2
  • 11
  • 27
0
votes
1 answer

Run osrm-extract error

when run osrm-extract I have this error: error while loading shared libraries: libboost_fylesystem.so.1.54.0: cannot open shared object file: No such file or directory
Iñigo
  • 1
  • 3
0
votes
2 answers

How can we use Haskell with OSRM libraries?

We want to use libOSRM for routing. Currently we are calling its http services. For better performance, I want to call its dynamic library. When reading Haskell FFI, I guess I can compile and links its source (instead of compiled dynamic library)…
Kamyar
  • 2,494
  • 2
  • 22
  • 33
0
votes
1 answer

Bilinear Interpolation - OSRM Rastersource

I've got a question about bilinear interpolation in the OSRM-Project. I understand the "normal" bilinear interpolation. Here the picture from Wikipedia, what is insane: Now I'm trying to understand the bilinear interpolation which is used in the…
Daniel Christoph
  • 309
  • 3
  • 11
0
votes
1 answer

Multiple requests to OSRM at once (using docker)

I would like to push multiple requests to the OSRM backend (see https://github.com/Project-OSRM/osrm-backend) at once. Currently, for me to get the distance between two points, I do something like this: curl…
0
votes
1 answer

How to specify minmal distance between coordinates returned by OSRM

I am having a route consisting of 2 points I would like to find all GPS coordinates in the route but I want get GPS coordinate every 4 km... Is this possible please? I am lost here, I want to use…
dtechlearn
  • 363
  • 2
  • 4
  • 21