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

Re: Mapnik doesn't show a map

by Alter.Depp :: Rate this Message:

Reply to Author | View in Thread

Hi

Joerg Ostertag wrote:
>
>     I use
>        mapnik-osm-updater.sh --all-planet-geofabrik=europe/germany
>     to refill the OSM Database.

I don't have mapnik-osm-updater.sh on Xubuntu Jaunty.


Jan-Erik Skata schrieb:
>
> Have you set up the database according to
> http://wiki.openstreetmap.org/wiki/Mapnik/PostGIS ?

Yes

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

 > (remove the "-m" if projection is off by some 10 km).

I don't have any projection at all ...

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

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