Hi Marcus, I think I didnt explained well what I do and what I want to do. I do: 1) I import from OpenStreetMap a map and then I apply on that map an arc routing algorithm 2) the algorithm give me back an ordered list of nodes that rappresents the calculated path(assume between two nodes there is only one edge/arc)
In general consider the path like a cycle, so some edge/arcs could be traversed more than one time. I want to: show that calculated path in some way, on OpenStreetMap or Google Maps. Actually I don't know how to indicate when a street is traversed different times, so I think that just highlight a path on a static map it's not enough. So I was thinking to attach to a static map with an highlithed path some driving information so I can fully show the path I calculated. Can I use Traveling Salesman to show that cyclical path? If yes, it's a good idea to use a static map with highlighted path and driving information? Thanks,Camillo. 2010/3/26 Marcus Wolschon <[email protected]> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Am 26.03.2010 13:58, schrieb Camillo Anania: > > > > Right, I already have a route from my algorithm and right I mean > > NAVIGATE through these nodes giving instructions to a driver and/or > > showing a map, depend what is easier to do. > > It´s usually not an "either or" but an "and" and there are lots of > other things to take care of on the road too. > * Finding, configuring and parsing the output of GPS-device (at least > NMEA). > * handling bad and unreliable gps-reception > * detecting where the driver is > * detecting if the driver is still on the road > * finding a good name for a random piece of road to use in directions > * detecting and handling turnarounds and complex motorway-link > properly in your instructions > * ... > > > > Do you know where I can find some examples of code or anything that > > can help me doing that? > > > Handling general navigation, route-recalculation, ... > > http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/navigation/NavigationManager.java?revision=1314&view=markup > > Multiple methods of painting a moving map: > > http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/painting/ > > Driving instructions: > > http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/routing/describers/ > > http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/routing/speech/ > > Parsing and managing TMC messages (traffic delays): > > http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/osmnavigation/src/org/openstreetmap/travelingsalesman/trafficblocks/ > > > (Traveling Salesman is based entirely on plugins. It is MADE to allow > you to plug in one piece and get all > the others for free.) > > > Marcus > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkussxkACgkQf1hPnk3Z0cRktACfUzi5Dz2ag6zeQ6CfhpMPn86w > v3AAoMVbqNgmKjQIbN3P/Rk6rkAJlC0E > =aEx/ > -----END PGP SIGNATURE----- > > > _______________________________________________ > Routing mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/routing > >
_______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/listinfo/routing
