- Messages
- 558
- Country

Hi guys- Pasted below is my .inf file for a little project I'm working on. I'm fairly certain that this is the root of the problems because swapping images between the 'winter' and 'summer' variation always successfully produces the first aerial image but not the second.
This .inf file is supposed to create an aerial image with water and blend masks for all variations. There are 3 variations, 'Summer', 'Winter' (for the time being these are just a collection of month variations) and 'night'.
Here's what happens- Blend and water masks work fine on all images. Night map works fine. The first image [source1] works fine and shows up in tmfviewer. The second image [source5] shows up as completely red (except for blended and watermasked areas)
The puzzling thing is, if I swap the images so that the image that unsuccessfully converted is now first, that one works OK but the other doesn't (i.e. it isn't a problem with the image itself- It's something to do with the inf file?!)
Can someone cast some fresh eyes over it and suggest a solution?
Thanks in advance.
This .inf file is supposed to create an aerial image with water and blend masks for all variations. There are 3 variations, 'Summer', 'Winter' (for the time being these are just a collection of month variations) and 'night'.
Here's what happens- Blend and water masks work fine on all images. Night map works fine. The first image [source1] works fine and shows up in tmfviewer. The second image [source5] shows up as completely red (except for blended and watermasked areas)
The puzzling thing is, if I swap the images so that the image that unsuccessfully converted is now first, that one works OK but the other doesn't (i.e. it isn't a problem with the image itself- It's something to do with the inf file?!)
Can someone cast some fresh eyes over it and suggest a solution?
Thanks in advance.
Code:
[Source]
Type = MultiSource
NumberOfSources = 5
[Source1]
Type = TIFF
Layer = Imagery
SourceDir = "Source"
SourceFile = "Opotiki_Aerial_Winter.Tif"
Variation = January,February,March,April,May,December
ulxMap = 177.230402079499040
ulyMap =-37.982837829104163
xDim = 0.000012690004605
yDim = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0
[Source2]
Type = TIFF
Layer = Imagery
SourceDir = "Source"
SourceFile = "Opotiki_Aerial.tif"
Variation = June,July,August,September,October,November
ulxMap = 177.230402079499040
ulyMap =-37.982837829104163
xDim = 0.000012690004605
yDim = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0
[Source3]
Type = TIFF
Layer = None
SourceDir = "Source"
SourceFile = "Opotiki_WaterMask.tif"
ulxMap = 177.230402079499040
ulyMap = -37.982837829104163
xDim = 0.000012690004605
yDim = 0.000012689838452
SamplingMethod = Gaussian
[Source4]
Type = TIFF
Layer = None
SourceDir = "Source"
SourceFile = "Opotiki_blend.tif"
ulxMap = 177.230402079499040
ulyMap = -37.982837829104163
xDim = 0.000012690004605
yDim = 0.000012689838452
SamplingMethod = Gaussian
[Source5]
Type = TIFF
Layer = Imagery
SourceDir = "Source"
SourceFile = "Opotiki_Aerial_Night.tif"
Variation = Night
ulxMap = 177.230402079499040
ulyMap =-37.982837829104163
xDim = 0.000012690004605
yDim = 0.000012689838452
Channel_LandWaterMask = 3.0
Channel_Blendmask = 4.0
[Destination]
DestDir = "Output"
DestBaseFileName = "VLC_Opotiki_Imagery"
DestFileType = BGL
LOD = Auto
CompressionQuality = 85
Last edited: