Skip to content

sasankyadavalli/osrm-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSRM

Elixir bindings for OSRM REST API.

Installation

The package can be installed by adding osrm to your list of dependencies in mix.exs:

def deps do
  [{:osrm, "~> 0.1.0"}]
end

Docs can be found at https://hexdocs.pm/osrm.

Configuration

config :osrm, OSRM,
  server_url: "OSRM_SERVER_URL",
  version: "v1",
  profile: "car"

Methods

Service Description
route shortest path between given coordinates
nearest returns the nearest street segment for a given coordinate
table computes distance tables for given coordinates
match matches given coordinates to the road network
trip compute the shortest trip between given coordinates
tile return vector tiles containing debugging info

About

Elixir bindings for OSRM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages