• 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 Resample.exe Not Compiling

I am curious if you tried using GIMP's option to change the work-space "Image Mode" to Gray-scale prior to Export of your Masks ? :scratchch
No, I did not do this, but I will keep it in mind (along with checking "Save color values from transparent pixels") for future exports though.
 
Hi @GaryGB,
I was going to geo-rectify my watermask, and I find that my demo of Global Mapper has expired. I do not want to spend the $500 on Global Mapper (at the moment), so do you know of any cheaper (or free) applications that can do all the things mentioned in this thread? If not that's ok, I can create a new account and request a new demo for Global Mapper, I just thought I'd check.
Thanks.
 
Hi Caleb:

I have not studied QGIS in any detail, although I know it would be able to perform the Geo-rectification and many other GIS functions.

But regardless, I believe it would be best for you to initially to use Global Mapper, if you can get another demo option. ;)

GaryGB
 
Hi Caleb:

I have not studied QGIS in any detail, although I know it would be able to perform the Geo-rectification and many other GIS functions.

But regardless, I believe it would be best for you to initially to use Global Mapper, if you can get another demo option. ;)

GaryGB
Ok, I'll try to get another demo.
Like I said, for now, I cannot afford Global Mapper. The demo will get me to where I need to be until I can afford it. :)
 
Indeed; as you learn more about what USA aerial imagery is free, you can save up for purchase of Global Mapper and other programs. ;)

GaryGB
 
Hi Caleb:

Although only a TIFF file can be a "GeoTIFF which stores its Geo-referencing inside a special area of the file (and 2 other accompanying files), other imagery may be Geo-referenced by use of 1 or more accompanying files (1 of which is typically referred to as a "world" file).

So, yes ...a BMP may be Geo-referenced. :pushpin:

Note that this is what SBuilderX does with imagery that does not exceed the working set limitations of SBuilderX and SDK Resample.

When imagery file size exceeds the working set limitations of SBuilderX and SDK Resample, one may work around that limit by segmenting source files into smaller pieces and using a multi-source INF file and/or creating separate BGLs under 2 GB in size. :idea:

GaryGB
 
Last edited:
Ok, thanks. I will get a new trial of Global Mapper and geo-rectify my bmp watermasks and blendmasks with the steps you outlined in posts #48 and #49 in this thread. I will post further if I need any more help.
Thanks.
 
Hi Caleb:

Feel free to let me know when you have been granted a new trial period for Global Mapper. :)


FYI: To geo-rectify your BMP Water and Blend Masks with the steps outlined in posts #48 and #49 in this thread, the BMP imagery size in Pixel Row and Column totals, as well as the Pixel size in factional Meters (UTM projection) must be identical to that of the 'native' Geo-rectification assigned to your original "DG_Satellite_1.tif" GeoTIFF "DAY" image file when it was first opened in Global Mapper. :alert:

This is easily achieved when a copy of your original "DG_Satellite_1.tif" GeoTIFF is opened in ex: GIMP and used as a background image; the BMP Water and Blend Masks can then be created via the GIMP 'New Layer' function (with a 'Transparency' Fill Type), so that the derived Mask sizes will be identical.

When the Masks are created and maintained in an identical GIS cartographic projection, image size, and Pixel size parameter values as your original "DG_Satellite_1.tif", all of your imagery source files will have the same identical Geo-rectification parameter values (aka identical "Calibration" in SBuilderX terminology).


BTW: If by any chance your Masks were created by a different method and do not have the same identical GIS cartographic projection, image size, and Pixel size parameter values as your original "DG_Satellite_1.tif", it may be necessary to modify the attributes for those Mask images separately before they are used as source files in a *.INF file submitted to SDK Resample along with your other Day / Night / Season imagery.

If you are hesitant to go through the effort to create the Masks again as "New Layers" derived from your original "DG_Satellite_1.tif" background image, there is a way to re-scale the vertical height of your Mask images in either a graphics application, or in Global Mapper.

However, that may need to be done in a 'non-warped' UTM Zone-17 GIS cartographic projection to properly re-size the Mask pixels, prior to proceeding with the re-projection to Geographic GIS cartographic projection for use as source files in a *.INF file submitted to SDK Resample.

