NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am new to osm. is it possible to embedd it on my web to create a routing facility that will provide directions?

asked 10 Nov '15, 09:02

triumph%20tatenda's gravatar image

triumph tatenda
11112
accept rate: 0%

edited 10 Nov '15, 19:17

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

very much related: is-there-an-osm-routing-api

(10 Nov '15, 19:19) aseerel4c26 ♦

The OSMF doesn't provide a central routing service, the services available on openstreetmap.org are accessed via some JS code to access the various routing services which tend to have their own APIs.

See

https://github.com/openstreetmap/openstreetmap-website/tree/master/app/assets/javascripts/index/directions

and

http://wiki.openstreetmap.org/wiki/List_of_OSM-based_services#Routing

permanent link

answered 10 Nov '15, 09:16

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 10 Nov '15, 09:18

... or to give a precise hint:

try http://www.liedman.net/leaflet-routing-machine/ ... that is a plugin for the http://leafletjs.com/ javascript library.

(10 Nov '15, 17:29) stephan75

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×305
×104

question asked: 10 Nov '15, 09:02

question was seen: 8,717 times

last updated: 10 Nov '15, 19:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum