Terrain Processor: Heightmap: ASCII DEM Convert

From Bohemia Interactive Community
Revision as of 23:11, 20 November 2023 by Lou Montana (talk | contribs) (Text replacement - "[[Image:" to "[[File:")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Task details

Task name : Heightmap: Create from Geodetic .asc

Dll plugin name : BITasksPlugin.dll

Geometry type : None

Heightmap : Yes

Description

Algorithm creates UTM ASCII heightmap from geodetic .ASC digital elevation models.

TerrainProcessor Heightmaps.png

  • Orange  - regular geodetic heightmap
  • Blue - new terrain UTM heightmap

Task parameters

  • Easting - UTM easting coordinate
  • Northing - UTM northing coordinate
  • Zone - UTM zone
  • Hemisphere - UTM hemisphere (Northern, Southern)
  • Rows & columns count - Rows and columns count
  • Cell size - Cell size in meters.


Usage

Conversion tool, creating UTM heightmap from Geodetic heightmap.

Algorithm

  1. Load geodetic ASCII DEM.
  2. Prepare heightmap with size and position in UTM.
  3. For each cell in heightmap:
    1. Get its UTM coordinate
    2. Convert UTM coordinate to geodetic coordinate.
    3. Get height from geodetic ASCII heightmap with bi-cubic spline function.