52North / IlwisCore

Integrated Land and Water Information System (ILWIS) is a remote sensing and GIS software. ILWIS Core is the functional center of ilwis4..
http://52north.org/communities/ilwis/
34 stars 13 forks source link

Raster Coverage Calculation with different Georefs fails #55

Open johko opened 10 years ago

johko commented 10 years ago

The calculation with two raster coverages of a similar area but with different georefs fails under the circumstance that the coverage on the rightside of the calculation has been modified before using it in a calculation with a coverage on the left side.

E.g.: rastercoverage1 + rastercoverage2 / 3 will fail (some script error), it will also fail if you switch the rastercoverages(rastercoverage2 + rastercoverage1 / 3) but e.g. rastercoverage1 / 3 + rastercoverage2 works just fine.

The error only happens if you multiply or divide the raster coverage on the right side with a numeric value, not if you add or substract it