Hi,

OSRM is a high performance routing engine written in C++14 designed to run on
OpenStreetMap data.

The following services are available via HTTP API, C++ library interface and
NodeJs wrapper:

- Nearest - Snaps coordinates to the street network and returns the nearest
  matches
- Route - Finds the fastest route between coordinates
- Table - Computes the duration or distances of the fastest route between all
  pairs of supplied coordinates
- Match - Snaps noisy GPS traces to the road network in the most plausible way
- Trip - Solves the Traveling Salesman Problem using a greedy heuristic
- Tile - Generates Mapbox Vector Tiles with internal routing metadata


To test it:

$ ftp https://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
$ osrm-extract -p /usr/local/share/osrm/profiles/car.lua berlin-latest.osm.pbf
$ osrm-partition berlin-latest.osrm
$ osrm-customize berlin-latest.osrm
$ osrm-routed --algorithm mld berlin-latest.osrm &
$ ftp -o - 
'http://localhost:5000/route/v1/driving/13.388860,52.517037;13.385983,52.496891?steps=true'

You can test in the browser with
https://github.com/Project-OSRM/osrm-frontend:

Adjust src/leaflet_options.js:

    services: [{
      label: 'Car (fastest)',
      path: 'http://localhost:5000/route/v1'
    }],

Then:

$ npm install
$ gmake
$ npm start

And open http://localhost:9966/ in a browser.


ok?

-- 
Anthony J. Bentley

Attachment: osrm.tar.gz
Description: osrm.tar.gz

Reply via email to