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

OSRM route with bicycle profile won't return bike road

I'm trying to request bike routes from OSRM, but the routes don't use bike lanes. I've set up OSRM server(v5.22.0), ./osrm-extract --profile ../profiles/bicycle.lua /map.osm.pbf ./osrm-contract "map.osrm" ./osrm-routed "map.osrm" extracted a map…
Sima Barak
  • 11
  • 1
1
vote
0 answers

error 429 not going away after reducing request/waiting days

I used the following code succesfululy previously to estimate distances, but suddenly I started receiving the 429 error (HTTP status was '429 Unknown'). Apparently it has to do with the number of requests I sent in a period of time. I have tried…
valeria
  • 9
  • 4
1
vote
1 answer

Microbenchmark test in R literally runs forever

I'm trying to run microbenchmark on a block of code that generates isochrones (and returns a SpatialPolygonsDataFrame) for a given set of coordinates. However, when I run the code with microbenchmark, it goes on forever. It will not stop. The same…
LaissezPasser
  • 396
  • 3
  • 18
1
vote
1 answer

How do I use the snap to road function using OSRM?

I am currently working with OSRM and used some GPS data for testing which i generated using googles Interactive Polyline Encoder Utility https://developers.google.com/maps/documentation/utilities/polylineutility The concept im going for is that a…
Phil Zerza
  • 13
  • 1
  • 5
1
vote
1 answer

Calculating route distance from coordinates in CSV in R

I would like to calculate the route distance of coordinate to coordinate from OSRM (although I'm open to other services). For example, a row will have a "from" and "to" coordinate, and instead of getting the point-to-point distance, use the routing…
jaramana
  • 67
  • 1
  • 8
1
vote
1 answer

Error response from daemon when i'm trying docker pull peterevans/nominatim

Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp: lookup proxy.example.com on 168.63.129.16:53: no such host Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: dial tcp:…
1
vote
0 answers

parallelizing API in R (OSRM)

I am trying to ping a local OSRM server for a very large number of origin-destination pairs (1 million+) using R and foreach. This is taking a very long time (getting only about 10 pings per second) and wanting to know what, if anything I can do to…
Ralph
  • 255
  • 2
  • 18
1
vote
1 answer

OSRM avoid routes with ferry

I'm running a local OSRM-backend, and trying to customize the profiles in order to avoid the routes with ferries, but I don't know very well what parameters should I overwirte. I've added 'ferry' to this, in profiles/car.lua: avoid = Set { …
Pablo Pardo
  • 729
  • 5
  • 12
  • 26
1
vote
1 answer

Does OSRM acutally provide pubic http API for bikes?

I want to use OSRM http api. In particular, I want to use the "route" service, with the "bike" profile. However, when requesting https://router.project-osrm.org/route/v1/bike/48.4292,-3.8013;48.2539,-2.9004, I get a "Not found" response. I tried…
Abrab
  • 751
  • 1
  • 8
  • 19
1
vote
2 answers

Is there a way to use map tiles exported from openstreetmap in OSRM server?

I am trying to host OSRM server locally only for 1 city, Is it possible to get the .pbf file for the specific city (Since osrm server requires tiles in that format)? if Possible how? Or is there any alternative? I already hosted osrm server for…
1
vote
1 answer

Why OSRM implemented Contraction Hierarchies and MLD instead of A*?

I'm going through the OSRM implementation; they implemented routing algorithms CH and MLD. I wanted to know the motivation behind it to use these algorithms. More importantly, we can't dynamically change the edge weights in these two algorithms.
Vinay
  • 11
  • 2
1
vote
1 answer

How to find POI along geojson polyline, preferably using python?

I would like to find POIs along polyline (osrm route). Preferably just on the right side of the route. For example: The route is blue, I would like to find the green bus stop. I have pulled all bus stops in certain area using overpass api and…
ncerni
  • 21
  • 4
1
vote
1 answer

Determine if GPS coordinates fall on a road

I'm trying to determine whether a point is on a road/highway/freeway etc or in a building through a Python script. For some inputs they'll contain the user's velocity which means in some contexts, it'll be obvious given the device velocity. However,…
Hews
  • 569
  • 6
  • 19
1
vote
1 answer

Get way Id from OSRM matching service

I am using OSRM match service and getting response But i am not able to get any reliable way to convert the response into set of way ids car traveled through (especially which will work at intersections)
user1228785
  • 512
  • 2
  • 6
  • 19
1
vote
1 answer

Tool to display nodes with a certain tag?

Are there any tools available which allow you to display nodes on a map based on what tags they have? For instance, if I wanted to see all the nodes on a map with "traffic_signals=*", say a dynamic version of this map that I could zoom in and out…
Attico
  • 23
  • 4