Hi, I could not solve the problem yet. I tried to load the same raster on mapserver and it works fine! Thought it was a problem of gdal, but is not so!
Any hint? fill a ticket? more info: GDAL 1.9.0 r24099 PostGIS 2.0 b3 r9434 QGIS master a873124 On Sun, Mar 04, 2012 at 01:30:30PM -0800, Salvatore Larosa wrote: > Hi, > I am trying to load a raster layer in qgis (master[fa4ec86]) but w/out > success!! > > my steps are: > > >>> from qgis.utils import iface > >>> connection = "PG:host='localhost' port='5432' dbname='workshop' > >>> user='postgres' password='*******' schema='public' table='r_ctr5k' > >>> mode='2'" > >>> iface.addRasterLayer(connection, "r_ctr5k") > > I can see my layer "r_ctr5k" in toc, but not in map canvas! > > Any wrong step? _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
