[ gpsdrive ] Mapnik doesn't show a map

Ross Scanlon info at 4x4falcon.com
Wed Jul 8 15:10:51 AKDT 2009


>> You could try osm2pgsql ( http://wiki.openstreetmap.org/wiki/Osm2pgsql )
>> directly, that is my preferred method. Run
>> $ osm2pgsql -m -d gis yourmap.osm.bz2
>
> I did
> $ osm2pgsql -m -d gis bayern.osm.bz2
> and also
> $ osm2pgsql -m -d gis austria.osm.bz2
>
> It runs for a while and the output looks ok. But no map in Gpsdrive.
>
> When I did it first with planet-latest.osm.bz2 I got some errors. So I
> think perhaps the database is corrupt now.
>

Try using

osm2pgsql -c -m -d gis your.osm.bz2

the -c creates the tables in the database.


-- 
Cheers
Ross




More information about the GPSdrive mailing list