dave hoeffgen
Resource contributor
- Messages
- 1,439
- Country

Hi there,
I tried to convert a 32 bit geotiff containing grayscale LandClass information.
I tried directing the ChannelValue to the red channel.
Here is my full code:
The rest of the code is copied from the sdk examples with tweaked paths and names.
However after reading out the text from the INF file resample gets stuck. No crash, no error message, it just doesn't continue.
Does anybody know what I did wrong?
Thanks in advance,
Dave
I tried to convert a 32 bit geotiff containing grayscale LandClass information.
I tried directing the ChannelValue to the red channel.
Here is my full code:
Code:
[Source]
Type = GeoTIFF
SourceDir = "imagery"
SourceFile = "mask.tif"
Layer = LandClass
Channel_Value = 1.0
SamplingMethod = Majority
MajorityMode = Weighted
[Destination]
DestDir = "[...]\Scenery"
DestBaseFileName = "[...]"
DestFileType = BGL
UseSourceDimensions = 1
However after reading out the text from the INF file resample gets stuck. No crash, no error message, it just doesn't continue.
Does anybody know what I did wrong?
Thanks in advance,
Dave

