On Sat, 2009-09-26 at 21:27 +0100, Jon Burgess wrote:
> On Sat, 2009-09-26 at 21:54 +0200, Michael Handerek wrote:
> > On Sat, 2009-09-26 at 11:41 +0100, Jon Burgess wrote:
> > > On Sat, 2009-09-26 at 10:43 +0200, Michael Handerek wrote:
> > > > Hi,
> > > > 
> > > > I setup a PostGIS + Mapnik + mod_tile server to serve my own tiles. It
> > > > is already running :) but mapnik only renders boundaries. I have read on
> > > > mapnik wiki the troubleshooting that covers my problem.
> > > > 
> > > >  "If the generated tiles or image show coastlines, but lack streets,
> > > > street names, cities, and other features, please verify that the
> > > > database user can indeed login. The scripts and mapnik may quietly fail
> > > > to read the data and thus render with coastlines, but no other data.
> > > > Another cause is building mapnik without postgis support."
> > > > 
> > > > The data ist definitive taken from Postgres, checked by tailing the
> > > > access logs.
> > > > What does it mean to build mapnik with postgis support? This point seems
> > > > not to be mentioned explicit in the install howto on the mapnik site.
> > > 
> > > If mapnik is connecting with postgresql then you have the postgis.input
> > > plugin.
> > > 
> > > What data have you imported into postgresql?
> > 
> > I imported a complete planet dump via osmosis. Should I consider
> > something importing data for mapnik via osmosis?
> 
> If you did not use osm2pgsql for part of the import then you don't have
> the data loaded in the correct way. Osmosis can load the OSM data into
> postgres but not in the correct format for Mapnik to use.
> See: http://wiki.openstreetmap.org/index.php/Mapnik
> 
> 
> > > 
> > > If using OSM with osm2pgsql then make sure you build and install the
> > > latest from SVN. See
> > > http://wiki.openstreetmap.org/index.php/Mapnik#osm2pgsql

Great thx. Oms2pgsql did it!
Does anybody know how much space a planet dump will take with osm2pgsql?

> > > 
> > > 
> > > > Furthermore generated tiles on higer zoomlevels are squishy.
> > > 
> > > What do you mean by this? Perhaps you are wanting to change the
> > > projection?
> > 
> > 
> > One more issue I encountered. If I change the bgcolor of the map in my
> > osm.xml, this doesn't take effect on new rendered tiles. Changing the
> > projection too.
> 
> The bgcolor only effects the blue sea colour. The land colour rendered
> by the style applied to the coastline shapefile polygons.
> 
> The mod_tile code lays out the tiles assuming the "900913" projection as
> used by the OSM tiles:
> http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
> 
> If you change to a different projection then things will probably break.
> 
> > > 
> > > > Does anybody already fixed issues like that?
> > > > 
> > > > 
> > > > Regards, Michael
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Mapnik-users mailing list
> > > > [email protected]
> > > > https://lists.berlios.de/mailman/listinfo/mapnik-users
> > 
> > 
> > _______________________________________________
> > Mapnik-users mailing list
> > [email protected]
> > https://lists.berlios.de/mailman/listinfo/mapnik-users


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to