Re: [Qgis-developer] How to load a colour table on a raster, programmatically (in python)?

2010-08-05 Thread Peter Ersts
On 08/05/2010 05:25 AM, Benoit de Cabissole wrote: Could you please point me to the function(s) that are used to match a custom colour table (QgsColorRampShader?) to a raster? Howdy Benoit, First you will need to set the color shading algorithm for the raster,

[Qgis-developer] how to print to the shell?

2010-08-05 Thread Ricardo Filipe Soares Garcia da
Hi list A quick (and hopefully not too embarassing ;) ) question: -How can I print some variables to the shell when creating a python plugin? For example, I have a piece of code that goes: # python code parameters = dlg.return_parameters() print(parameters: %s % parameters) # end of code I was

[Qgis-developer] Re: how to print to the shell?

2010-08-05 Thread Ricardo Filipe Soares Garcia da
Hi again My problem has been solved, although I admit I don't know why. I just had to restart Qgis, and now I can see the output of my print commands in the shell again. Sorry for the noise On Thu, Aug 5, 2010 at 4:25 PM, Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com wrote: Hi

AW: [Qgis-developer] Qt Signal Error on Mac OS X

2010-08-05 Thread Ziegler Stefan
Hi William I can't remember which version I downloaded. I used some dev builds few months ago and now downloaded 1.5, so both are possible. Have to check this. You can find the plugin here: http://www.catais.org/qgis/plugins.xml It runs on trunk and on revision 13851 (on Linux). regards