« Return to Thread: geoinfo.db

Re: geoinfo.db

by Andreas Putzo-3 :: Rate this Message:

Reply to Author | View in Thread

On Jun 30  22:05, Joerg Ostertag wrote:
> On Monday 29 June 2009 01:19:54 Guenther Meyer wrote:
> > Am Sonntag 28 Juni 2009 schrieb Andreas Putzo:
> > > May i suggest putting the script into the gpsdrive repository? Judging
> > > from the comments in the script, geoinfo.db is solely used by gpsdrive
> > > and thus, in my opinion, should be kept there.
> >
> > it was in the gpsdrive repository some time ago.

Somehow skipped that part in your first mail.

> > the geoinfo stuff was developed for gpsdrive, but we thought, it would be a
> > good idea to put it (together with the icons) into the osm repository, in
> > the hope, that other applications might use it, too.
> >
> > as this may be a good idea for achieving this, I never liked Joerg's
> > decision to move the geoinfo.db (which is an essential part of gpsdrive)
> > oout to a separate package...

If this file is useful for other applications it might be ok. You don't
add all libraries gpsdrive depends on into the gpsdrive source just
because gpsdrive won't run without it. Though the build system should
catch it, if it can't find the geoinfo.db.
>
> The reason here is consistency. Since geoinfo.db is directly depending on the
> existance or non existence of icons, i decided to move it to where the icons
> are located. Only this way i can be sure that after installing a
> map-icons-package Version xy i also have the corresponding geoinfo.db version
> xy file laying near it. und thus being installed at the same time.

What happens if the geoinfo.db contains a poi_type but the installed
icon set does not contain that particular icon? There are more than 500
poi_types already which is many for a minimal icon set for embedded devices.
Also, you would need something like a map-icons-common package since you
can't just add the geoinfo.db to every map-icons package without adding
conflicts. I don't really like the idea to add a package for only two
files (icons.xml and geoinfo.db), but well..


Andreas
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

 « Return to Thread: geoinfo.db