[ gpsdrive ] External program interfacing with gpsdrive

stan stan.distortion at gmail.com
Tue Aug 12 04:01:19 AKDT 2008


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

Not sure how that could be done with pgrouting, as far as I can tell it's a 
set of routines for postgis. The best place for it would probably be in a 
separate app to manage the osm database, set up, configure, update, edit, etc. 
Could be something built in to gpsdrive but that would be a lot of work.

> 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.
Thanks, will have a look....
> Have a look into the mapnik and poi stuff.

...got it, gdal is being used at the mo and looks good, couple of questions:
Is gdal the planed route for database access, its not a stepping stone to 
something else?
Does gpsdrive use gdal directly or does it search via the gdal built in to 
mapnik? Doesn't make a lot of difference but searching via mapnik would mean a 
single path to the database so only one thing to go wrong and one less 
dependency for gpsdrive, I'll have to read up some more on mapnik, could be 
this just isn't possible and I'm talking out of my backside :)

> 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.

It does, but it still leaves gpsdrive clean and simple and the postgis 
database a confusing thing to set up and get running. Unless gpsdrive (or an 
app partner to it) handles the database setup it will be complicated for 
someone to pick up and use gpsdrive.
The alternative is to create a set of routines within gpsdrive for the routing 
that just use database access via gdal (or possibly mapnik...), lots more work 
but the routines within pgrouting will be a big head start if they can still 
be used via external database access.
Sorry, I'm rambling. I have a lot of reading to do, maybe then I can comment 
on something I know a little more about ;)
cheers



More information about the GPSdrive mailing list