<html>
<body>
Hi all,<br><br>
i'm trying to work on Raster Layer and the palette
configuration.<br><br>
My problem is that when i try to define a new QgsColorRampShader the
system says that the name is not defined.<br>
Here the example from Python Console:
<dl>
<dd>&gt;&gt;&gt; mc = iface.mapCanvas()
<dd>&gt;&gt;&gt; myRasterLayer = mc.currentLayer()
<dd>&gt;&gt;&gt; myRasterLayer.setRasterShaderFunction(None)
<dd>&gt;&gt;&gt; myRasterShaderFunction = QgsColorRampShader()
<dd>exceptions.NameError: name 'QgsColorRampShader' is not defined
</dl>Do someone know why this happen?<br><br>
Thank you Michele.<br><br>
<x-sigsep><p></x-sigsep>
<font color="#000080">
______________________________________________________________________<br>
<b><i>Michele Mammini<br>
</b>Via dell'Arno, 54 - San Benedetto<br>
56021<br>
Cascina (PISA)<br><br>
</i>Tel<i>:<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>+39 050
747037<br>
</i>Cell<i>:<x-tab>&nbsp;&nbsp;&nbsp;</x-tab><x-tab>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>+39 328
9039640<br><br>
</i>email:
<x-tab>&nbsp;</x-tab><a href="mailto:mamminim@yahoo.it"><i>
mamminim@yahoo.it</a><br>
</i>Skype:<x-tab>&nbsp;&nbsp;</x-tab><i>mamminim<br>
</i>
______________________________________________________________________
</font></body>
</html>