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

Discussion Thread about the wiki article "Create mesh using Global Mapper"

If the mesh differs greatly in resolution from the default mesh (like 1-2m resolution differs from SRTM), you will get large straight trenches at the edges of the higher resoluton mesh. If you have the source (or create a source by undersampling high res data) for the lower resolution mesh that extends outside the high res mesh, and If you draw an area around the perimeter of the high res mesh and feather inside that area at least the number of pixels that the high res mesh would use to create one or 2 low res mesh cells, then this blends out the differences.

The difference between Default and SRTM/Aster is not that great that you would notice, but when you get down to the difference between 5m or less and SRTM the fault line created can be significant and obvious.

Cheers

Braedon
 
Last edited:
Hi, so I'm trying to compile some mesh. I have all of my tif files in the same folder as my .inf and resample.exe (in the FSX SDK), but the command line window opens for a split second then closes. Any idea why this might be happening? Here's my inf:

[Source]
Type = MultiSource
NumberOfSources = 29

[Source1]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N37E124_dem_1.tif"

[Source2]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N37E125_dem_1.tif"

[Source3]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N38E124_dem_1.tif"

[Source4]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N38E125_dem_1.tif"

[Source5]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N38E126_dem_1.tif"

[Source6]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N38E127_dem_1.tif"

[Source7]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N38E128_dem_1.tif"

[Source8]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N39E124_dem_1.tif"

[Source9]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N39E125_dem_1.tif"

[Source10]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N39E126_dem_1.tif"

[Source11]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N39E127_dem_1.tif"

[Source12]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N39E128_dem_1.tif"

[Source13]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E124_dem_1.tif"

[Source14]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E125_dem_1.tif"

[Source15]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E126_dem_1.tif"

[Source16]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E127_dem_1.tif"

[Source17]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E128_dem_1.tif"

[Source18]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N40E129_dem_1.tif"

[Source19]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N41E125_dem_1.tif"

[Source20]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N41E126_dem_1.tif"

[Source21]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N41E127_dem_1.tif"

[Source22]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N41E128_dem_1.tif"

[Source23]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N41E129_dem_1.tif"

[Source24]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N42E127_dem_1.tif"

[Source25]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N42E128_dem_1.tif"

[Source26]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N42E129_dem_1.tif"

[Source27]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N42E130_dem_1.tif"

[Source28]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N43E129_dem_1.tif"

[Source29]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "ASTGTM2_N43E130_dem_1.tif"

[Destination]
DestDir = "Output"
DestBaseFileName = "Elevation_Data_NorthKorea"
DestFileType = BGL
LOD = 4,11
FractionBits = 2
 
Ok I forgot to put the tifs into a "SourceData" folder, but now I'm getting: "unknown field with tag 42113 (0xa481) encountered." when attempting to compile. This is all alien to me.
 
It's now doing this for all of the sources, but it isn't compiling?
error2.png
 
You could use the command line to redirect the output to a log file: "resample Mymesh.inf > C:\users\me\desktop\resample.log" where me is your computer name, and a log file should be created on the desktop. It can be read with a text editor. The warning is a common thing, and the BGL usually still compiles.
 
Hello!
I am completely new. The compilation of the bgl file does not work. As I read above, I placed typhoid files along the path: C: \ Program Files \ Lockheed Martin \ Prepar3D v4 SDK 4.5.12.30293 \ World \ Terrain \ Resample Examples \ SourceData
created inf file
[Source]
Type = MultiSource
NumberOfSources = 7

[Source1]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_bln300.tif"

[Source2]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_dsc300.tif"

[Source3]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_max300.tif"

[Source4]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_mea300.tif"

[Source5]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_med300.tif"

[Source6]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_min300.tif"

[Source7]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "70N090E_20101117_gmted_std300.tif"

[Destination]
DestDir = "Output"
DestBaseFileName = "Elevation_Data_Golom"
DestFileType = BGL
LOD = 4.11
FractionBits = 2
and nothing happens. A slight surge, apparently CMD
3 days I fight ... Teach, please!
Sincerely, Victor.
 
Hi Victor;

Your line that reads LOD = 4.11 should be LOD = 4,11
You must use a comma and not a period.
 
Hello All,
I hope you'll help me since I'm a newbie.
I followed the instructions https://www.fsdeveloper.com/wiki/index.php/Create_mesh_using_Global_Mapper and I was able to complete successfully my first job using EarthExplorer data.
Since I'm Italian, I would like to work on Italian Alps and I found promising data here http://tinitaly.pi.ingv.it/Download_Area2.html
By the way if you want to replicate my exercise the download is free-of-charge and it simply matter to click on the rectangle of the area you want.

I downloaded a dataset (see the GM screenshot here attached) and tried to replicate the process I already did.
I created the inf file accordingly (here attached; remove txt extension) but the resampler doesn't run.
Keep in mind that I created Output and SourceData folder within the SDK Terrain folder and I have the full access rights there.
Maybe is the different data format of the GeoTiff I downloaded.

Any help will be appreciated!
Thanks!
 

Attachments

  • ItalianAlps_Elevations.inf.TXT
    ItalianAlps_Elevations.inf.TXT
    4.1 KB · Views: 267
  • GM1.png
    GM1.png
    388.2 KB · Views: 220
  • GM2.png
    GM2.png
    308.2 KB · Views: 236
  • GM3.png
    GM3.png
    313.6 KB · Views: 210
  • GM4.png
    GM4.png
    169.3 KB · Views: 236
Hello:

The total size of the above linked source files at 10 Meters between elevation data points, would result in a working data set size and a LOD-12 / QMID-14 resolution BGL output size ...which is too large for SDK Resample to process. :alert:

You may wish to divide your source file working set size so that you instead output multiple BGLs with individual sizes of less than 2 GB each (without compression). :pushpin:


If you have further questions, it may be best to move this particular discussion into its own new thread within this sub-forum:


GaryGB
 
Last edited:
Back
Top