Jay-Zeng / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

Non-GUI client #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to have a non-GUI client which takes source and destination 
(maybe via points, additional settings) from the command line, calculates the 
route and outputs it (either as text or gpx/kml file). Similar to what gosmore 
and routino already do.

Original issue reported on code.google.com by earthwi...@gentoo.org on 27 Aug 2010 at 5:51

GoogleCodeExporter commented 9 years ago
I am planning to add some console tools in the future.
I haven't given it much thought yet, though. It might require some plugin API 
changes to allow for command line arguments to pass through to the plugins.

Original comment by veaac.fd...@gmail.com on 27 Aug 2010 at 6:39

GoogleCodeExporter commented 9 years ago
At least the most basic functionality works already with the existing 
interfaces, see the attached example code (uses hard coded parameters and does 
little error checking though).

Command line parameters could be accessed using the static 
QCoreApplication::arguments method [1] without interface changes.

[1] http://doc.qt.nokia.com/4.6/qcoreapplication.html#arguments

Original comment by earthwi...@gentoo.org on 27 Aug 2010 at 8:48

Attachments:

GoogleCodeExporter commented 9 years ago
The route from Karlsruhe to Stuttgart (about 80 km) is calculated in less than 
10 ms here btw -- great work :-)

Did you try building it on a ARM CPU yet? My ultimate plan is to use it on a 
Nokia N900 (without the GUI as you may have guessed).

Original comment by earthwi...@gentoo.org on 27 Aug 2010 at 8:57

GoogleCodeExporter commented 9 years ago
> QCoreApplication::arguments:
That might work quite well.

Original comment by veaac.fd...@gmail.com on 27 Aug 2010 at 10:07

GoogleCodeExporter commented 9 years ago
r225 provides some tools for console usage: The RoutingDaemon + test program.

They are lacking some functionality, though:
 - no one-shot lookup yet
 - cache sizes are not configurable

Original comment by veaac.fd...@gmail.com on 6 Sep 2010 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by veaac.fd...@gmail.com on 10 Apr 2011 at 8:42