I'm trying to manage raster files from PostGIS, which to be rendered using Mapnik. I used raster2pgsql to load those GeoTIFF images to PostGIS, and I think the loading process turned out OK. The problem is to render from Mapnik XML using the PostGIS datasource: the rasters rendered out blank.. The raster files rendered perfectly with Mapnik XML using GDAL datasource, so I suspect my PostGIS raster configuration is at fault here.. Is there any documentation out there that resembles what I am trying to do?
Below is a snippet of my XML file to be used by Mapnik:
<Datasource>
<Parameter name="type">postgis</Parameter>
<Parameter name="user">postgres</Parameter>
<Parameter name="dbname">gis</Parameter>
<Parameter name="geometry_field">rast</Parameter>
<Parameter name="estimate_extent">false</Parameter>
<Parameter name="table">staging.hillshade</Parameter>
<Parameter name="extent">101,3,103,4</Parameter>
</Datasource>
I appreciate any help, thanks!


