Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · struct

FOrbdaleDemImportOptions

Editor only

Settings of one DEM import: the heightmap import's (mip depth, memory budget, compression) and the DEM's own.

Declaration

struct FOrbdaleDemImportOptions : public FOrbdaleHeightmapImportOptions
Header
#include "OrbdaleTerrainDemImport.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.

Description

FOrbdaleHeightmapImportOptions::SidecarPath is not read: a GeoTIFF carries its placement.

Properties

NameTypeDefaultMeaning
Decimateint321

Keep every Nth post in X and Y (point sampling, as the mips do); the cell becomes the pixel size times this.

1..1024.

bSetGeoOriginboolfalse

Take (GeoOriginEasting_m, GeoOriginNorthing_m) as the CRS position of world (0, 0); otherwise the north-west post is.

GeoOriginEasting_mdouble0.0

Metres in the file's CRS.

GeoOriginNorthing_mdouble0.0

Metres in the file's CRS.

Cell_mdouble0.0

Post spacing, metres, before decimation.

Required for a file without placement; for a placed file 0 or its pixel size (another value is refused, never resampled).

Origin_mFVector2DFVector2D::ZeroVector

World position of the north-west post of a file without placement, metres.

Ignored for placed files.

LinearUnit_mdouble0.0

Metres per CRS unit for a file without ProjLinearUnits (3076); 0 keeps the metre the reader assumed.

bOverrideNodataboolfalse

Replace the files' nodata (GDAL_NODATA) with Nodata, compared with the raw sample before any scale.

NaN is allowed.

Nodatadouble0.0—
MaxNodataFractiondouble0.05

Refuse the import when more than this fraction of the decimated posts has no data.

bParallelDecodebooltrue

Decode a band's blocks with ParallelFor; false decodes on the calling thread (the result is the same).