• 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.

Global Mapper Export Question

Hi Gary,

thanks for your patience with me here.

I get the inf file:

[Source]
Type=TIFF
Layer=Imagery
SourceDir="."
SourceFile="aalborg_large_A2.tif"
PixelIsPoint=0
ulxMap=545922
ulyMap=6333692
xDim=0.5
yDim=0.5
Variation=Day
[Destination]
DestDir="."
DestBaseFileName="aalborg_large_A2"
LOD=Auto

when I moved the generated inf file over the resample nothing happens.

The resample.exe is in the same folder as is the geotiff image and GeoTiffToInf tool.


I have a feeling its the imagery thats not right.

can I send you a small tile and see if it works at your end?
 
Hi Philip:

Feel free to post a link to a download site either in this thread, or via a private message (aka "PM") here at FS Developer, and I'd be glad to take a look at it. :)

FYI: Although I do not yet have P3Dv2.x SDK installed, I could test that same GeoTIFF source data tile with FSX SDK Resample. :idea:

GaryGB
 
OOPS ! :oops:

Hi Philip:

I just noticed the:

xDim=0.5
yDim=0.5


...parameter values in your INF file(s); IIUC, this is incorrect, as the SDK Resample documentation states:

xDim = "Size of each pixel in the X direction (Longitude) in degrees" (...and not pixels per unit of Metric length on ground)

https://msdn.microsoft.com/en-us/library/cc707102.aspx#SourceParameters


As advised in my post above:

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


In Global Mapper Menu > File > Export > Export Raster Image Format > ("Select >"GeoTIFF") > GeoTIFF Export Options dialog:

In "GeoTIFF Export Options" dialog > [GeoTIFF Options Tab]

IMHO, one should NOT "Specify Number of Rows and Columns"


Please re-export your GeoTIFF from Global Mapper, and re-test it without "Specify Number of Rows and Columns" filled in. :teacher:



PS: Remember this ? ;)

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


FYI: The effective resolution for the BGL output by MSFS / P3D SDK Resample may be configured within the INF file submitted along with the above aerial imagery GeoTIFF source file ...via a "LOD = Auto,16" parameter / value: :idea:

Code:
[Destination]
LOD = Auto,16

This will limit the above BGL resolution to a maximum of LOD-16 (0.6 Meters / 60 cm per pixel) ...when your aerial imagery is displayed in MSFS / P3D at run time.

So, AFAIK, you do not need to change the above referenced settings for your GeoTIFF. :pushpin:


Sorry I initially missed catching the above "XDim / YDim error"; hope this works for you ! :)

GaryGB
 
Last edited:
Gary,

thanks so much for spotting that!

how would you recommond that I cut the image up then from global mapper to keep the files under 2gb instead of one massive geotiff file?

OOPS ! :oops:

Hi Philip:

I just noticed the:

xDim=0.5
yDim=0.5


...parameter values in your INF file(s); IIUC, this is incorrect, as the SDK Resample documentation states:

xDim = "Size of each pixel in the X direction (Longitude) in degrees" (...and not pixels per unit of Metric length on ground)

https://msdn.microsoft.com/en-us/library/cc707102.aspx#SourceParameters


As advised in my post above:

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


In Global Mapper Menu > File > Export > Export Raster Image Format > ("Select >"GeoTIFF") > GeoTIFF Export Options dialog:

In "GeoTIFF Export Options" dialog > [GeoTIFF Options Tab]

IMHO, one should NOT "Specify Number of Rows and Columns"


Please re-export your GeoTIFF from Global Mapper, and re-test it without "Specify Number of Rows and Columns" filled in. :teacher:



PS: Remember this ? ;)



So, AFAIK, you do not need to change the above referenced settings for your GeoTIFF. :pushpin:


Sorry I initially missed catching the above "XDim / YDim error"; hope this works for you ! :)

GaryGB
 
I get this message now

as the file size is very large

again I can't thank you enough for all the help. hopefully I can be of use one day
 

Attachments

  • warning_msg.jpg
    warning_msg.jpg
    45.1 KB · Views: 929
Hi Philip:

Exactly how big is the Geo-TIFF after exported from the original ECW file that was opened and re-projected in Global Mapper ? :scratchch

GaryGB
 
I get this message now

warning_msg-jpg.23504


as the file size is very large

again I can't thank you enough for all the help. hopefully I can be of use one day

Hi Philip:

