Skip to content

Commit

Permalink
Fix "Raster layer unique values report" area unit of measure (#9257)
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored Sep 16, 2024
1 parent 4ed1602 commit 0353283
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 0353283

Please sign in to comment.