[QGIS-trac] Re: [Quantum GIS] #1945: [Vista] Qgis crashes removing
GRASS raster layer from map canvas
Quantum GIS
qgis at qgis.org
Sun Feb 7 05:57:39 EST 2010
#1945: [Vista] Qgis crashes removing GRASS raster layer from map canvas
--------------------------------------------------------------+-------------
Reporter: juanelz | Owner: rugginoso
Type: bug | Status: closed
Priority: critical: causes crash or data corruption | Milestone: Version 1.5.0
Component: GRASS | Version: HEAD
Resolution: fixed | Keywords: GRASS rasters
Platform_version: Vista | Platform: Windows
Must_fix: Yes | Status_info: 0
--------------------------------------------------------------+-------------
Comment (by rblazek):
Replying to [comment:28 lutra]:
> a) On both XP and Vista when I import (v.in) the following raster
(single band)
> http://www.faunalia.it/qgis/data/srtm30-relief.zip
> qgis always renders the image with the colors scrambled.
> b) On both XP and Vista when I import (v.in) the following raster (multi
band)
> http://www.faunalia.it/qgis/data/landsat-mosaic-test.zip
> qgis renders the image fine.
I dont see any obvious difference which could cause it, apart there are 2
rules in CT for srtm30.
Its on you to find the difference causing the problem. Try various CT,
pieces of raster etc.
And please test first if it renders well in pure GRASS! Such a test should
always be done before an error is reported for QGIS!
> d) in all cases a) b) and c) if the "value tool" pluign is active it
returns a python error. It used to work with GRASS rasters.
Please DON'T report the problems with valuetool here. I have explained why
the problem cannot be fixed in GRASS provider. You can fill a ticket for
enhancement of raster providers infrastructure. You can fix the valuetool
to use only raster layer identify().
Just a note about tools like that, in the new GRASS provider I have
followed GRASS philosophy to access GRASS data via modules, and that means
everywhere identify() is called the GRASS module is run. That means, if
you have a tool like valuetool and you move to mouse over QGIS canvas the
GRASS module shoudl be called for each pixel, e.i. hundreds / thousands of
time. Isn't nice?!
> e) On both XP and Vista, when applying a r.colors rule on b) it works
fine and it refreshes correctly. When applying a r.colors rule on c) it
renders with colors scrambled.
> Could this mean that there is a problem with single band images?
What do you mean by single band and multi band? GRASS rasters are always
single band.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1945#comment:29>
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