Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processing] add area to raster layer unique values report algorithm (#…
- Loading branch information
Showing
5 changed files
with
95 additions
and
67 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
python/plugins/processing/tests/testdata/expected/raster_unique_values_count.html
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
python/plugins/processing/tests/testdata/expected/raster_unique_values_report.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/></head><body> | ||
<p>Analyzed file: /home/webmaster/dev/cpp/QGIS/python/plugins/processing/tests/testdata/raster.tif (band 1)</p> | ||
<p>Extent: 270736.0673250681720674,4458888.9563983473926783 : 270899.8544675338780507,4459029.5745217483490705</p> | ||
<p>Projection: ED50 / UTM zone 30N (EPSG:23030)</p> | ||
<p>Width in pixels: 16 (units per pixel 10.2367)</p> | ||
<p>Height in pixels: 14 (units per pixel 10.0442)</p> | ||
<p>Total pixel count: 224</p> | ||
<p>NODATA pixel count: 104</p> | ||
<table><tr><td>Value</td><td>Pixel count</td><td>Area (m²)</td></tr> | ||
<tr><td>826</td><td>4</td><td>411.2757251916548</td></tr> | ||
<tr><td>837</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>843</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>845</td><td>4</td><td>411.2757251916548</td></tr> | ||
<tr><td>851</td><td>9</td><td>925.3703816812233</td></tr> | ||
<tr><td>853</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>859</td><td>10</td><td>1028.189312979137</td></tr> | ||
<tr><td>861</td><td>4</td><td>411.2757251916548</td></tr> | ||
<tr><td>864</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>866</td><td>9</td><td>925.3703816812233</td></tr> | ||
<tr><td>868</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>872</td><td>4</td><td>411.2757251916548</td></tr> | ||
<tr><td>873</td><td>9</td><td>925.3703816812233</td></tr> | ||
<tr><td>878</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>880</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>881</td><td>6</td><td>616.9135877874822</td></tr> | ||
<tr><td>890</td><td>13</td><td>1336.646106872878</td></tr> | ||
<tr><td>899</td><td>6</td><td>616.9135877874822</td></tr> | ||
</table> | ||
</body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters