[Qgis-developer] PostGIS Raster Layer into QGIS not displayed

Salvatore Larosa s_larosa at libero.it
Sun Mar 4 16:30:30 EST 2012

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?

View this message in context: http://osgeo-org.1560.n6.nabble.com/PostGIS-Raster-Layer-into-QGIS-not-displayed-tp4545938p4545938.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.

More information about the Qgis-developer mailing list