[Qgis-developer] New Plugin Show Hide Image

Luiz Motta motta.luiz at gmail.com
Mon Jun 8 13:36:57 EDT 2009


Dear to all,

I post the plugin "Image show or hide", it´s show or hide image from polygon´s
vector layer (Grid of images) with attribute path and name local image.

Link for plugin
http://spatialserver.net/pyqgis_1.0/contributed/imgshowhide.zip

I test run in Windows XP with install QGIS 1.0.2 and  1.1.0 (the
libray python is the setup install).

To make vector layer i use other plugin.
http://spatialserver.net/pyqgis_1.0/contributed/imgboundary.zip

I need synchronize layers in Map Canvas with Legend Canvas, i
appreciate for help me.

*** Example in Python Console to show the problem  Map Canvas with
Legend Canvas: ****
mapCan = iface.mapCanvas()
mapRen = mapCan.mapRenderer()
lstLyr = mapRen.layerSet()
lstLyr.swap(0, lstLyr.count()-1)
mapRen.setLayerSet(lstLyr)
mapCan.refresh()


Regards,
Luiz Motta
AMAZONIAN PROTECTION SYSTEM
http://www.sipam.gov.br/en/index.php


More information about the Qgis-developer mailing list