« Return to Thread: Mapnik doesn't show a map

Re: Mapnik doesn't show a map

by Ross Scanlon :: Rate this Message:

Reply to Author | View in Thread

>> 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


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

 « Return to Thread: Mapnik doesn't show a map