Turistforeningen / leaflet-routing

Leaflet.Routing is a routing controller for the popular Leaflet mapping framework. The module provides an intuitive interface for routing paths between waypoints using any user specified routing service.
http://turistforeningen.github.io/leaflet-routing/examples/osm.html
BSD 2-Clause "Simplified" License
262 stars 67 forks source link

User Specified Routing Service #32

Closed canadaka closed 9 years ago

canadaka commented 9 years ago

Is there any info about how one creates a routing service? You seem to run your own "/route/?" what did you use to create this? I see many OSM based routing projects here http://wiki.openstreetmap.org/wiki/Routing

I'm new to routing and trying to figure out how I might be able to do routing on a database of linestring in a Postgres database. I can convert them to OSM if need be.

Starefossen commented 9 years ago

Hi @canadaka,

The example uses the OSM router from http://www.yournavigation.org, there are some other OSM routers as mentioned in this comment.

If you have your own Postgres database you should check out the pgRouting project, we use that internally here at the Norwegian Trekking Association.