Hey all, thanks! I appended the answer I already gave below. Here is the follow up:
Nadeem, currently graphhopper does not give you the n best paths. It is not really clear how to define "n best paths", because imagine that you get the second best path which does only contain one more minor (but stupid) detour. See my answere here http://stackoverflow.com/a/12788924/194609 + also look into the other answers with Java implementations. At someday we'll have such stuff in graphhopper too -> feel free to provide a pull request ;) In summary to create 'real' alternatives like google or OSRM already do, you have to do something more clever: http://research.microsoft.com/pubs/121750/alternativesea2010.pdf or search for 'alternative' here: http://algo2.iti.kit.edu/routeplanning.php e.g. http://algo2.iti.kit.edu/1805.php Regards, Peter. > On Thu, Jun 13, 2013 at 4:11 PM, Adam Estrada <[email protected]>wrote: > >> +1 on that. Peter's feedback on this list will eventually find its way in >> to Google's index which means that other folks can use the feedback to help >> answer their own questions. >> > Agreed. Keep talking :-) > Am 13.06.2013 22:40, schrieb Nadeem Anjum: > Hi Peter, > > I need the n best paths. > > Nadeem. > > > On Thu, Jun 13, 2013 at 10:38 PM, Peter K <[email protected] > <mailto:[email protected]>> wrote: > > Hi Nadeem, > > > Can I get multiple paths between two locations? > > graphhopper gives you one route between two locations according to > some > weight calculation. This can be fastest/shortest and for bike/foot/car > whatever you want. > > What is your exact usecase? Do you need different weight > calculations or > do you need the "n best" paths? > > Regards, > Peter. > > > Hi Peter, > > > > I see that your grasshopper routing project gives me a location > between any > > two points. Can I get multiple paths between two locations? > > > > Thanks, > > Nadeem. > > > > > > On Thu, May 30, 2013 at 9:11 PM, Adam Estrada > <[email protected] <mailto:[email protected]>>wrote: > > > >> Nadeem et al, > >> > >> You beat me to the [ANNOUNCE] email ;-) This *is* really > exciting! I hope > >> to see you work with this and other communities to help you > along the way > >> this summer. My suggestion to you is to post everything to this > list so > >> that there is full visibility on what you are working on. There > are a lot > >> of really smart people on here that are here to help. > >> > >> Cheers and congrats again, > >> Adam > >> > >> > >> On Thu, May 30, 2013 at 3:00 PM, Peter K <[email protected] > <mailto:[email protected]>> wrote: > >> > >>> Hi Nadeem, > >>> > >>> you could use the overpass API of OSM: > >>> http://wiki.openstreetmap.org/wiki/Overpass_API > >>> > >>> Here you can see leaflet in use with it: > >>> http://overpass-turbo.eu/ > >>> > https://github.com/tyrasd/overpass-ide/tree/gh-pages/js/OSM4Leaflet.js > >>> > >>> or my graphhopper routing project <http://graphhopper.com/maps> > >>> (shameless plug of course ;)) which also uses leaflet + osm data. > >>> > >>> Regards, > >>> Peter. > >>> > >>>> Hi Nadeem, > >>>> > >>>> Congratulations on your acceptance. I am excited about the > project. I > >> do > >>> not have first hand experience with leafletjs, but you are > asking in the > >>> right place. > >>>> Suresh > >>>> On May 30, 2013, at 1:45 PM, Nadeem Anjum > <[email protected] <mailto:[email protected]>> > >>> wrote: > >>>>> Hello, > >>>>> > >>>>> My proposal on Agent Based Modeling based geo-profiling of > criminology > >>>>> projects for GSoC 2013 has been accepted, here's the link > for it: > >>>>> > >> > > https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/nadeemanjum/14001 > >>>>> Over the last couple of days I was exploring leafletjs which > I will > >> use > >>> to > >>>>> build a web interface for simulating agent movements. > >>>>> > >>>>> The agents will be simulated to move along the roads of the > map, so I > >> am > >>>>> investigating how such road data can be retrieved using > leafletjs. Any > >>>>> pointers in this direction will be helpful. > >>>>> > >>>>> Thanks, > >>>>> Nadeem > >>> > >>> -- > >>> GraphHopper.com Your way is our destination! > >>> > >>> > >
