Utils.CalculateRaster() doesn't accept only 1 input file

Description

I have a 5 band GeoTiff file.
I want to calculate NDVI. For this I have a formule using 2 bands of the same file.
Using only 1 input file in Utils.CalculateRaster() returns an At least 2 datasources expected.
This should not be mandatory since my formula is perfectly valid.

Activity

Show:
Paul Meems
June 6, 2017, 7:46 PM

Thanks to the fix made for the unit test no longer failes with two input files.

Paul Meems
January 12, 2017, 10:21 AM

I create unit test CalculateRaster() in D:\dev\MapwinGIS\unittests\MapWinGISTests\UtilTests.cs.
Using two input files results in a memory exception.

Assignee

Jerry Faust

Reporter

Paul Meems

Labels

Epic Link

None

Affects versions

Fix versions

Priority

Medium