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.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799435
I am still at the step I quoted above for the Blend Mask, and when I enter the things you say, the point still does not appear in the far upper left corner as you said it was supposed to.
Where did you find out the numbers that I should put in the "X/Easting/Lon" and "X/Northing/Lat" fields? Maybe I incorrectly specified some information that you used to calculate these numbers. Can you please tell me how/where you found the information for the "X/Easting/Lon" and "X/Northing/Lat" fields, so that I may confirm that I correctly specified the information you used to calculate those numbers?
Thanks.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799352
Hi Caleb:
Before we Geo-rectify your files in Global Mapper, we need to know Pixel Row and Column 'size' for each of these images:
* "X10_blendmask_gimp.tif"
* "X10_watermask.tif"
Also, please clarify whether the above images were created from copies of your original DG_Satellite_1.tif GeoTIFF image.
If so, please clarify whether the above images have not yet been 're-sized' by any graphics application, or or 're-projected' by any GIS application such as Global Mapper or QGIS etc ...after they were created as copies of your original DG_Satellite_1.tif.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799353
The Water Mask and Blend Mask have not been 're-sized' by any graphics application, or or 're-projected' by any GIS application such as Global Mapper or QGIS etc.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799368
This is the info from the "Image > Image Size" window in Photoshop. Is this what you need?
Watermask:
View attachment 41954
Blendmask:
View attachment 41955
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799384
Example Global Mapper workflow to Geo-rectify the Blend Mask for your aerial imagery:
NOTE: This is intended to match your Blend Mask image Geo-rectification 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.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799220
Here is the metadata:
Code:FILENAME=C:\Users\Caleb\Documents\CB Simulations\Scenery\X10\Photoreal\Purchace\DG_Satellite_1.tif DESCRIPTION=DG_Satellite_1.tif UPPER LEFT X=532999.623 UPPER LEFT Y=2956194.610 LOWER RIGHT X=536320.023 LOWER RIGHT Y=2950002.610 WEST LONGITUDE=80° 40' 6.0787" W NORTH LATITUDE=26° 43' 35.6746" N EAST LONGITUDE=80° 38' 5.3075" W SOUTH LATITUDE=26° 40' 14.1167" N PROJ_DESC=UTM Zone 17 / WGS84 / meters PROJ_DATUM=WGS84 PROJ_UNITS=meters EPSG_CODE=32617 COVERED AREA=20.56 sq km NUM COLUMNS=11068 NUM ROWS=20640 NUM_BANDS=3 PIXEL WIDTH=0.3 meters PIXEL HEIGHT=0.3 meters BIT_DEPTH=24 PHOTOMETRIC=RGB Full-Color BIT_DEPTH=24 ROWS_PER_STRIP=1 COMPRESSION=None ORIENTATION=row 0 top, col 0 lhs PIXEL_SCALE=( 0.3, 0.3, 1 ) TIEPOINTS=( 0.00, 0.00, 0.00 ) --> ( 532999.623, 2956194.610, 0.000 ) MODEL_TYPE=Projection Coordinate System RASTER_TYPE=Pixel is Area
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799396
I'm actually not sure if my Water Mask is a 8-Bit gray-scale TIF file, but the current size (before being Geo-rectified / re-projected) is 871 MB.





https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799492
Thanks for the replies @GaryGB.
So from what I understand, the "UPPER LEFT X" and the "UPPER LEFT Y" entries in the metadata of the original imagery tif file before it was re-projected in Global Mapper are the values that I must put in the "X/Easting/Lon" and "X/Northing/Lat" fields in the "Image Rectifier [Automatic] (X10_blendmask_gimp.tif)" dialog in Global Mapper when Geo-Rectifying the Watermask and Blendmask to be compiled with the FSX SDK resample along with the imagery TIF file that was re-projected in Global Mapper. Is this correct?
The numeric (NOT Geographic) values used for Geo-rectification of your Mask images in the original Universal Transverse Mercator (aka "UTM"), Zone 17 (Northern Hemisphere) / Pixel Units = Meters GIS cartographic projection are "Cartesian" coordinates.
These "UPPER LEFT and LOWER RIGHT" X-Y Cartesian coordinate pairs are intended to match your Blend and Water Mask image Geo-rectification 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.
These "UPPER LEFT and LOWER RIGHT" X-Y Cartesian coordinate pairs are used, since it is 'apparent' from your stated Pixel Row and Column sizes above, those Mask images are derived from same-size copies of your original DG_Satellite_1.tif ...before it was re-projected for use with SDK Resample.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799220
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799492
I have just verified that the "UPPER LEFT X" and the "UPPER LEFT Y" entries in the metadata of the original imagery tif file before it was re-projected in Global Mapper are the same numbers that I am using in the "X/Easting/Lon" and "X/Northing/Lat" fields in the "Image Rectifier [Automatic] (X10_blendmask_gimp.tif)" dialog in Global Mapper when Geo-Rectifying the Watermask and Blendmask. So, I am wondering why the cross hairs in the "Image Rectifier [Automatic] (X10_blendmask_gimp.tif)" dialog in Global Mapper are not in the upper right and lower left corners after entering that data!?!? This seems very mysterious, and I am thankful for your help in this matter. Very thankful.I am not sure how to express my appreciation enough.
![]()

