Skip to content

Commit

Permalink
[Backport release_3.34] Fix "Raster layer unique values report" area …
Browse files Browse the repository at this point in the history
…unit of measure (#9265)

Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
  • Loading branch information
qgis-bot and agiudiceandrea committed Sep 16, 2024
1 parent eb210f5 commit 8994929
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/user_manual/processing_algs/qgis/rasteranalysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2512,6 +2512,7 @@ Python code
Raster layer unique values report
---------------------------------
Returns the count and area of each unique value in a given raster layer.
The calculation of the area is done in the area unit of the layer's CRS.

Parameters
..........
Expand Down Expand Up @@ -2609,8 +2610,9 @@ Outputs

* *value*: pixel value
* *count*: count of pixels with this value
* *m*\ :sup:`2`: total area in square meters of pixels with
this value.
* *m2* or *deg2* or *ft2* or ... : total area of pixels with this value.
The column name depends on the area unit of the layer's CRS
and the calculation is done in that unit.

* - **Width in pixels**
- ``WIDTH_IN_PIXELS``
Expand Down

0 comments on commit 8994929

Please sign in to comment.