[ gpsdrive ] External program interfacing with gpsdrive

Joerg Ostertag (Tettnang) joerg at ostertag.name
Mon Aug 11 12:33:17 AKDT 2008


On Montag 11 August 2008, stan wrote:
...

> Is there any way for an external program to send track files to gpsdrive?

I'm not sure, but this sounds like you would like to add some routing 
capability to gpsdrive?
This would sound great :-)

I would prefer to add this as a lib directly into gpsdrive. What do you think 
about this?

> Also, any suggestions for tools and libs to read the osm data? Perl
> for my own preference 

You can have a look into osmtrackfilter.pl there I started reading the mapnik 
data within a perl script. Only thing missing (as what I remember) is the 
projection of the Data.

> but libs currently used by gpsdrive would be the best 
> thing if integration ever came up.

Have a look into the mapnik and poi stuff.

> To add a bit more, I spent yesterday reading up on a few alternatives
> including pgrouting. It looks like most of the calculations work has
> already been done but the documentation for pgrouting isn't exactly novice
> friendly (or I'm a bit thick ;) ). 

If pgroute is written in C/C++ and uses the postgis database of osm this would 
be one of my prefered routing implementations for GPSDrive.

> I can't figure out one simple thing, 
> does it need to re-write the entire OSM psql database to work? Thats 2
> databases in total, the map data and the routing data?

I hope it will not be too much overhead.

> For now I need to learn some more about the database so will concentrate on
> a simple search for streets and locations and try to figure out how to
> build it in to gpsdrive.

Sounds like a good start to me.

Please keep us posted ...

-- 

Jörg

http://www.ostertag.name/
http://www.openbc.com/go/invita/Joerg_Ostertag


More information about the GPSdrive mailing list