[ gpsdrive ] External program interfacing with gpsdrive

stan stan.distortion at gmail.com
Mon Aug 25 03:42:27 AKDT 2008


> what are trying to do?
> As I did most of the poi code, maybe I can help you...

Thanks :)
I'm not really sure how to work things yet, if you have the code for searching 
street names it would be a good place to start. From there, selecting a street 
and clicking 'select target' would fire up the routing functions, create a 
track file and load the track file.
Other than formating the results into a track file, all this should use the 
functions already in place and a few sql commands so it seems the simplest 
place to start.
Having a look at tsearch2 at the mo, the database still needs lots of tidying 
so now would be the time to get some advanced search functions in there too. 
Searching for street names, then using the results to search for nearest towns 
etc. will be a resource hog, the database is going to take a long time to 
build no matter what so may as well add a few more hours to enable fast 
searches. Also have to keep in mind some kind of framework for directions, ie. 
'take the next left, roadname, roadnumber', the tsearch tables may be useful 
here.
I'm happy working away at this and learning quite a bit doing it, but it 
really needs someone who knows databases to check the layout when it's ready 
for testing, it seems to me I'm entering the same stuff 3 times in slightly 
different formats :)
cheers



More information about the GPSdrive mailing list