- Messages
- 34,347
- Country

Hi all,
I'm having a small issue with resample. I am trying to compile a photo scenery that has a blendmask as well. So I use the INF file below. But when I set the NullValue so that a zero in the blend mask is considered to be NULL, I do get black output in the area that should be masked (see the screenshot below). What am I doing wrong here?
I'm having a small issue with resample. I am trying to compile a photo scenery that has a blendmask as well. So I use the INF file below. But when I set the NullValue so that a zero in the blend mask is considered to be NULL, I do get black output in the area that should be masked (see the screenshot below). What am I doing wrong here?
Code:
[Source]
Type = MultiSource
NumberOfSources = 2
[Source1]
Type = GeoTIFF
SourceDir = "."
SourceFile = "img_0.tif"
Layer = Imagery
Variation = Day
Channel_BlendMask = 2.0
NullValue = ,,,,0
[Source2]
Type = GeoTIFF
SourceDir = "."
SourceFile = "bmask_0.tif"
Layer = None
SamplingMethod = Gaussian
nBands = 1
SampleType = UINT8
[Destination]
DestDir = "C:\dev\astofra_vearth\Tests\data\scenProc\out"
DestBaseFileName = "resample_simple_mask"
DestFileType = BGL
LOD = Auto
CompressionQuality = 85