Based on that message, I must ask: exactly how big is the original ECW file that was opened and re-projected in Global Mapper ? :scratchch


I am not certain that "BigTIFF format" is compatible with MSFS / P3Dv2.x Resample. :alert:

Apparently based on that message, 'segmenting' or 'Tiling' one's GeoTIFF exports from Global Mapper are likely to be needed. :whiteflag


We must now < ...tomorrow ? :wave: > identify how to best set the 'Export GeoTIFF' configuration parameters for that "slicing" of tiles by Global Mapper in a way that is fully compatible with MSFS / P3Dv2.x Resample's requirements ...to output a BGL which also maximizes MSFS / P3D run time performance when displaying custom photo-real aerial imagery from multiple BGL files. :coffee:


PS: Regarding "BigTIFF format":

http://www.gdal.org/frmt_gtiff.html


GaryGB
 
Last edited:
sorry gary one thing about the xdim ydim, if that is indeed the sampling size how do I lower my exported resolution then from 10cm to 50cm?
 
the ECW is 32Gb so it has to be cut up as the geotif files will be even bigger I assume.
Indeed; that is a very large source data set ! :yikes:

Sorry Gary, one thing about the xdim ydim, if that is indeed the sampling size how do I lower my exported resolution then from 10cm to 50cm?

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


FYI: The effective resolution for the BGL output by MSFS / P3D SDK Resample may be configured within the INF file submitted along with the above aerial imagery GeoTIFF source file ...via a "LOD = Auto,16" parameter / value: :idea:

Code:
[Destination]
LOD = Auto,16

This will limit the above BGL resolution to a maximum of LOD-16 (0.6 Meters / 60 cm per pixel) ...when your aerial imagery is displayed in MSFS / P3D at run time.

So, AFAIK, you do not need to change the above referenced settings for your GeoTIFFs exported from Global Mapper

Output BGL file size will be smaller as SDK Resample is being told to not make tiles at resolutions higher than LOD-16. :pushpin:

Gary, sorry for taking up a lot of your time, hopefully tomorrow is a better day :)

No worries; this is an interesting topic which merits some exploration and creation of further new documentation for all of us in the FS Developer Community to refer to in the future. :cool:

GaryGB
 
Last edited:
Hi Philip:


Could you once again load up the original ECW file in Global Mapper, then "re-project " it as described in my post above:

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


Then, please post a copy of the "Metadata" from Global Mapper Layer Control Center for that re-projected ECW file (as in this post):

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715931)


I would prefer to review that info when considering options for use in Global Mapper to "slice" imagery tiles by export to GeoTIFF (and in a way that is fully compatible with MSFS / P3Dv2.x Resample's requirements ...to output a BGL file which also maximizes MSFS / P3D run time performance when displaying custom photo-real aerial imagery from multiple BGL files). :pushpin:


This process will require some special MSFS / P3D SDK Resample parameters to be used in a "multi-source" INF file. :idea:


See
: "Performance Tips for Aerial Imagery" at:

https://msdn.microsoft.com/en-us/library/Cc707102.aspx#PerformanceTipsforAerialImagery


Thanks in advance for your reply with that requested info. :)

GaryGB
 
Last edited:
Hi guys,

I recently downloaded the trial version of Global Mapper ...

Isn't this discussion rather academic given that the trial version of GM doesn't allow any file saving/exporting operations? Perhaps one of the freeware GIS alternatives would be better suited?

Cheers, Holger
 
Hi Holger:

I am unfamiliar with what the OP may- or may not- be able to do with his version of Global Mapper, as I have previously seen situations where prospective users were apparently granted limited duration use of all features in Global Mapper ...including, IIRC, file export.

Bearing that in mind, I would not otherwise have been compelled to inquire about the circumstances under which people may acquire and use any software ...when they are asking for help with a learning process here at FSDeveloper. :pushpin:


BTW: I now see that the OP has also posted an inquiry in the Global Mapper forum:

http://forum.globalmapperforum.com/...ersion-of-ecw-format-to-geotiff-for-flightsim


Certainly this discussion has been a good learning opportunity for the OP in establishing a development workflow with Global Mapper, and some of the insights gained in that program while working with the complexities that his project entails ...may be quite useful with 'other' GIS applications as well.


If there is a workflow which you might be able to suggest for the OP to use with his very large ECW file in another 'trial' or freeware GIS application, that may also help him with the next phase of his development process ...as discussed above in this thread thus far. :idea:

Any recommendations you might offer to the OP at this point ? :scratchch

Thanks ! :)

GaryGB



PS
: It was interesting to find this old GM Forum thread while researching answers to the OP's query: ;)

"You must be authorized to export unlimited-size ECW files from ERMapper/Leica/Intergraph (whoever owns that darn SDK now-a-days). If you are, you can add the following call to your application startup to enable exporting large ECW files:

GM_SetMiscOption( GM_MiscOpt_AllowUnlimitedECWExportSize, 1 );

Thanks,

Mike
Global Mapper Guru

gmsupport@bluemarblegeo.com
http://www.bluemarblegeo.com/

http://webcache.googleusercontent.com/search?q=cache:91a9Em6XwukJ:www.globalmapperforum.com/forums/sdk/9812-ecw-500mb-limit.html &cd=9&hl=en&ct=clnk&gl=us/search?q=cache:91a9Em6XwukJ:www.globalmapperforum.com/forums/sdk/9812-ecw-500mb-limit.html &cd=9&hl=en&ct=clnk&gl=us


IMHO, it's too bad that in other threads, 'Mike' seems to never provide details or examples of the "Gridding" process ...when exporting very large ECW files to smaller GeoTIFF files. :(
 
Last edited:
Hi Gary,

I will try again this afternoon and post some results and metadata.

FYI I did purchase a full license as it is a very useful tool and when I tried it with some USGS data and exported + remapled it, there was no problems.

I believe the ECW file is a lot more technical also due its size which requires it to be sliced.

regards
Philip

Hi Holger:

I am unfamiliar with what the OP may- or may not- be able to do with his version of Global Mapper, as I have previously seen situations where prospective users were apparently granted limited duration use of all features in Global Mapper ...including, IIRC, file export.

Bearing that in mind, I would not otherwise have been compelled to inquire about the circumstances under which people may acquire and use any software ...when they are asking for help with a learning process here at FSDeveloper. :pushpin:


BTW: I now see that the OP has also posted an inquiry in the Global Mapper forum:

http://forum.globalmapperforum.com/...ersion-of-ecw-format-to-geotiff-for-flightsim


Certainly this discussion has been a good learning opportunity for the OP in establishing a development workflow with Global Mapper, and some of the insights gained in that program while working with the complexities that his project entails ...may be quite useful with 'other' GIS applications as well.


If there is a workflow which you might be able to suggest for the OP to use with his very large ECW file in another 'trial' or freeware GIS application, that may also help him with the next phase of his development process ...as discussed above in this thread thus far. :idea:

Any recommendations you might offer to the OP at this point ? :scratchch

Thanks ! :)

GaryGB



PS
: It was interesting to find this old GM Forum thread while researching answers to the OP's query: ;)

"You must be authorized to export unlimited-size ECW files from ERMapper/Leica/Intergraph (whoever owns that darn SDK now-a-days). If you are, you can add the following call to your application startup to enable exporting large ECW files:

GM_SetMiscOption( GM_MiscOpt_AllowUnlimitedECWExportSize, 1 );

Thanks,

Mike
Global Mapper Guru

gmsupport@bluemarblegeo.com
http://www.bluemarblegeo.com/

http://webcache.googleusercontent.com/search?q=cache:91a9Em6XwukJ:www.globalmapperforum.com/forums/sdk/9812-ecw-500mb-limit.html &cd=9&hl=en&ct=clnk&gl=us/search?q=cache:91a9Em6XwukJ:www.globalmapperforum.com/forums/sdk/9812-ecw-500mb-limit.html &cd=9&hl=en&ct=clnk&gl=us


IMHO, it's too bad that in other threads, 'Mike' seems to never provide details or examples of the "Gridding" process ...when exporting very large ECW files to smaller GeoTIFF files. :(
 
Hi Gary

here it is

Meta Data

FILENAME=E:\aalborg sat\851_ECW_UTM32-EUREF89.ecw
DESCRIPTION=851_ECW_UTM32-EUREF89.ecw
UPPER LEFT X=522000.0000000000
UPPER LEFT Y=6344000.0000000000
LOWER RIGHT X=586000.0000000000
LOWER RIGHT Y=6296000.0000000000
WEST LONGITUDE=522000° 00' 00.0000" E
NORTH LATITUDE=6344000° 357913941' 20.0000" N
EAST LONGITUDE=586000° 00' 00.0000" E
SOUTH LATITUDE=6296000° 357913941' 20.0000" N
UL CORNER LONGITUDE=522000° 00' 00.0000" E
UL CORNER LATITUDE=6344000° 357913941' 20.0000" N
UR CORNER LONGITUDE=586000° 00' 00.0000" E
UR CORNER LATITUDE=6344000° 357913941' 20.0000" N
LR CORNER LONGITUDE=586000° 00' 00.0000" E
LR CORNER LATITUDE=6296000° 357913941' 20.0000" N
LL CORNER LONGITUDE=522000° 00' 00.0000" E
LL CORNER LATITUDE=6296000° 357913941' 20.0000" N
PROJ_DESC=Geographic (Latitude/Longitude) / WGS84 / arc degrees
PROJ_DATUM=WGS84
PROJ_UNITS=arc degrees
EPSG_CODE=EPSG:4326
NUM COLUMNS=640000
NUM ROWS=480000
NUM BANDS=3
COLOR BANDS=0,1,2
PIXEL WIDTH=0.1 arc degrees
PIXEL HEIGHT=0.1 arc degrees
BIT DEPTH=24
PROJ_NAME=LOCAL
DATUM_NAME=WGS84
TARGET_COMPRESSION=1:10


I have also attached an image of the whole imagery ecw file in Global Mapper.

the red box is all I want to really export. And that in itself when exported out as geotiff is about 3.5gb+ !!

cheers
Philip

P.S. I do agree that this will be very useful as more and more countries are starting to provide free imagery for commercial and private use.

ECW files are very effecient at compressing the size and loading time for other applications. but should be able to reprojected and saved as another file type.

Just for the FS application I am in fairly new territory and not sure what parameters need changing or adding.



Hi Philip:


Could you once again load up the original ECW file in Global Mapper, then "re-project " it as described in my post above:

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715864


Then, please post a copy of the "Metadata" from Global Mapper Layer Control Center for that re-projected ECW file (as in this post):

http://www.fsdeveloper.com/forum/threads/global-mapper-export-question.434552/#post-715931)


I would prefer to review that info when considering options for use in Global Mapper to "slice" imagery tiles by export to GeoTIFF (and in a way that is fully compatible with MSFS / P3Dv2.x Resample's requirements ...to output a BGL file which also maximizes MSFS / P3D run time performance when displaying custom photo-real aerial imagery from multiple BGL files). :pushpin:


This process will require some special MSFS / P3D SDK Resample parameters to be used in a "multi-source" INF file. :idea:


See
: "Performance Tips for Aerial Imagery" at:

https://msdn.microsoft.com/en-us/library/Cc707102.aspx#TheResampleTool


Thanks in advance for your reply with that requested info. :)

GaryGB
 

Attachments

  • whole_imagery.jpg
    whole_imagery.jpg
    702.7 KB · Views: 483
WEST LONGITUDE=522000° 00' 00.0000" E
NORTH LATITUDE=6344000° 357913941' 20.0000" N
EAST LONGITUDE=586000° 00' 00.0000" E
SOUTH LATITUDE=6296000° 357913941' 20.0000" N

These are impossible coordinates. Latitude has to be between between 90° 0' 0" N and 90° 0' 0" S. Longitude is between 180° 0' 0" W and 180° 0' 0" E

Something went wrong with the reprojection of the original data.

Dick
 
Hi Dick,

I literally re downloaded the zip file, extracted put it into global mapper

and applied these settings and I get the same results. Its come straight from a government website focusing purely on sat and aerial data.


Projection:

Geographic (Long/Lat)

Datum:

WGS84

Plannar units

ARC Degrees

Attribute

Central Longitude 0



These are impossible coordinates. Latitude has to be between between 90° 0' 0" N and 90° 0' 0" S. Longitude is between 180° 0' 0" W and 180° 0' 0" E

Something went wrong with the reprojection of the original data.

Dick
 
gentlemen, you will kill me :)

it was loading the data it was the incorrect Projection being loaded that caused all this!

thank you everyone especially Gary for all your patience and support!

I need to reduce the 10cm imagery to 50cm currently its all being displayed in arcs so I am going to have to figure this one out.
 
First shot out, at 1000ft

when I land the chopper alot of the detail of the 10cm imagery is lost. need to look at my P3D settings or whether its the inf file that needs tweaking.


first_shot.jpg
 
Back
Top