[ gpsdrive ] Mapnik doesn't show a map

Stefan Liebl Alter.Depp at gmx.de
Sun Apr 26 09:43:54 AKDT 2009


Hi,

I am running gpsdrive on an eeepc 901 with Xubuntu  8.10. All works
fine, and I wanted to try mapnik.
I follwed the instructions in /usr/share/doc/gpsdrive/README.Debian.
Importing the world faild:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ osm2pgsql -m -d gis planet-090418.osm.bz2
osm2pgsql SVN version 0.52-20080912 $Rev: 7141 $

Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads

Reading in file: planet-090418.osm.bz2
Entity: line 8301: parser error : AttValue: ' expected
   <node id="103920" lat="59.9388385" lon="10.787819
                                                    ^
Entity: line 8301: parser error : attributes construct error
   <node id="103920" lat="59.9388385" lon="10.787819
                                                    ^
Entity: line 8301: parser error : Couldn't find end of Start Tag node
   <node id="103920" lat="59.9388385" lon="10.787819
                                                    ^
planet-090418.osm.bz2 : failed to parse
Error occurred, cleaning up
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Interesting thing is, I can't find node id="103920" in
planet-090418.osm.bz2.

So I tried with a smaler map bayern.osm.bz2. Import worked find. But in
gpsdrive I can't see any map. I activated the checkbox 'Mapnik Mode' but
I only see my waypoints. Output of gpsdrive is:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ qpsdrive
Creating main window
.gpsdrive/way.txt reloaded
Using Mapnik config-file: /usr/share/gpsdrive/mapnik/osm.xml
Read 503 POI-Types from /usr/share/gpsdrive/map-icons/icons.xml
map_koord.txt reloaded
Thank you for using GpsDrive!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Perhaps someone could help me.

Thanks
Stefan



More information about the GPSdrive mailing list