[Qgis-user] Re: New python plugin: "1-band raster colour table"

Benoit de Cabissole benoit at exigesa.com
Sat Jul 24 00:02:47 PDT 2010


Hi Paolo,

Thanks for taking the time to use/test the plugin!

I realised that it does not handle 'NaN', yet...

The qml should be saved in the same folder as the original raster file, the full path is also displayed in the "Output colour table" box. Just noted that the labels of the raster name and of the colour table filename are mixed up!

Cheers,
Benoit

> -----Original Message-----
> From: qgis-user-bounces at lists.osgeo.org
> [mailto:qgis-user-bounces at lists.osgeo.org]On Behalf Of Paolo Cavallini
> Sent: Saturday, 24 July 2010 07:42
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] Re: New python plugin: "1-band raster colour
> table"
> 
> 
> Il 23/07/2010 19:08, Benoit de Cabissole ha scritto:
> > Hi Giovanni,
> > 
> > Thanks for testing this plugin.
> 
> Hi Benoit.
> When choosing Geosoft style and 016 SRTM, I get an error:
> ===
> Traceback (most recent call last):
>   File "/home/paolo/.qgis/python/plugins/bcccoltbl/cdlgTBL.py", 
> line 294, in applyTBL
>     self.arColV = myTable.DoTable(lColMeth, lOpt)
>   File 
> "/home/paolo/.qgis/python/plugins/bcccoltbl/ColorTable.py", line 
> 108, in DoTable
>     self.DoNormalG()
>   File 
> "/home/paolo/.qgis/python/plugins/bcccoltbl/ColorTable.py", line 
> 326, in DoNormalG
>     j = int(Y)
> ValueError: cannot convert float NaN to integer
> ===
> BTW, where is the qml saved?
> All the best.
> -- 
> Paolo Cavallini: http://www.faunalia.it/pc
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 




More information about the Qgis-user mailing list