1.) Edit > Color Settings > No Dithering for Images (8 bit)
2.) Edit > Color Settings > No Dithering for Images (8 bit)
3.) Image > Mode > 8 Bits/Channel

PMed you a zip file containing the watermasks and blendmasks (I'm pretty sure they are not in grayscale)Hi Caleb:
I am still traveling with only an I-Pad, so if you PM a link to both the Blend Mask and Water Mask in Zip files, I can inspect them in Corel PhotoPaint and/or GIMP, and reply tomorrow (Sunday) with any advisement that IMHO, might merit your consideration. ;-)
I do not use Photoshop, and Adobe is attempting to support several different applications all at the same time in the same web page document, usually without individual version number specificity, so even an actual user of Photoshop (and paying customer of Adobe) is forced to make "educated guesses". :-Q
Thus, one is ultimately at the mercy of Google, and I can only provide leads in a cold case of "who killed proper tech support for Photoshop".
But I did see a Photoshop discussion that mentioned the above cited no-dithering option needs to be accessed via an advanced options menu somewhere under color settings; hopefully that might help as you explore the menu system.
< On the road again >
GaryGB

Ok, thanks much. As I said, no rush.Hi Caleb:
I will download the Mask files after I have access to a "real" computer tonight, and I will reply tomorrow. ;-)
GaryGB





Ok, thanks much.Hi Caleb:
I have opened the Mask files, and I see that they are indeed 24-Bit RGB TIF files with no LZW compression.
Today I will compose a work-flow for you to process these files in Photoshop and/or Global Mapper ...for optimal use with SDK Resample.
NOTE: I discovered yet another 'copy-and-paste' error in my editing of the Geo-rectification UTM numeric coordinates posted above.
My apologies for any confusion this may have caused during the learning process involving this somewhat arcane technical information.
I have corrected this info: Mask images now load with the cross-hairs Top-Left (NW) and Lower-Right (SE); see the EDITED posts above.
Blend Mask: https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799384
Water Mask: https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799385
NOTE: I also changed a 'Point' label from Bottom-Right (SE corner) pixel to the more well-known Lower-Right (SE corner) pixel label.
I shall post an update later this afternoon.
GaryGB





)


What did you do in Global Mapper to output the masks as GeoTIFFs? Was it the procedures described in posts #48 and #49 in this thread? If so, how did you get the crosshairs to show up in the upper left and lower right corners of the display in the "Image Rectifier [Automatic] (X10_watermask.tif)" dialog (step 4) as I was not able to do?24-Bit, 15 CM aerial imagery and 8-Bit Masks do work with SDK Resample when the Masks are output by Global Mapper as GeoTIFFs:
Set the INF parameter values to Type=TIFF and not Type=GeoTIFF for the mask source entries even after the masks have been geo rectified in Global Mapper as GeoTIFFs? That doesn't make much sense to me so I though I would confirm....however the Mask *.INF parameter values must be Type=TIFF and not Type=GeoTIFF.
https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799712
Thank you very much GaryGB.
What did you do in Global Mapper to output the masks as GeoTIFFs?
Was it the procedures described in posts #48 and #49 in this thread?

https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799712
If so, how did you get the cross-hairs to show up in the upper left and lower right corners of the display in the "Image Rectifier [Automatic] (X10_watermask.tif)" dialog (step 4) as I was not able to do?

https://www.fsdeveloper.com/forum/threads/resmaple-exe-not-compiling.442820/post-799712
Set the INF parameter values to Type=TIFF and not Type=GeoTIFF for the mask source entries even after the masks have been Geo-rectified in Global Mapper as GeoTIFFs? That doesn't make much sense to me so I thought I would confirm.
FSX_SDK said:https://msdn.microsoft.com/en-us/library/cc707102.aspx#SourceParameters
"Channel_BlendMask integer.integer Source number and band number used for the blend channel.
This 8-bit blend mask channel for aerial imagery controls the transparency of the image when pasted onto the terrain. As an example this is used around the edges of the St. Maarten island image to blend gradually between the aerial photo water and the generic water.
The blending channel is read from the 4th (zero-based) band of TIFF or GeoTIFF images, unless this parameter is used to change it."

The UTM projection was assigned by using steps 1 - 3 in posts #48 and #49 and steps 4-8 were not used to assign UTM projection, correct?After UTM projection was assigned in Posts #48 / #49, source files were then re-projected to Geographic projection in Global Mapper.