Bug report #22104

zonal histogram wrong

Added by yonghyun kim 4 months ago. Updated 4 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.4.8 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29917

Description

The zonal histogram is not generated by the raster band setting and the raster value is listed as the field value of the output.

For example,
the raster band type is singleband pseudocolor,
rast value range = 0 ~ 100
band is classified by 5 (20, 40, 60, 80 ,100)

But oustput is stragne like below

----------------------
HISTO_10 int8 1 0
HISTO_10.0033 int8 -1 0
HISTO_10.004 int8 -1 0
HISTO_10.0041 int8 -1 0
........
HISTO_100.0 int8 -1 0
---------------------------------------

Is it normal output?
I expect this function is same zonal histtogram in Arcgis

History

#1 Updated by Giovanni Manghi 4 months ago

  • Category changed from Rasters to Processing/QGIS
  • Subject changed from zonal histogram something wrong to zonal histogram wrong

Also available in: Atom PDF