[Qgis-developer] Re: PostGIS Raster Layer into QGIS not displayed
lrssvtml at gmail.com
Fri Mar 9 12:54:59 EST 2012
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!
fill a ticket?
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:
> I am trying to load a raster layer in qgis (master[fa4ec86]) but w/out
> 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?
More information about the Qgis-developer