sly
19
I was wrong
but this error might help greatly, when you prepared the DB with -p you didn’t specified the geometry column so “the_geom” (default value with shp2pgsql) was choosen, but the query (select way from cfd) tries to get the column “way” wich was the one I choose (to keep it like the other mapnik requests)
To prepare the table you should use :
shp2pgsql -p -g way one_shp_file.shp | psql your_db
^^^