Hi Tom, Your database server is not configured to allow outside connections. To enable, you'll need to modify pg_hba.conf and restart db server. Please, follow postgresql documentation :
http://www.postgresql.org/docs/8.4/interactive/auth-pg-hba-conf.html Regards, Artem 2009/12/2 Tom Brennan <[email protected]> > Thanks for the suggestions > > On Wed, December 2, 2009 5:38 am, Dane Springmeyer wrote: > >> <Parameter name="host">localhost</Parameter> > >> <Parameter name="port">5432</Parameter> > > Maybe try leaving "host" blank or both "host" and "port" blank (or > > removing those lines altogether)? > > I removed all the host and port parameters, but still get the same failure > to connect. > > > Another way to play around with connecting via mapnik is to try a > > python interpreter: > > > > $ python > > >>> from mapnik import PostGIS > > >>> PostGIS(dbname='gis',table='planet_osm_line') > > Tried this - got the following output. > >>> from mapnik import PostGIS > >>> PostGIS(dbname='gis',table='planet_osm_line') > <mapnik.Datasource object at 0x0057F230> > > Does this indicate a connection, an error, or something else? > > > If that does not work after a few tries, maybe you've got a firewall > > blocking things from connecting on localhost? > > Yeah, the firewall got disabled fairly early on in the whole process just > to make sure of things! > > On Wed, December 2, 2009 12:21 am, Rahkonen Jukka wrote: > > When it comes to the sea, coastline dataset is land polygons. The sea is > > all blue on the bottom, over that comes these land polygons and next all > > the other data. Thus you are now rendering only an empty canvas. > > This one turned out to be user error (me). It would have helped to have > set my bounding box in the correct hemisphere... > > cheers > ---- > Tom Brennan > [email protected] > Bushwalking? http://ozultimate.com/bushwalking > Canyoning? http://ozultimate.com/canyoning > _______________________________________________ > 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

