• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX I got resample issues for help

Messages
12
Country
china
I tried to make photoscenery edge with geotiff,but the mask didn't work,and cmd showed this warning information:

Microsoft Corp. Terrain Resampler 10.0.61472.0 (fsx-sp2.20071210-2023)
? Microsoft Corporation. All rights reserved.

Resample Info File: 'E:\\PhotoSceneryMaker.inf'
[Source] Type = 'MultiSource'
[Source] NumberOfSources = 3
[Source1] Type = 'BMP'
[Source1] SourceDir = 'C:\Users\sceic\Desktop\PhotoScenery'
[Source1] SourceFile = '00001001.bmp'
[Source1] Layer = 'Imagery'
[Source1] SamplingMethod = 'Gaussian'
[Source1] Channel_LandWaterMask = '2.0'
[Source1] ULXMAP = 116.294444
[Source1] ULYMAP = 39.992500
[Source1] XDIM = 0.000018
[Source1] YDIM = 0.000014
[Source1] Variation = 'All'
[Source2] Type = 'TIFF'
[Source2] SourceDir = 'C:\Users\sceic\Desktop\PhotoScenery'
[Source2] SourceFile = 'BlendMask.tif'
[Source2] Layer = 'None'
[Source2] SamplingMethod = 'Gaussian'
[Source2] ULXMAP = 116.294444
[Source2] ULYMAP = 39.992500
[Source2] XDIM = 0.000018
[Source2] YDIM = 0.000014
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\BlendMask.tif: wrong data type 1 for "XMLPacket"; tag ignored.
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\BlendMask.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored.
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\BlendMask.tif: unknown field with tag 34665 (0x8769) encountered.

[Source3] Type = 'TIFF'
[Source3] SourceDir = 'C:\Users\sceic\Desktop\PhotoScenery'
[Source3] SourceFile = 'WaterLand_Mask.tif'
[Source3] Layer = 'None'
[Source3] SamplingMethod = 'Gaussian'
[Source3] ULXMAP = 116.294444
[Source3] ULYMAP = 39.992500
[Source3] XDIM = 0.000018
[Source3] YDIM = 0.000014
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\WaterLand_Mask.tif: wrong data type 1 for "XMLPacket"; tag ignored.
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\WaterLand_Mask.tif: wrong data type 7 for "RichTIFFIPTC"; tag ignored.
TIFFReadDirectory: Warning, C:\Users\sceic\Desktop\PhotoScenery\WaterLand_Mask.tif: unknown field with tag 34665 (0x8769) encountered.

[Destination] DestDir = 'E:\'
[Destination] DestBaseFileName = 'PEK_0115'
[Destination] LOD = 'Auto'
[Destination] UseSourceDimensions = 1
Cell 489 of 10464 (4.67%); 0:00:28 elapsed, 0:09:31 remaining...

my inf file is here,did i miss something?:eek:


Code:
[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "C:\Users\sceic\Desktop\PhotoScenery"
SourceFile = "00001001.bmp"
ULXMAP = 116.294444444443996600000000
ULYMAP = 39.992499999999999720000000
XDIM = 0.000018429247124401101370
YDIM = 0.000013618087316233600090
SamplingMethod=Gaussian
Channel_LandWaterMask = 2.0
Variation = All

[Source2]
Type = TIFF
Layer = None
SourceDir = "C:\Users\sceic\Desktop\PhotoScenery"
SourceFile = "BlendMask.tif"
ULXMAP = 116.294444444443996600000000
ULYMAP = 39.992499999999999720000000
XDIM = 0.000018429247124401101370
YDIM = 0.000013618087316233600090
SamplingMethod=Gaussian

[Source3]
Type = TIFF
Layer = None
SourceDir = "C:\Users\sceic\Desktop\PhotoScenery"
SourceFile = "WaterLand_Mask.tif"
ULXMAP = 116.294444444443996600000000
ULYMAP = 39.992499999999999720000000
XDIM = 0.000018429247124401101370
YDIM = 0.000013618087316233600090
SamplingMethod=Gaussian

[Destination]
DestDir = "E:\"
DestBaseFileName = "PEK_0115"
LOD = Auto
	UseSourceDimensions = 1
 
Last edited:
Your Tiff files are 8 bit grayscale?

You also don't have the water mask file listed in your [Source1] data.
 
It looks to me that your inf file is set to use a tiff file, but you are giving it a geotiff file and my guess is that resample doesn't like some of the tags in your geotiff. Can you convert your geotiffs to "plain" tiffs?

scott s.
.
 
Hi LCSims,confirmed Tiff files are 8 bit grayscale,even of i definition water mask file 3 in my [Source1] data,but result still like this.
 
It looks to me that your inf file is set to use a tiff file, but you are giving it a geotiff file and my guess is that resample doesn't like some of the tags in your geotiff. Can you convert your geotiffs to "plain" tiffs?

scott s.
.

hi scott s,i down't know “Can you convert your geotiffs to "plain" tiffs?”,is mean what?but the tif file create by Photoshop cs4,with 8bit grayscale,and save as to XXXX.tif fils。:confused:
 
Without seeing the files, it is difficult to guesstimate what the problem could be. I would suggest breaking it down into smaller steps and see if the error becomes more evident.

I would take the INF file and make it a single source with just the BMP file. Does it compile and look OK in TMFviewer? If yes, then I would add one of the two mask files and see if it compiles and looks OK in TMFviewer. I would do this seperately for each of the mask files. Somewhere in these three steps will be a better understanding of what is causing the failure to compile.
 
I created with single BMP to bgl,put into the FSX,are water float at the photoscenery,and it works correct?

At TMFviewer looks like fine.
 
"BlendMask.tif: wrong data type 1 for "XMLPacket"; tag ignored"

I always get this message and still have no clue what it means. And the thing is, my photoscenery is rendered perfectly anyway, so I have just started to plainly ignore that message.

I took a peek at your tif in Photoshop, and it is not different from mine.

Cheers,
:stirthepo
 
"BlendMask.tif: wrong data type 1 for "XMLPacket"; tag ignored"

I always get this message and still have no clue what it means. And the thing is, my photoscenery is rendered perfectly anyway, so I have just started to plainly ignore that message.

I took a peek at your tif in Photoshop, and it is not different from mine.

Cheers,
:stirthepo

thank u,as u said,i ignore that message and created .bgl file.Land mask is working!!!

thanks everyone helping me:p

2010-1-21_0-22-0-170.jpg
 
"BlendMask.tif: wrong data type 1 for "XMLPacket"; tag ignored"

I always get this message and still have no clue what it means. And the thing is, my photoscenery is rendered perfectly anyway, so I have just started to plainly ignore that message.

I took a peek at your tif in Photoshop, and it is not different from mine.

I'm not sure what is going on, but I looked at the linked blendmask tiff file using a freeware tool AsTiffTagViewer 2.00. Here are the tags it found in the file:

SubFileType (1 Long): Zero
ImageWidth (1 Short): 12240
ImageLength (1 Short): 12464
BitsPerSample (1 Short): 8
Compression (1 Short): Uncompressed
Photometric (1 Short): MinIsBlack
StripOffsets (1 Long): 22150
Orientation (1 Short): TopLeft
SamplesPerPixel (1 Short): 1
RowsPerStrip (1 Short): 12464
StripByteCounts (1 Long): 152559360
XResolution (1 Rational): 96
YResolution (1 Rational): 96
ResolutionUnit (1 Short): Inch
Software (28 ASCII): Adobe Photoshop CS4 Windows
DateTime (20 ASCII): 2010:01:20 18:23:52
700 (16423 Byte): 60, 63, 120, 112, 97, 99, 107, 101, 116, 32,...
Photoshop (4496 Byte): 56, 66, 73, 77, 4, 37, 0, 0, 0, 0, 0, 16, 0,...
34665 (1 Long): 152581512
ICCProfile (912 Undefined):

I'm guessing some of these tags are placed by Photoshop, and resample can't understand them. For example, the tag 34665 was one of the errors seen in the original post.

Just for kicks, I read the original tiff into GIMP and resaved it just to see what happens (my experience is GIMP doesn't save tags). I got this:

SubFileType (1 Long): Zero
ImageWidth (1 Short): 12240
ImageLength (1 Short): 12464
BitsPerSample (1 Short): 8
Compression (1 Short): Uncompressed
Photometric (1 Short): MinIsBlack
DocumentName (23 ASCII): F:\Flight Sim\test.tif
StripOffsets (195 Long): 8, 783368, 1566728, 2350088, 3133448,...
Orientation (1 Short): TopLeft
SamplesPerPixel (1 Short): 1
RowsPerStrip (1 Short): 64
StripByteCounts (195 Long): 783360, 783360, 783360, 783360, 783360,...
XResolution (1 Rational): 96
YResolution (1 Rational): 96
PlanarConfig (1 Short): Contig
ResolutionUnit (1 Short): Inch
ICCProfile (912 Undefined):

I've not had a problem with GIMP tiffs in resample, FWIW. But, I normally use GeoTiff from my GIS software (Global Mapper).

scott s.
.
 
I've not had a problem with GIMP tiffs in resample, FWIW. But, I normally use GeoTiff from my GIS software (Global Mapper).

scott s.
.

Scott,

As I see it, the "problem" tags are those starting with a number? I will try myself to open and re-save my blendmask from GIMP, but right now I don't want to install more stuff on my PC to test this. Thanks for the tip.

Cheers,
:stirthepo
 
Back
Top