[ gpsdrive ] [gpsdrive] A lovely shade of pastel blue
Joerg Ostertag (gpsdrive Munich/Germany)
gpsdrive at ostertag.name
Sun Jan 6 08:59:20 AKST 2008
On Sonntag 06 Januar 2008, haylocki wrote:
> Hi,
>
> OK I had a look at mapnik.cpp and found this line :
>
> datasource_cache::instance()->register_datasources("/usr/lib/mapnik/input/"
>);
>
> Now I had installed gpsdrive in the default location /usr/local/.....
>
> Creating a symbolic link from /usr/local/lib/mapnik/input/ to
> /usr/lib/mapnik/input/
> and then running gpsdrive now gives me the coastline as well as the POI's.
>
> Still no roads though :-(
>
This looks like not being able to access the database ...
Have you checked the permissions of your Database ...
you can do by running something like:
tweety at moby:~$ mapnik-osm-updater.sh --count-db --osm-username=''
--------- Check Number of lines in Database 'gis'
Counting entries in all Tables ( planet_osm_point planet_osm_line
planet_osm_polygon planet_osm_roads )
Table planet_osm_point = 21448
Table planet_osm_line = 72588
Table planet_osm_polygon = 5181
Table planet_osm_roads = 14949
Depending on how many roads you have in the database this should give you
different results.
if you cannot access the database, you might want to try to run
mapnik-osm-updater.sh --grant-db-users=<your username>
or
mapnik-osm-updater.sh --grant-db-users=*
--
Jörg (Germany, Munich)
http://www.ostertag.name/
Tel.: +49 89 420950304
Skype: JoergOstertag
More information about the GPSdrive
mailing list