[ gpsdrive ] Mapnik module
Joerg Ostertag (gpsdrive Munich/Germany)
gpsdrive at ostertag.name
Mon Oct 15 20:58:02 AKDT 2007
On Dienstag 16 Oktober 2007, Alex Cruz wrote:
> The story so far:
> I ran mapnik-osm-updater.sh --grant_db_users=* and that fixed the
> permissions for my user. Next, I ran ./mapnik-osm-updater.sh --count_db
> --debug and this is all that came back:
Did you run it as root?
...
> cannot read shape file
This message normally tells us, mapnik cant read the workd boudaries
> (gpsdrive:27570): Gtk-CRITICAL **: gtk_statusbar_push: assertion
> `GTK_IS_STATUSBAR (statusbar)' failed
> Read 502 POI-Types from /usr/local/share/map-icons/icons.xml
> map_koord.txt reloaded
> /home/alex/.gpsdrive/way.txt reloaded
>
> I now have roads defined however, there are no names listed.
This might be because the font-file used use for mapnik is hardcoded in
src/mapnik.cpp. You might want to add a configuration parameter for this.
> Next, I ran
> python to check the mapnik module. The output:
...
> >>> from mapnik import *
This means you're missing the mapnik-python bindings. But you normally don't
need them anyhow.
> P.S. I install the world boundaries, too.
Check if the place for the worldboundaries is the same as the place seen in
the ~/.gpsdrive/osm.xml
-
Joerg
More information about the GPSdrive
mailing list