Questions tagged [open-source-routing-machine]

OSRM (Open Source Routing Machine) computes shortest paths in a graph. It was designed to run well with map data from the Openstreetmap Project.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Problem in showing marker and Waypoints own OSRM server

We have installed the OSRM step by step as provided in the link below benjaminberhault.com//post/2018/12/08/… but we are able to see the map but not the waypoints and markers.
0
votes
0answers
28 views

Adding elevation data to OSRM

I need to route heavy trucks using OSRM and I want to be able to take into consideration the elevation difference in a route in order to avoid steep climbs. How should I go about this? I tried ...
0
votes
0answers
35 views

Convert OSRM geometry linestring to OSM startnode and endnode wise

I am using OSRM API for route to get the route geometry from API and node from API. Now my requirement is to split the route geometry between startnode and endnode of OSM. Response from OSRM: {"...
0
votes
0answers
36 views

update and merge pbf for OSRM

I am trying to set up a local instance of OSRM, covering a few european countries. From what I understand, if I want up to date data, I need to download pbf files for those countries on http://...
0
votes
1answer
35 views

OSRM giving different results

On calling API http://osrm.stackbox.xyz/table/v1/driving/78.4444076,11.6000205;78.5929274,11.5958152, I am getting a 2x2 matrix. When I put the same coordinates with some more co-ordinates like this: ...
1
vote
1answer
208 views

Using OSRM to create isochrones in R potentially problematic at < 10 minutes drive time?

I'm working on creating isochrones in R using osrm, and I keep finding problems with 0-10 minute travel times. Here's some code I've been using to test with a hand-picked test location: install....
0
votes
1answer
50 views

Nearest / Fastest Point using OSRM

How can I use OSRM to given a destination and 5 origins. Then OSRM should return the fastest origin, the distance between this origin and the destination and the duration of the route. Can I do it ...
1
vote
0answers
137 views

Get Corresponding OSM Node IDS from list of Lat,Long (CSV): Map Matching

I have a list of (lat,lng) coordinates. I want to map match them and get their corresponding OSM node ids? How can i do that using OSRM or any other map matching algorithm?
0
votes
0answers
52 views

{'code': 'NoMatch'} OSRM API: What does it mean? And how can I avoid it?

I have RAW GPS trackers data, when I match those GPS coordinates to nearest NodeID, it gives me the No Match Error. I am using the following code snippet: import requests url = 'http://router....
1
vote
1answer
244 views

OSRM foot / walking profile avoiding trunk roads

I have setup OSRM backend and frontend using profiles/foot.lua aka walking profile. The routing works well untill a trunk road (OSM tag: highway=trunk) comes along or between the origin and ...
0
votes
0answers
72 views

What is a class in OSRM profile for excludable?

I have a group of nodes in JOSM and i trying to tag then to be excludable class in profiles of OSRM i tagged then like this: and my excludable part of OSRM profile is like that: classes = Sequence { ...
-1
votes
1answer
202 views

OSM routing database with high quality data? [closed]

Our company is searching for a routing service which provides free OSM database (high quality routing data) and preferably also considers the traffic parameters (traffic flow, day etc. similar to no-...
1
vote
0answers
610 views

Getting distance between route and points around that route?

I have a route between 2 points by means of OSM routing service. I want to get the distance between route and points around. How can I achieve this? I created this route by the following example ...
1
vote
0answers
15 views

Determine left/right based on headings of in & out legs

I'm analyzing roads layer to create navigation layer. Each vector Linestring segment has direction of traffic. Turn defined as where 2 directional segments meet. However, I find it challenging to ...
0
votes
0answers
225 views

How to increase capacity of osrmRoute in osrm package in R

I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM package in R is 100 coordinate points. How can I extend beyond this restriction?
1
vote
2answers
227 views

Service Area or Catchment Area in R

I'm trying to find an R package to duplicate a specific bit of functionality of the ESRI network analyst: What ArcMap refers to as 'Service Areas'. Related terms include catchment areas isochrones '...
1
vote
0answers
251 views

Draw a polyline around a route to act as geofence with leaflet routing machine [closed]

I am using leaflet routine machine to get a route between 2 points. I want to be able to draw an invisible polyline around the route and use this as a geofence and if the user goes out of the bounds ...
0
votes
1answer
571 views

Extracting OSRM PBF file using Docker osrm/osrm-backend image?

I have installed Docker Desktop for Windows and I'm trying to extract the California PBF file. My Docker instance has 16 GB of RAM. Is more RAM needed to extract California? PS D:\Datasets\...
0
votes
1answer
489 views

OSRM Table service returns empty array when I use a HTTP Server

I am currently trying to use OSRM's Table service to get the durations of the fastest routes between two points, to be able to build a time matrix using Python and later use it as a parameter in an ...
3
votes
2answers
3k views

Adjust leaflet routing machine draw (animate) route speed

I use leaflet routing machine and it's working fine with me. Here is my code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <...
1
vote
2answers
660 views

Identify OSM road ids based on coordinates

I have a trace of GPS coordinates. I would like to get the OSM road ids of the roads that lie on the route defined by the coordinates. I've used OSRM match service to match the coordinates to the ...
1
vote
0answers
35 views

OSRM-extract Sorting edges by start seems to stop

I try to use planet-latest.osm.pbf (2018-05-23) from https://planet.openstreetmap.org/pbf/. I extract the pbf file on Ubuntu 16.04 and everything seems OK until Sorting edges by start ... On ...
1
vote
1answer
531 views

Generating route from user's current location to desired location on web map created in QGIS?

I am developing a GIS in QGIS and I want to get the user's current location, then according to the user's second point selection, I want to generate a route between these two points. If possible, I ...
0
votes
1answer
496 views

OSRM how to use my own map

I download a cartography bike from the open data data link to Postgres then I convert it to osm using: python ogr2osm.py "PG:dbname=x user=x host=localhost" --sql="SELECT * FROM bike_network" --...
2
votes
1answer
1k views

OSRM doesn't show actual route while plotting from osrm-backend JSON response

While trying to test routing using OSRM Demo server I sent GET request with the following url: http://router.project-osrm.org/route/v1/driving/90.4007354,23.7936502;90.3925568,23.7746739?steps=true ...
0
votes
1answer
972 views

Generate polygon automatically based on locations

I'm trying to achieve some similar to Draw a polygon automatically through markers (points) in google maps but not exactly. Given a set of locations I'd like to know if it is possible to generate the ...
1
vote
1answer
387 views

OSRM Map Matching Output explanation [closed]

I am trying to understand why the output includes None in tracepoints. What do these mean? [None, None, None, {u'waypoint_index': 0, u'name': u'West Washington Street', And then the algorithm ...
0
votes
1answer
505 views

Converting GPS track to turn by turn directions

Working for a client on a tracking package for delivery vehicles, I've been given an interesting requirement. Over the past several months, we've been collecting telemetry from the vehicles, ...
4
votes
2answers
811 views

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 ...
0
votes
1answer
130 views

getting street distances locally [closed]

I need a few thousands of street distances between cities in germany. I know that there are a few web APIs where I get the distance thru a REST request, but I wonder if I can do that locally on my ...
1
vote
1answer
817 views

OSRM: no walking directions

I am using the OSRM 'match' service to snap GPS coordinates to the road network. I want to use the 'foot' profile, however, the OSRM server insists on providing me with car routing. I send this ...
2
votes
2answers
1k views

OSRM server for public transport not a trip on roads by cars

I implemented the OSRM server for routing but I want the path of a person using the public transport lines (Bus) ; instead of getting the road path. On building the OSRM from the pbf file I used the ...
1
vote
1answer
3k views

Connecting own OSRM server on leaflet routing machine?

I have my OSRM running on UBUNTU. How do I change the demo server of routing machine to my own OSRM server on Leaflet?
1
vote
1answer
1k views

Create my own OSRM for routing machine on leaflet [duplicate]

I am implementing the routing machine wich is leaflet extension for routing analysis but by default the routing in routing machine is for demo based on OSM data.I want my own route ;How I do to build ...
0
votes
0answers
1k views

how to draw route from start point to destination point with intermediate points on Open Source Routing Machine?

I have four points like this: Lat Log 43.532284 -6.060434 43.533880 -6.065279 43.534269 -6.067436 43.533484 -6.071405 If I put these points in Open Source Routing ...
6
votes
1answer
1k views

Query for WAY that connects two INTERSECTIONS

I'm trying the retrieve the "WAY" that passes two given "INTERSECTIONS". What I do is query for the NODE that intersects the INTERSECTION using the locations of this intersections (which is returned ...
0
votes
1answer
729 views

OSRM - trucks and cars routes should differ

I am working on logistic software that includes building routes by points given. So I've got my local OSRM server and it's working fine. But now I faced the problem of dividing vehicles into cars ...
1
vote
1answer
72 views

Fire department coverage (voronoi equivalent)

I have a dataset of fire stations within an area. I would like to divide that area up into segments whereby each fire station covers a segment. This should be based on driving time. e.g. if I have 2 ...
2
votes
1answer
2k views

TooBig: Increasing OSRM # of coordinates

I'm trying to plan out a very specific route using OSRM. I have 100 coordinates & now I'm running into this error. Too many trip coordinates. Is there a way to increase the number of coordinates ...
1
vote
1answer
161 views

Routing Engine / data for hiking trails (Austria)

I currently use OSRM for the routing in my apps. This works well for car/truck routing. However, I have an upcoming project that requires routing on hiking trails as well. Are there any available ...
1
vote
1answer
1k views

Full address from OSM data

I've built a routing application in C# that brings back a route object, with a series of steps, each of which has a name tag such as "Brooke Street (M50)" and nothing more. This application has been ...
0
votes
1answer
731 views

OL3+osrm show route with instructions [closed]

Could someone give me example how to create a route between two points using ol3 and osrm and give me the instructions (ex in 500m right etc). I found this already of documenation: https://github.com/...
3
votes
1answer
788 views

OSRM 4.8 import planet-latest.osm.pbf 31G

I use OSRM version 4.8. My VM configuration: 16 CPU 64 RAM 150G SWAP 150G stxxl disk size 250G data directory 50G root When I import Europe-latest (17Gb) file - it takes about 6 hours to start ...
1
vote
1answer
405 views

Can I import my own data and Dijkstra function in Open Trip Planner or Open Source Routing Machine

I have a lot of geographical proprietary data that I want to use in routing algorithms. I was using pgRouting, but the requirements of the software changed (now includes multi-modal routes that ...
1
vote
1answer
520 views

set up transport modes osrm

I wondered if anyone could help. I have setup osrm on a spare computer it is running on Ubuntu 14. It works fine and I can query it using the default car setting for transport. I would like to be able ...
3
votes
1answer
3k views

How can I increase limits of OSRM table function?

I want to generate a distance matrix for more than 50 points with my own OSRM server. Because I want to minimize the number of calls, I decided to increase the size of the query from 50 to 100 or even ...
1
vote
0answers
170 views

Use preferred route from OSRM server

I added to an original osm.map my own routes (nodes, ways, relations). I need a way to retrieve from my OSRM server these routes (for navigation). I try to change the speed of my routes in order to ...
2
votes
1answer
7k views

OSRM Routing in Openlayers 3

I'd like to implement routing on my map using OSRM and Openlayers 3 but there don't seem to be any examples or tutorials anywhere. Everyone seems to be utilising Leaflet for this as there is a plugin ...
5
votes
3answers
3k views

Using custom data in OSRM

I have my own routing server that uses OSRM as an routing engine. (I used this toturial.) I want to be able to add my own data (roads) and include that data in the routing. So in the beginning I ...
0
votes
0answers
386 views

OSRM Error on startup - [warn] Process /usr/bin/osrm-routed could not be locked to RAM

When I try to launch Open Source Routing Machine I am now getting a warning and the service will not start. [warn] Process /usr/bin/osrm-routed could not be locked to RAM I have looked at the ...