-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add another bunch of tests for rasters
- Loading branch information
Médéric RIBREUX
committed
Jun 26, 2016
1 parent
2a98098
commit a1c541e
Showing
37 changed files
with
1,185 additions
and
101 deletions.
There are no files selected for viewing
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
Binary file not shown.
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/custom/grass7/points2.prj
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 @@ | ||
PROJCS["RGF93_Lambert_93",GEOGCS["GCS_RGF93",DATUM["D_RGF_1993",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["standard_parallel_1",49],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",46.5],PARAMETER["central_meridian",3],PARAMETER["false_easting",700000],PARAMETER["false_northing",6600000],UNIT["Meter",1]] |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/custom/grass7/points2.qpj
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 @@ | ||
PROJCS["RGF93 / Lambert-93",GEOGCS["RGF93",DATUM["Reseau_Geodesique_Francais_1993",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6171"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4171"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",49],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",46.5],PARAMETER["central_meridian",3],PARAMETER["false_easting",700000],PARAMETER["false_northing",6600000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","2154"]] |
Binary file not shown.
Binary file not shown.
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
2 changes: 2 additions & 0 deletions
2
python/plugins/processing/tests/testdata/custom/grass7/rliconfig
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,2 @@ | ||
SAMPLINGFRAME 0|0|1|1 | ||
SAMPLEAREA 0.0|0.0|1.0|1.0 |
3 changes: 3 additions & 0 deletions
3
python/plugins/processing/tests/testdata/custom/grass7/rliconfigmoving
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,3 @@ | ||
SAMPLINGFRAME 0.1223021582733813|0.14678899082568808|0.26605504587155965|0.39568345323741005 | ||
SAMPLEAREA -1|-1|0.09174311926605505|0.07194244604316546 | ||
MOVINGWINDOW |
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/tests/testdata/custom/grass7/weighted.csv
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,4 @@ | ||
1,2,0.65 | ||
3,4,0.32 | ||
5,6,0.54 | ||
|
5 changes: 5 additions & 0 deletions
5
python/plugins/processing/tests/testdata/expected/grass7/r.category.out.txt
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,5 @@ | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
35 changes: 35 additions & 0 deletions
35
python/plugins/processing/tests/testdata/expected/grass7/r.coin.txt
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,35 @@ | ||
|
||
+------------------------------------------------------------------------------+ | ||
| COINCIDENCE TABULATION REPORT | | ||
|------------------------------------------------------------------------------| | ||
| Location: temp_location Mapset: PERMANENT Date: Sun Jun 26 11:43:50 | | ||
| | | ||
| Layer 1: tmp146693422996-- | | ||
| Layer 2: tmp146693422996-- | | ||
| Mask: Aucun | | ||
| | | ||
| Units: percent cover | | ||
|------------------------------------------------------------------------------| | ||
| Window: North: 6693700 | | ||
| West: 344500 East: 358400 | | ||
| South: 6682800 | | ||
+------------------------------------------------------------------------------+ | ||
|
||
Panel #1 of 1 | ||
+--------------------------------------------------------------------------------+ +-----------------------+ | ||
| | tmp14669342299627 | Panel Row Total | | Table Row Total | | ||
| cat# | 1 | 2 | 3 | 4 | w cat 0 | w/o cat 0 | | w cat 0 | w/o cat 0 | | ||
|--------------------------------------------------------------------------------| |-----------------------| | ||
|t 1 | 0.29 | 1.55 | 5.10 | 6.14 | 13.08 | 13.08 | | 13.08 | 13.08 | | ||
|m 2 | 0.12 | 0.69 | 2.36 | 2.81 | 5.98 | 5.98 | | 5.98 | 5.98 | | ||
|p 3 | 0.28 | 1.39 | 5.50 | 6.59 | 13.75 | 13.75 | | 13.75 | 13.75 | | ||
|1 4 | 0.36 | 2.20 | 8.22 | 8.86 | 19.64 | 19.64 | | 19.64 | 19.64 | | ||
|4 5 | 0.30 | 1.35 | 5.04 | 6.14 | 12.83 | 12.83 | | 12.83 | 12.83 | | ||
|6 6 | 0.61 | 3.89 | 12.91 | 15.31 | 32.73 | 32.73 | | 32.73 | 32.73 | | ||
|--------------------------------------------------------------------------------| |-----------------------| | ||
|Total | | | | | | | | | | | ||
|with 0 | 1.96 | 11.08 | 39.13 | 45.85 | 98.02 | 98.02 | | 98.02 | 98.02 | | ||
|--------------------------------------------------------------------------------| |-----------------------| | ||
|w/o 0 | 1.96 | 11.08 | 39.13 | 45.85 | 98.02 | 98.02 | | 98.02 | 98.02 | | ||
+--------------------------------------------------------------------------------+ +-----------------------+ | ||
|
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/tests/testdata/expected/grass7/r.colors.out.txt
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,4 @@ | ||
-303 0:0:0 | ||
14847 255:255:255 | ||
nv 255:255:255 | ||
default 255:255:255 |
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/tests/testdata/expected/grass7/r.covar.txt
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,4 @@ | ||
N = 14743 | ||
3.032568 0.048485 -0.000132 | ||
0.048485 2.232202 -0.013692 | ||
-0.000132 -0.013692 0.561513 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.describe.txt
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 @@ | ||
0 1-6 |
4 changes: 4 additions & 0 deletions
4
python/plugins/processing/tests/testdata/expected/grass7/r.distance.txt
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,4 @@ | ||
1:1:0:344550:6693650:344550:6693650 | ||
2:1:100:355550:6693650:355550:6693550 | ||
3:1:100:352750:6693650:352650:6693650 | ||
4:1:100:344650:6693650:344550:6693650 |
29 changes: 29 additions & 0 deletions
29
python/plugins/processing/tests/testdata/expected/grass7/r.info.txt
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 @@ | ||
+----------------------------------------------------------------------------+ | ||
| Map: tmp14669386814521 Date: Sun Jun 26 12:58:01 2016 | | ||
| Mapset: PERMANENT Login of Creator: medspx | | ||
| Location: temp_location | | ||
| DataBase: /tmp/processingd1287b3c04994d8a8ed29b67a67c13bb/grassdata | | ||
| Title: ( tmp14669386814521 ) | | ||
| Timestamp: none | | ||
|----------------------------------------------------------------------------| | ||
| | | ||
| Type of Map: raster Number of Categories: 0 | | ||
| Data Type: FCELL | | ||
| Rows: 109 | | ||
| Columns: 139 | | ||
| Total Cells: 15151 | | ||
| Projection: unnamed | | ||
| N: 6693700 S: 6682800 Res: 100 | | ||
| E: 358400 W: 344500 Res: 100 | | ||
| Range of data: min = -303 max = 14847 | | ||
| | | ||
| Data Description: | | ||
| gnr par r.external | | ||
| | | ||
| Comments: | | ||
| r.external --overwrite -o input="/home/medspx/projects/QGIS/code/pyt\ | | ||
| hon/plugins/processing/tests/testdata/custom/grass7/float_raster.tif\ | | ||
| " output="tmp14669386814521" band=1 | | ||
| | | ||
+----------------------------------------------------------------------------+ | ||
|
59 changes: 59 additions & 0 deletions
59
python/plugins/processing/tests/testdata/expected/grass7/r.kappa.txt
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,59 @@ | ||
ACCURACY ASSESSMENT | ||
LOCATION: temp_location Sun Jun 26 12:49:27 2016 | ||
MASK: none | ||
MAPS: MAP1 = (untitled) (tmp14669381667410 in PERMANENT) | ||
MAP2 = (untitled) (tmp1466938166749 in PERMANENT) | ||
|
||
Error Matrix | ||
Panel #1 of 2 | ||
MAP1 | ||
cat# 1 2 3 4 5 | ||
M 1 44 18 42 55 45 | ||
A 2 0 0 0 0 0 | ||
P 3 0 0 0 0 0 | ||
2 4 0 0 0 0 0 | ||
5 0 0 0 0 0 | ||
6 0 0 0 0 0 | ||
Col Sum 44 18 42 55 45 | ||
|
||
Panel #2 of 2 | ||
MAP1 | ||
cat# 6 Row Sum | ||
M 1 93 297 | ||
A 2 0 0 | ||
P 3 0 0 | ||
2 4 0 0 | ||
5 0 0 | ||
6 0 0 | ||
Col Sum 93 297 | ||
|
||
|
||
Cats % Commission % Ommission Estimated Kappa | ||
1 85.185185 0.000000 0.000000 | ||
2 NA NA NA | ||
3 NA NA NA | ||
4 NA NA NA | ||
5 NA NA NA | ||
6 NA NA NA | ||
|
||
Kappa Kappa Variance | ||
0.000000 0.005729 | ||
|
||
Obs Correct Total Obs % Observed Correct | ||
44 297 14.814815 | ||
|
||
MAP1 Category Description | ||
1: (no description) | ||
2: (no description) | ||
3: (no description) | ||
4: (no description) | ||
5: (no description) | ||
6: (no description) | ||
|
||
MAP2 Category Description | ||
1: (no description) | ||
2: (no description) | ||
3: (no description) | ||
4: (no description) | ||
5: (no description) | ||
6: (no description) |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.cwed.ascii.txt
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 @@ | ||
RESULT 1|1484.18 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.dominance.ascii.txt
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 @@ | ||
RESULT 1|0.121643391969718 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.edgedensity.ascii.txt
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 @@ | ||
RESULT 1|24.86 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.mpa.ascii.txt
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 @@ | ||
RESULT 1|4.13433333333333 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.mps.ascii.txt
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 @@ | ||
RESULT 1|1.6642627316099 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.padcv.ascii.txt
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 @@ | ||
RESULT 1|102.492806034809 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.padrange.ascii.txt
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 @@ | ||
RESULT 1|36 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.padsd.ascii.txt
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 @@ | ||
RESULT 1|1.70574957341855 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.patchdensity.ascii.txt
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 @@ | ||
RESULT 1|60.0866666666667 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.patchnum.ascii.txt
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 @@ | ||
RESULT 1|9013 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.pielou.ascii.txt
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 @@ | ||
RESULT 1|0.932109530291962 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.renyi.ascii.txt
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 @@ | ||
RESULT 1|1.47108219688802 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.richness.ascii.txt
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 @@ | ||
RESULT 1|6 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.shannon.ascii.txt
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 @@ | ||
RESULT 1|1.67011607725834 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.shape.ascii.txt
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 @@ | ||
RESULT 1|97.1875880278272 |
1 change: 1 addition & 0 deletions
1
python/plugins/processing/tests/testdata/expected/grass7/r.li.simpson.ascii.txt
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 @@ | ||
RESULT 1|0.790194657777778 |
Oops, something went wrong.