So I shall recommend a review of your proposed course of action here, once you have been granted a new trial period for Global Mapper, as that might save you significant time and effort with learning the production process. ;)

GaryGB
 
Last edited:
FYI: To geo-rectify your BMP Water and Blend Masks with the steps outlined in posts #48 and #49 in this thread, the BMP imagery size in Pixel Row and Column totals, as well as the Pixel size in factional Meters (UTM projection) must be identical to that of the 'native' Geo-rectification assigned to your original "DG_Satellite_1.tif" GeoTIFF "DAY" image file when it was first opened in Global Mapper. :alert:
I am pretty sure the Pixel Row and Column totals, as well as the Pixel size of the 'native' Geo-rectification assigned to your original "DG_Satellite_1.tif" GeoTIFF "DAY" image file when it was first opened in Global Mapper are in post #20 in this thread... Where (what step of posts #48 and #49 in this thread) must I input this info into Global Mapper during the geo-rectification process of my BMP masks?
This is easily achieved when a copy of your original "DG_Satellite_1.tif" GeoTIFF is opened in ex: GIMP and used as a background image; the BMP Water and Blend Masks can then be created via the GIMP 'New Layer' function
I am pretty sure the above quoted method was how I created my watermasks and blendmasks.
So I shall recommend a review of your proposed course of action here, once you have been granted a new trial period for Global Mapper, as that might save you significant time and effort with learning the production process. ;)
By the above do you mean once I am finished getting a new trial of Global Mapper you will post a new step by step guide as to how to geo-rectify my BMP masks? Or do you mean something different?
Many thanks for the help. :)
Caleb

P.S. I have never had a 6-page 110 post long thread before! :rotfl:
 
If this thread continues to incur off-topic posts, it will get even longer; then we will have to request removal of off-topic posts ! :stirthepo

GaryGB
 
If this thread continues to incur off-topic posts, it will get even longer; then we will have to request removal of off-topic posts ! :stirthepo

GaryGB
Yes so let's stick to talking about sim development and Global Mapper not how long the thread is. :laughing:
I sent you a PM.
 
https://www.fsdeveloper.com/forum/threads/resample-exe-not-compiling.442820/post-800467

...do you mean once I am finished getting a new trial of Global Mapper you will post a new step by step guide as to how to geo-rectify my BMP masks? Or do you mean something different ?

The first thing I would plan to do when you notify me that you got your new trial of Global Mapper, is have you post a link to download a ZIP archive of the BMP Masks which you now propose to use with your original "DG_Satellite_1.tif" GeoTIFF "DAY" image file when it was first opened in Global Mapper. :pushpin:

Then I would be better able to advise you on the best course of action to take (and in which type of application: graphics, or GIS). ;)

GaryGB
 
Last edited:
Just to clarify I will be compiling my BMP masks with the imagery that was reprojected for use with SDK resample using the steps you posted in post #23 in this thread, not the original "DG_Satellite_1.tif".
 
That should also work OK if the BMP masks are derived directly from that GeoTIFF imagery which was reprojected for use with SDK resample ...so that they are in the same Geographic GIS cartographic projection as the aerial imagery GeoTIFF. :scratchch

GaryGB
 
FYI: My masks were drawn on a new layer using the original TIFF but will be compiled with the reprojected TIFF.
 
Is the aerial imagery TIFF re-projected to Geographic too "warped" to use when creating the Masks ? :scratchch

I recommend NOT attempting to separately re-project Masks; they should be derived directly from the background aerial imagery, and then the same Geo-referencing info for the background aerial imagery is used as the Geo-referencing info for the Masks. :alert:

[EDITED]

If the aerial imagery TIFF already re-projected to Geographic is NOT too "warped" to use when creating the Masks, then one should derive the Masks from that same GeoTIFF background image.

That way they will already be aligned to the re-projected aerial imagery and properly sized, so they can use the same Geo-referencing as the
background aerial imagery TIFF (...which is already re-projected to Geographic). ;)

[END_EDIT]

GaryGB
 
Last edited:
Back
Top