Why not ask your question on the new OpenStreetMap Community Forum?

In an experiment with Prolog I would like to use the data provided from OSM to calculate, for example, the shortest path to traverse a collection of points of interest. I have an idea how to do that using Prolog, and even how to access my Prolog program from a Java servlet (that should render the page with the map among other things).

However, since I am new to OSM I still do not know how to let the users select a certain amount of nodes from a map, and how to answer (I mean, how to draw in the map) the shortest path to traverse them (given a user selected starting node).

Could someone give me a hint about how I can ask many points of interest in the map from a user and draw a path as an answer ?

asked 16 May '12, 13:30

sergioc78's gravatar image

accept rate: 0%

edited 16 May '12, 23:36

maybe a look at the OSM wiki about Routing can be helpful ... see all sub pages there, too.

There are some opensource routing programs which you could examine.

permanent link

answered 18 May '12, 17:09

stephan75's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 16 May '12, 13:30

question was seen: 4,635 times

last updated: 18 May '12, 17:09

powered by OSQA