Bug report #2428

(windows) Identify Features tool returns incorrect band values

Added by dr - over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:ersts -
Category:Rasters
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:worksforme
Crashes QGIS or corrupts data: Copied to github as #:12488

Description

1. Open any RGB raster and zoom it to high scale;

2. Click on any pixel and identify band values;

3. Set color from previous step as transparent;

4. At result - another pixel becomes transparent.

For more detail see video: [http://www.screencast.com/users/gislab/folders/Jing/media/7a50cf47-c461-4236-b45d-1196fc5f4dd5]

History

#1 Updated by Giovanni Manghi over 10 years ago

Hi,

I cannot replicate it here with trunk under linux. Can you post please a sample of the data you are using?

#2 Updated by dr - over 10 years ago

This bug I've reproduced on different rasters. For example [http://gis-lab.info/share/DR/l5_19880625.img]

#3 Updated by Giovanni Manghi over 10 years ago

Just tested the raster you linked and it works fine under linux and qgis trunk. I'll check also under xp and report back.

#4 Updated by Giovanni Manghi over 10 years ago

Ok, is confirmed that the issue happens under windows but not linux. Any Mac to test it?

#5 Updated by dr - over 10 years ago

Thanks for testing it. Sorry I don't have possibility to test bug under Mac OS.

#6 Updated by Giovanni Manghi over 10 years ago

Hi,

I think that the title of this ticket does not really match the described issue. What about changing it? maybe something like "(windows) setting transparent colours applies to wrong pixels"?

cheers

#7 Updated by dr - over 10 years ago

I'm not sure that issue is connected with transparency. Seems that it is Identify Feature tool issue.

#8 Updated by dr - over 10 years ago

If you try to click in different place of pixel you will get different values of bands.

#9 Updated by Giovanni Manghi over 10 years ago

Replying to [comment:8 dr]:

If you try to click in different place of pixel you will get different values of bands.

ok, I didn't noticed it.

#10 Updated by William Kyngesburye over 10 years ago

Works on OSX.

#11 Updated by dr - over 10 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

Also available in: Atom PDF