[Mapnik-users] Postgis datasource(Python)

Tyler Durden tylersticky at gmail.com
Fri Jun 29 11:06:23 CEST 2007


I'm running Postgresql at port 5432, I can connect via another script
to DB with the same params.

My lyr1.datasource is None, weird because at compile time doesn't show
any error about finding postgresql libs or includes.

datasource=0 type=postgis
Is none (this is my output string when  lyr1.datasource == None)
scale=0.00166667
start map processing bbox=Envelope(-1.166666666666667,-1,0.1666666666666666,0)
scale denominator = 662616
start layer processing : boundaries
datasource = 0
end layer processing
end map processing
0.00 s

 destroyed singleton
 destroyed singleton
 destroyed singleton



More information about the Mapnik-users mailing list