[GRASS-dev] Updating colorrules.py
Mohammed Rashad
mohammedrashadkm at gmail.com
Wed Dec 19 07:39:55 PST 2012
Hi All,
gui/wxpython/modules/colorrules.py, providing inteface for setting
colortable for raster and vector.
As I reported on trac[1] several weeks ago there is a bug in the code which
happens if no. color rules for raster map is big (eg: 32763 This for
nc_spm_08/landsat 4,3,2 color composite) . This will result in crashing the
whole wxGUI!
The problem is for each rule colorrules.py create a checkbox,textCtrl and
ColorSelect.
Creating these widgets will hangup the UI.
A solution is to use a list control agw provides one such thing called
ultimatelistCtrl.
I had updated the colorrules.py and made a patch for it. Anyone Please
review and update the file
PFA patch
[0] http://trac.osgeo.org/grass/ticket/1816
--
Regards,
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121219/1c4b0267/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colorrules_py.patch
Type: application/octet-stream
Size: 15751 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20121219/1c4b0267/attachment-0001.obj>
More information about the grass-dev
mailing list