[Qgis-developer] PostGIS Raster Layer into QGIS not displayed
Sandro Santilli
strk at keybit.net
Mon Mar 5 04:14:00 EST 2012
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?
There've been a temporary API break in PostGIS during 2.0 closeup
(RASTER ~ GEOMETRY operator).
Should be fixed in PostGIS-2.0.0beta2SVN (beta2 package should be
available on Wednesday)
--strk;
,------o-.
| __/ | Delivering high quality PostGIS 2.0 !
| / 2.0 | http://strk.keybit.net - http://vizzuality.com
`-o------'
More information about the Qgis-developer
mailing list