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

nmake of (OSRM v4.5.0) fails due to constexpr (C++11) with msvc12

I have an issue with OSRM back-end v4.5.0 build with nmake (see hereafter the error output). The "constexpr" in "Coordinate.h" is not supported by msvc12. The question is, how to force cmake/nmake to use the CTP compiler !? Thanks for your…
haitam
  • 21
  • 4
0
votes
0 answers

pthread_create not found, on "make" of OSRM-Project

I am trying to set up OSRM-project on my linux server, however am experiencing issues while doing so. I have the latest versions of the dependencies, and have also installed and setup pthreads: pecl pthread install then adding it to php, and…
0
votes
1 answer

How to set OSRM (Open Source Routing Machine) route markers by a javascript?

I tried OSRM online demo [1] and Front End source codes [2] http://map.project-osrm.org/ https://github.com/Project-OSRM/osrm-frontend There we can set start and set location on text boxes. In order to set route markers between start and end we…
Tharik Kanaka
  • 2,490
  • 6
  • 31
  • 54
0
votes
3 answers

Getting JSON for OSRM routing

I have successfully implemented a routing system at my website using the cloudmade API. I also want to do the same with the OSRM routing system (https://github.com/DennisOSRM/Project-OSRM) but I'm having some trouble getting the OSRM json…
NickF
  • 169
  • 1
  • 3
  • 13
0
votes
1 answer

Basic OSRM and OpenStreetMaps / OpenLayers questions

I'm trying to setup up a basic OSRM / openlayers map. I have been able to create an openlayers app with a map and some data. I have also compiled my own version of the OSRM server and tested it to return data. I would now like to use it. And having…
curiousmike
  • 1
  • 1
  • 1
-1
votes
1 answer

Add multiple routes with info window in a single ol map

I am trying to get the multiple routes/directions with markers and line from start to end points. I have tried 2 different methods both using osrm api. In the first one though I am getting the route, direction, and info window but it only shows for…
-1
votes
2 answers

How To Draw Path Between Two Location Coordinates Using OSRM Routing Machine in OpenLayers?

How To Draw Path Between Two Location Coordinates Using OSRM Routing Machine in OpenLayers ?
-1
votes
1 answer

How to save geojson data from OSRM to a text file

I am using leaflet routine machine and mapbox to get routes. All works fine and I can console.log the route out but ideally I would like to save the geojson data to a text file so I can do testing without calling the API every time and I can change…
larry chambers
  • 473
  • 1
  • 6
  • 19
-1
votes
1 answer

How to use coordinates to open a routermap

I created a map with leaflet 0.7.7 and I add some markers and layer using geojson data. I would like to add in each marker a link to open OSRM page with starting point centered on the chosen marker. In my data_marker_layer.js I have such…
wocmultimedia
  • 259
  • 1
  • 6
  • 18
-2
votes
1 answer

Building open street routing machine (osrm)

I'm doing a project on openstreetmap, thus for the purpose of implementing routing mechanism I tried to implement osrm referring 1, but when I tried out mkdir -p build; cd build; cmake .., I got an error saying: "CMake Error: The source directory…
1 2 3
16
17