[ gpsdrive ] External program interfacing with gpsdrive

stan stan.distortion at gmail.com
Wed Aug 20 03:45:47 AKDT 2008


Getting there :) Added a part to the routing to use the square root of the 
length of a road for the cost, that way a more direct route on many short 
roads will cost more than a longer route with only a few roads (this may cause 
a problem on embedded devices with no floating point function but there are a 
few tricks to get around it).
Its working ok so far (likes taking country backroads that go for miles 
though, it has a taste for the bogland in co. kildare), adding a big bonus for 
motorways and a smaller bonus for primaries should take care of the backroad 
problem as I have yet to find a major road without an identifier and allowing 
only a primary to connect to a motorway should sort out most of the inaccurate 
connections that are causing trouble in the osm data.
It will still miss roads that aren't joined up in the osm data but it 
shouldn't expect anyone to drive through walls :)
cheers




More information about the GPSdrive mailing list