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

How to plot a JSON file generated by osrm for route optimization into an OSM map

I am a complete newbie to computation of gps, gis and all these geoinformatical stuff. First I describe my lessons learned to arrive at gps data. You can skip this and go to the last two paragraphs where I explain my problem with osrm and how to map…
user1160335
  • 19
  • 1
  • 4
1
vote
1 answer

OSRM: Find place on route after some elapsed time?

For a given start and end point of a route, I want to know at which point on the route I will be after a certain amount of time. E.g. given coordinates long_start, lat_start and long_end, lat_end, and taking the route that OSRM suggests, where…
Joule
  • 15
  • 3
1
vote
1 answer

leaflet-routing-machine OSRM too many requests with status code 429

I have used leaflet-routing-machine with OSRM in it. But server returns too many requests with status code 429 when executing following code L.Routing.control({ waypoints: [ L.latLng(57.74, 11.94), L.latLng(57.6792,…
Suful
  • 39
  • 1
  • 6
1
vote
0 answers

Calculate driving distance matrix between several points (using osrm)

I have two spatial points dataframes. One of the files contain information on the latitude and the longitude of people's residences (n=98). The second file contains information on latitude and the longitude of different polling stations (n=300). I…
rctoni
  • 111
  • 6
1
vote
0 answers

OSRM match service for public transportation

I'm a newbie to routing engines and my first attempts are done with OSRM. I want to use the match service (i.e. given a GPS dataset, I want the service to match those points to the road network in the most pausible way). Questions I have is : 1) is…
Patrick
  • 2,577
  • 6
  • 30
  • 53
1
vote
1 answer

OSRM wrong waypoint index?

I'm trying to use OSRM to get a list of locations ordered by the distance between them. For that I'm using the Trip service (https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md#trip-service). Given the encoded…
eestein
  • 4,914
  • 8
  • 54
  • 93
1
vote
1 answer

OSRM Extracting - Profile profiles/car.lua not found

I am installing OSRM to work on Ubuntu 14.04 Droplet. I am following the tutorial at https://www.digitalocean.com/community/tutorials/how-to-set-up-an-osrm-server-on-ubuntu-14-04 and I have reached the point where I need to extract OSRM. I have…
1
vote
2 answers

How to make dynamic labels from a spatial polygons dataframe for Polygons on a Leaflet map in R

With this script, I am displaying a map with three isochrones. I would like the map to have labels containing the max time represented by each isochrone/polygon. How should I reference the spatial data frames (iso1/2/3) in the addPolygons()…
Claudio Paladini
  • 1,000
  • 1
  • 10
  • 20
1
vote
2 answers

Where can I get large road distance matrix from?

I need to get real distance matrix (taking roads on board) between 320 locations. I have the information about theirs geographic coordinates. I'd like to use Google Distance Matrix Api but there are limits making my task impossible or if I divided…
1
vote
1 answer

OSRM extract and best swap stxxl location on 2 HDs

I want to set up the car profile data, but it is now taking 3 days and still at 100% Graphs (so way more to go) and I am thinking, maybe my swap and stxxl is just set up inappropriately. I have the following system 2HDs 4 TB SATA 6 Gb/s 7200 rpm…
TheRealPir
  • 445
  • 1
  • 6
  • 15
1
vote
0 answers

Integrating OSRM Code with XCode Application

I am trying to link Open Source Routing Machine (OSRM) code with a basic command-line application in XCode and run the code provided in Example.cpp (from osrm-master directory) as the main function. I am able to link header files from OSRM 'include'…
1
vote
1 answer

How to route avoiding a cerntain zone in OSRM

I want to find routes using OSRM (Open Source Routing Machine) avoiding a certain area of the city, specified by a polygon, as an option. One approach is to make two profiles: car and car_avoid_no_drive_zone. The latter profile looks up each way…
Helium
  • 348
  • 2
  • 9
1
vote
1 answer

Negative Longitude in OSRM WebAPI parameters

This is not exactly a programming questions because i am being shot down at the first step. I am trying to get Shortest path between Denver and New Jersey and using the…
Ezio
  • 376
  • 5
  • 21
1
vote
1 answer

How to change Mapbox Polyline decoding precision to 5?

As I know Mapbox SDK (RouteUtils.java) uses precision of 6 to decode polyline and that affects Mapbox Navigation. When passing DiresctionsRoute with precision 6 to startNavigation(directionsRoute) every navigation listener works perfectly. But when…
Farid
  • 2,317
  • 1
  • 20
  • 34
1
vote
1 answer

Get Node from Coordinates (long, lat) in Open street maps

Using OSRM API, I found the coordinates of the intersections along a route. I want to know what are the corresponding node IDs. Is there any API to find the node IDS from the coordinate points?
Adithya Ajith
  • 57
  • 1
  • 10