Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · struct

FOrreryDemImportReport

Editor only

What a DEM import did, or why it refused.

Declaration

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

Description

Of the heightmap import's fields: Size is unused (see Width and Height), MetresPerUnit and ZOffset_m are the files' scale and offset in metres (1 and 0 without GDAL_METADATA), WorkingBytes is the estimate checked against MaxWorkingBytes.

Functions

  • ToString

    One line for logs and the Python result.

Properties

NameTypeDefaultMeaning
Filesint320—
Widthint640

Posts a row of the mosaic, before decimation.

Heightint640

Rows of the mosaic, before decimation.

Decimateint321—
CrsFString—

"EPSG:<code>", empty without GeoKeys.

VerticalCrsFString—

"EPSG:<code>", empty when the files do not say.

NorthWestE_mdouble0.0

CRS position of the north-west post, which is base post (0, 0) of tile (0, 0).

NorthWestN_mdouble0.0—
Origin_mFVector2DFVector2D::ZeroVector

World position of that post, metres.

DescriptionsTArray<FString>—

One line per file (DescribeGeoTiff).

Postsint640

Decimated posts read.

NodataPostsint640

Of those, posts without data (filled from their row, FRasterTiler).

NodataFractiondouble0.0—
OutOfRangeSamplesint640

Decoded samples that were infinite or beyond ±100 km (counted as nodata).

OverlapPostsint640

Mosaic posts filled again by a later file.

OverlapDifferencesint640

Of those, posts where the later file's height differs; the first file's is kept.

MaxOverlapDifferenceMmint320—
MinHeightMmint320

Over the decimated valid posts.

MaxHeightMmint320—
BlocksDecodedint640—
BytesReadint640

Compressed bytes read from the files.

PeakCacheBytesint640

The largest decoded band any one file held.

PeakMemoryDeltaBytesint640

Largest rise of the process's used physical memory during the import, sampled.

Secondsdouble0.0—