Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix raster style restore when setDataSource
- Loading branch information
Showing
9 changed files
with
974 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
0.00000055284657534 | ||
0 | ||
0 | ||
-0.00000055284657534 | ||
2.8182844964232876 | ||
41.98181469976164948 |
Binary file not shown.
36 changes: 36 additions & 0 deletions
36
tests/testdata/projects/bad_layer_raster_test.tiff.aux.xml
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,36 @@ | ||
<PAMDataset> | ||
<PAMRasterBand band="1"> | ||
<Histograms> | ||
<HistItem> | ||
<HistMin>-0.498046875</HistMin> | ||
<HistMax>255.498046875</HistMax> | ||
<BucketCount>256</BucketCount> | ||
<IncludeOutOfRange>0</IncludeOutOfRange> | ||
<Approximate>0</Approximate> | ||
<HistCounts>13|18|50|12|7|13|16|15|14|20|6|13|13|8|9|58|31|15|21|16|15|25|51|20|19|22|16|47|30|20|29|32|22|38|24|32|32|39|35|47|70|68|52|35|121|46|42|60|53|37|39|44|49|83|52|63|54|67|77|73|61|72|56|76|63|73|72|76|99|69|93|90|80|85|92|110|100|106|112|109|100|99|92|113|137|151|136|129|182|156|152|146|126|147|162|163|195|157|145|202|219|164|180|175|213|187|206|193|195|214|211|208|192|211|191|925|454|420|397|455|428|333|414|313|402|378|392|418|364|400|427|420|453|444|477|403|447|513|438|537|510|527|530|544|570|546|619|530|595|651|597|660|738|714|668|876|828|20253|2012|1713|1589|1342|1401|1213|1242|1274|1335|1360|1307|1406|1363|1342|3316|1661|1674|1552|1719|1705|1667|1638|1449|1642|1468|1484|1550|1517|1605|1545|1617|1599|1683|2325|2934|3369|3918|4835|5909|7068|7857|148605|9058|10029|10103|9572|9936|10530|10904|11245|10726|10940|10999|11303|11583|12851|13863|15968|20827|1929455|12350|9950|9683|9843|10560|14977|666396|5951|5178|4871|4578|4364|4380|4142|4039|3754|3589|4403|3554|3073|2813|2513|2423|2209|2196|2167|2204|2215|2434|115706|1815|1722|1771|1920|2175|2521|3127|120133</HistCounts> | ||
</HistItem> | ||
</Histograms> | ||
<Metadata> | ||
<MDI key="STATISTICS_MAXIMUM">255</MDI> | ||
<MDI key="STATISTICS_MEAN">217.8975575084</MDI> | ||
<MDI key="STATISTICS_MINIMUM">0</MDI> | ||
<MDI key="STATISTICS_STDDEV">16.402309158646</MDI> | ||
</Metadata> | ||
</PAMRasterBand> | ||
<PAMRasterBand band="2"> | ||
<Metadata> | ||
<MDI key="STATISTICS_MAXIMUM">255</MDI> | ||
<MDI key="STATISTICS_MEAN">211.56457158206</MDI> | ||
<MDI key="STATISTICS_MINIMUM">0</MDI> | ||
<MDI key="STATISTICS_STDDEV">19.453039894122</MDI> | ||
</Metadata> | ||
</PAMRasterBand> | ||
<PAMRasterBand band="3"> | ||
<Metadata> | ||
<MDI key="STATISTICS_MAXIMUM">255</MDI> | ||
<MDI key="STATISTICS_MEAN">203.74267168054</MDI> | ||
<MDI key="STATISTICS_MINIMUM">8</MDI> | ||
<MDI key="STATISTICS_STDDEV">21.479123268522</MDI> | ||
</Metadata> | ||
</PAMRasterBand> | ||
</PAMDataset> |
Binary file not shown.
Oops, something went wrong.