- Messages
- 1,521
- Country
Need some help on what I am doing wrong. First let me say I've done the following:
1 source (DAY) resample = Looks correct for daytime
2 sources (DAY and NIGHT) resample = Looks correct for daytime and nighttime
3 sources (DAY, NIGHT and BLENDMASK) resample = Looks correct for daytime and nighttime
3 sources (DAY, NIGHT, and WATERMASK) resample = Looks correct for daytime and nighttime
4 sources (DAY, NIGHT, BLENDMASK and WATERMASK) resample = daytime correct but night texture becomes mis-aligned, stretched beyond proper coordinates.
Here's my test code:
[Source]
Type = MultiSource
NumberOfSources = 4
[Source1]
Type = TIFF
Layer = Imagery
SourceDir = "P:\1SourceData"
SourceFile = "DAY.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
NullValue = 0,0,0
Variation = Day
Channel_BlendMask = 3.0
Channel_LandWaterMask = 4.0
[Source2]
Type = TIFF
Layer = Imagery
SourceDir = "P:\1SourceData"
SourceFile = "night.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
NullValue = 0,0,0
Variation = Night
Channel_BlendMask = 3.0
Channel_LandWaterMask = 4.0
[Source3]
Type = TIFF
Layer = None
SourceDir = "P:\1SourceData"
SourceFile = "blendmask.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
SamplingMethod = Gaussian
NullValue = 255,255,255
[Source4]
Type = TIFF
Layer = None
SourceDir = "P:\1SourceData"
SourceFile = "watermask.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
SamplingMethod = Gaussian
NullValue = 255,255,255
[Destination]
DestDir = "P:\2Output"
DestBaseFileName = "4sourceTest"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
Can you regulars that use resample see any mistakes I have made?
1 source (DAY) resample = Looks correct for daytime
2 sources (DAY and NIGHT) resample = Looks correct for daytime and nighttime
3 sources (DAY, NIGHT and BLENDMASK) resample = Looks correct for daytime and nighttime
3 sources (DAY, NIGHT, and WATERMASK) resample = Looks correct for daytime and nighttime
4 sources (DAY, NIGHT, BLENDMASK and WATERMASK) resample = daytime correct but night texture becomes mis-aligned, stretched beyond proper coordinates.
Here's my test code:
[Source]
Type = MultiSource
NumberOfSources = 4
[Source1]
Type = TIFF
Layer = Imagery
SourceDir = "P:\1SourceData"
SourceFile = "DAY.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
NullValue = 0,0,0
Variation = Day
Channel_BlendMask = 3.0
Channel_LandWaterMask = 4.0
[Source2]
Type = TIFF
Layer = Imagery
SourceDir = "P:\1SourceData"
SourceFile = "night.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
NullValue = 0,0,0
Variation = Night
Channel_BlendMask = 3.0
Channel_LandWaterMask = 4.0
[Source3]
Type = TIFF
Layer = None
SourceDir = "P:\1SourceData"
SourceFile = "blendmask.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
SamplingMethod = Gaussian
NullValue = 255,255,255
[Source4]
Type = TIFF
Layer = None
SourceDir = "P:\1SourceData"
SourceFile = "watermask.tif"
ULXMAP = -106.692273290172
ULYMAP = 35.1287103258559
XDIM = 1.07846370904448E-05
YDIM = 9.16361764953634E-06
SamplingMethod = Gaussian
NullValue = 255,255,255
[Destination]
DestDir = "P:\2Output"
DestBaseFileName = "4sourceTest"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
Can you regulars that use resample see any mistakes I have made?