MSFS

SDK

SDK

Fixing lake-elevation data with OSM and heightmaps

Prerequisites

For Norway: hoydedata.no with the following settings:

image-1598862848822.png

Preparations

Preparing project structure

image-1598863444031.png

image-1598863640204.png

image-1598864156433.png

image-1598864373219.png

Creating the scenery

Add and filter geodata

Preparing heightmaps
Automatic method

After you have imported and merged your heightmap, I have developed a method to do all the manual steps found below automatically using a QGIS Model.

First download this model file: https://docs.takset.net/attachments/4

To use it, open Processing > Graphical Modeler. Open image-1599688079685.png the file you downloaded. When it is open you can click the Runimage-1599688118546.png button. Select the merged heightmap and click Run again. It will run through all the steps for you. Unless you changed it's name in the parameters window (the window where you selected your heightmap), the layer to export (see Export scenery sources) will be called msfs-scenery.

Manual method

Preparing OSM water-polygons

image-1598865933522.png

raster_value('layername',1,make_point(x($geometry),y($geometry))) = 0