Skip to content

minube/osrm-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OSRM Client

Features

  • viaroute (computation of the shortest path on the road network between two coordinates)
  • locate ( under development )
  • nearest ( under development )

How to use it

Viaroute

$client = new Osrm\Client('http://server:5000');
$from = new Osrm\Coordinate(40.418888888889, -3.6919444444444);
$to = new Osrm\Coordinate(41.3825, 2.1769444444444);
$route = $client->getRoute($from, $to);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages