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

Mesh gaps, how to fix?

Messages
22
Country
finland
Hi,

I created mesh from .asc files with resolution 2m. Used for this Global Mapper and followed instructions which I find in wiki. My sources files have UTM projection, Zone +35 and datum GRS80 ellipsoid. When I run Butch convert/reproject I did exactly same steps as in instruction on wiki with additional step, I changed projection to WGS84. Got geotiff files, which looks good (without gaps) in QGIS. After resepling I got .bgl file with my mesh. When resemple create bgl it show error for every files "unknown field with tag 42113 (0xa481) encountered", but any way created bgl. When I loaded this bgl to TmfViewer it looks with gaps between images. Same effect in FSX big holes and walls along holes. How to fix it?
 

Attachments

  • Mesh_gaps.jpg
    Mesh_gaps.jpg
    131 KB · Views: 509
Last edited:
Messages
604
Country
ca-britishcolumbia
When you loaded the source files into Global Mapper was there complete data (no white sections) for the entire rectangular export area?
 
Messages
22
Country
finland
Yes, data from source files are fully copmlete. I found that gaps come after reprojection. So it is reprojection problem, which I dont know how to fix.
Here part of inf file
[Source8]
Type = GeoTIFF
Layer = Elevation
SourceDir = "SourceData"
SourceFile = "R4234H.tif"
NullValue = 0
 

Attachments

  • asc.jpg
    asc.jpg
    122.6 KB · Views: 381
  • tiff.jpg
    tiff.jpg
    284.1 KB · Views: 500
Messages
22
Country
finland
When I made reprojection of topographic map of this area to generate vegetation autogen, I got same gaps. But gaps not made any effects on autogen. Reprojection add black edges to the pictures and these black edges make effect when I build mesh. Im a newbie on work with GIS data, may be is there method to reproject files without black edges?
 

Attachments

  • topographical.jpg
    topographical.jpg
    391.2 KB · Views: 512
Messages
173
Country
unitedstates
The number zero (0) may be a valid number within the source. Or at least it was before you told Resample to ignore it.

You might use this line, set at 0 or -1 to exclude out the areas that contain no data after reprojection;

MinValidValue=

If you go back into TMFviewer and position on the magenta/purple-ish are(s) you will get a reading for the invalid data, such as -32767. Resample constructs the file from left to right, top to bottom and the magenta area are being written over the prior areas valid data. If you get a reading from TMFviewer such as the above, that could then be placed into the NullValue line.
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,932
Country
us-wisconsin
I assume you are using Global Mapper. I would load all the original mesh first, then export as a BIL file, or perhaps a geotiff. Unload all, then load the exported elevation, and reproject, then export again. No gaps.

Dick
 
Messages
604
Country
ca-britishcolumbia
I actually don't use NullValue or MinValidValue (in some areas the mesh has to go below sea level). What I do is make sure that I export a rectangular section from Global Mapper that contains only valid data. This might require me to split a dem file into 2 or 3 chunks within Global Mapper, but whether you send a larger or smaller number of tiffs to Resample doesn't result in a bgl that is any different in size.
 
Messages
22
Country
finland
The number zero (0) may be a valid number within the source. Or at least it was before you told Resample to ignore it.

You might use this line, set at 0 or -1 to exclude out the areas that contain no data after reprojection;

MinValidValue=

If you go back into TMFviewer and position on the magenta/purple-ish are(s) you will get a reading for the invalid data, such as -32767. Resample constructs the file from left to right, top to bottom and the magenta area are being written over the prior areas valid data. If you get a reading from TMFviewer such as the above, that could then be placed into the NullValue line.
Thank you, it works! Now no gaps!
But I meet other problem. Inland lakes now above ground.
 

Attachments

  • fsx 2015-04-01 03-48-01-99.jpg
    fsx 2015-04-01 03-48-01-99.jpg
    458.7 KB · Views: 517
Messages
604
Country
ca-britishcolumbia
Inland lakes now above ground.

Lakes and rivers above ground are a by-product of enhanced mesh, as are airport plateaus. The solution is to exclude the old lakes and rivers and create new vector polygons for them (with the corrected elevation data) using Global Mapper and SBuilderX.
 
Messages
22
Country
finland
Lakes and rivers above ground are a by-product of enhanced mesh, as are airport plateaus. The solution is to exclude the old lakes and rivers and create new vector polygons for them (with the corrected elevation data) using Global Mapper and SBuilderX.
Thank you!
 
Top