Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainDemImport

Editor only

Imports GeoTIFF DEMs into a tile store (editor only).

Declaration

UCLASS()
class UOrreryTerrainDemImport : public UBlueprintFunctionLibrary
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.
Derives from
UBlueprintFunctionLibrary
Blueprint
“Orrery Terrain Dem Import”, a Blueprint type

Description

Reads what the skeleton's "GeoTIFF v1" table accepts through the Tier-1 decoder (Native/GeoTiff.h, Native/TiffDecode.h) and refuses the rest with a message that names the fix. Placement follows the skeleton: UE X = E − E0 and UE Y = N0 − N, rows north to south along +Y, with (E0, N0) the north-west post unless the options set it. Heights are millimetres from integer decode, or llround of the double conversion for floats and scaled samples, then quantised by the builder exactly as the source assets are.

Memory: one band of decoded blocks per open file (at least 128 rows), the tiler's 128 rows, and the builder's pyramid. Determinism: the same files and options give the same store hash, with or without parallel decode.

Functions

  • ImportGeoTiffFilesstatic

    Import one GeoTIFF, or several on one grid, into a tile store.

  • ImportGeoTiffBlueprintstatic

    Python and Blueprint entry: ImportGeoTiffFiles with the default options and a decimation.

  • DescribeGeoTiffFileBlueprintstatic

    Parse a GeoTIFF without importing it: what v1 would read, or why it would refuse.

  • ZlibInflatestatic

    The zlib inflate the importer hands the Tier-1 decoder (thread-safe; any thread).

Blueprint