AIFDR/risk_in_a_box — Issue #126: Raster style cannot handle floating point numbers
Author: uniomni
Created: 2012-03-08 03:35:12+00:00
State: open

Raster's usually consist of floating point numbers, so it would seem natural to be able to specify colour styles using floating point thresholds.

range() integer end argument expected, got float.
TRACEBACK:
File "/home/nielso/.qgis/python/plugins/risk_in_a_box/gui/riabdock.py", line 604, in completed
myReport = self._completed()
File "/home/nielso/.qgis/python/plugins/risk_in_a_box/gui/riabdock.py", line 661, in _completed
setRasterStyle(myQgisImpactLayer, myStyle)
File "/home/nielso/.qgis/python/plugins/risk_in_a_box/gui/riabdock.py", line 181, in setRasterStyle
myRange = range(myLastValue, myMax)