Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to develop an application, firstly web, later mobile, that builds a route based on points of interest, basically it should show the route and the points of interest and when the user clicks it will display some kind of information but I'm really struggling starting to create this...I already have my POI spatial database and I haven't really tried anything, because I don't know where to start. Is there any example you can give me?

Thanks in advance.

share|improve this question
4  
Welcome to gis.SE. Your question doesn't really say what environment you need to use (mobile, web, thick client - technology choices and tools would help). It doesn't tell us what you've already tried. It doesn't tell us what worked and what didn't work. It doesn't show us any of your sample data. It doesn't tell us about licensing restrictions. Can you edit your question (just click edit above) to include some more details so we may be able to provide a meaningful answer? –  BradHards May 22 '13 at 23:35
1  
Postgis , pgrouting, osm2po and read little about graph theory and dijkstra and you know basics –  simplexio May 23 '13 at 5:35
add comment

1 Answer

You can use the OSRM API.

Basic point to point queries between the coordinates (lat1,_lon1_) and (lat2,_lon2_) are requested like this:

http://server:5000/viaroute?loc=_lat1_,_lon1_&loc=_lat2_,_lon2_

You get as JSON string in return.

Also you can build your own OSRM routing server.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.