[QGIS-trac] [Quantum GIS] #2440: new GRASS raster provider and QGIS raster layer properties: changes needed

Quantum GIS qgis at qgis.org
Fri Feb 12 13:13:38 EST 2010


#2440: new GRASS raster provider and QGIS raster layer properties: changes needed
------------------------------------------------+---------------------------
   Reporter:  lutra                             |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Data Provider                     |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 The new GRASS provider solved  many problems, especially a few nasty bugs
 that made many GRASS modules not usable under Vista and Seven (caused qgis
 to crash). See for example #1945 and #2028

 Moreover it "solved" a qgis critical bug that was not yet spotted:
 basically after closing a mapset (and leaving a GRASS layer in the
 legend), if click on the canvas with a tool such the identify qgis
 crashes. You can test this bug in qgis 1.4.

 Nevertheless there are a few consequences in the qgis raster layer
 properties that would need a fix (in the provider or in the properties or
 maybe both).

 The synptoms I see are:

 A) making GRASS raster pixels transparent (properties -> transparency)
 does not work anymore.

 B) changing the colormap (freakout, pseudocolor, colormap) does not work
 anymore.

 C) if you tested A) and/or B) you probably already noticed that now, in
 the qgis raster layer properties, the "render as" property (and the below
 "RGB more..." or "Single Band Properties") are messed:

 *) GRASS raster should always open as "single band gray" and the "three
 band color" should be greyed out and not available. In trunk the "render
 as" property for GRASS rasters shows by default the "three band color"
 selected (that does not make sense). You can then choose "single band
 gray", close the properties and then if you'll open it again "three band
 color" will show correctly greyed out.

 *) Even when you manually choose "single band gray", the "gray band"
 dropdown is not populated (should show two options "band1" and "not set")
 and the "color map" dropdown does not show the correct otion.

 *) The colormap is never shown in the appropriate tab.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2440>
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