[QGIS-trac] [Quantum GIS] #1816: NDVI colors not shown correctly
Quantum GIS
qgis at qgis.org
Wed Jul 29 06:03:08 EDT 2009
#1816: NDVI colors not shown correctly
------------------------------------------------+---------------------------
Reporter: pcav | Owner: rugginoso
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: GRASS | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
I'm following:
http://trac.osgeo.org/grass/wiki/HowToTestGrass6
All fine, but for the fact that the calculated ndvi map appears on grey
scale, and applying the ndvi color table does not change it.
/usr/lib/grass64/etc/colors/ndvi seems ok:
-1.000 5 24 82
-0.300 5 24 82
-0.180 255 255 255
0.000 255 255 255
0.025 206 197 180
0.075 191 163 124
0.125 179 174 96
0.150 163 181 80
0.175 144 170 60
0.233 166 195 29
0.266 135 183 3
0.333 121 175 1
0.366 101 163 0
0.433 78 151 0
0.466 43 132 4
0.550 0 114 0
0.650 0 90 1
0.750 0 73 0
0.850 0 56 0
0.950 0 31 0
1.000 0 0 0
And in fact in GRASS the same layer is shown correctly.
This has been tested by at least three people, in different Linux distros.
I get these warnings:
Warning: QPainter::setPen: Painter not active
Warning: QPainter::setFont: Painter not active
Warning: QPainter::end: Painter not active, aborted
Warning: QPixmap::scaled: Pixmap is a null pixmap
Warning: Object::connect: No such signal
QgsRasterLayer::editingStarted() in
/storage/build/qgis_unstable/src/app/legend/qgslegend.cpp:548
Warning: Object::connect: No such signal
QgsRasterLayer::editingStopped() in
/storage/build/qgis_unstable/src/app/legend/qgslegend.cpp:549
But I do not know if they are relevant.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1816>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list