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

HGT file to BGL

Messages
42
Hello,
How does one convert SRTM data, for example from here: http://viewfinderpanoramas.org/dem3.html#nam, into elevation BGL files with resample.
I tried the following inf file, and although I get a result, it is just a horizontal green line.

Does my inf file look correct?

Code:
[Source]
Type = Raw
Layer = Elevation
SourceDir = "I:\Ortho4XP_FSX_P3D\Elevation_data\+20-080"
SourceFile = "N20W077.hgt"
ULXMAP = -77.0
ULYMAP = 20.0
XDIM = 0.000833333333333333
YDIM = 0.000833333333333333
BandLayout = BIL
ByteOrder = Motorola
nCols = 1201
nRows = 1201
SampleType = SINT16
NULL = -32768

[Destination]
DestDir = "I:\Ortho4XP_FSX_P3D\Orthophotos\+20-080\+20-077\BI_18"
DestBaseFileName = "elevation"
NorthLat = 21.00
WestLon = -77.0
SouthLat = 20.0
EastLon = -76.0
LOD = 6,9
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,932
Country
us-wisconsin
This works for me:

Code:
[Source]
Type = Raw
Layer = Elevation
SourceDir = "."
SourceFile = "N20W077.hgt"
ULXMAP = -77.0
ULYMAP = 21.0
XDIM = 0.000833333333333333
YDIM = 0.000833333333333333
PixelIsPoint = 1
BandLayout = BIL
ByteOrder = Motorola
nCols = 1201
nRows = 1201
SampleType = SINT16
NULL = -32768

[Destination]
DestDir = "."
DestBaseFileName = "elevation"
NorthLat = 21.00
WestLon = -77.0
SouthLat = 20.0
EastLon = -76.0
LOD = 6,9

ULYMAP = 21.0
 
Messages
42
Makes sense, thanks!
Question - am I correct in saying that if I drop the produced bgl into the scenery folder of an addon scenery, the sim will load in the elevation data for that area?
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,932
Country
us-wisconsin
Yes. Active folder. But LOD 9 isn't more detailed then the defaults of P3d. The sims use the highest LOD, if I'm not mistaken. Most newer elevation bgls are using 30 meter data. The viewfinder panoramas are 90 meter data. And the earth has already been done at 30 meters in both freeware and payware.
 
Top