Terrain Processor: Heightmap: ASCII DEM Convert: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{TerrainProcessorManual|= |Heightmap: Create from Geodetic .asc|= |BITasksPlugin.dll|= |None|= |Yes|= |DESCRIPTION=Algorithm creates UTM ASCII heightmap from geodetic .ASC di...")
 
m (Text replacement - "[[Image:" to "[[File:")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TerrainProcessorManual|=
{{TerrainProcessorManual
|Heightmap: Create from Geodetic .asc|=
|Heightmap: Create from Geodetic .asc|task=
|BITasksPlugin.dll|=
|BITasksPlugin.dll|dll=
|None|=
|None|geometry=
|Yes|=
|Yes|heightMap=
|DESCRIPTION=Algorithm creates UTM ASCII heightmap from geodetic .ASC digital elevation models.
|DESCRIPTION=Algorithm creates UTM ASCII heightmap from geodetic .ASC digital elevation models.


[[Image:TerrainProcessor_Heightmaps.png]]
[[File:TerrainProcessor_Heightmaps.png]]
* <span style="color: rgb(255,153,0);"><strong>Orange</strong></span> &nbsp;- regular <strong>geodetic</strong> heightmap
* <span style="color: rgb(255,153,0);"><strong>Orange</strong></span> &nbsp;- regular <strong>geodetic</strong> heightmap
* <span style="color: rgb(0,0,255);"><strong>Blue</strong></span> - new terrain <strong>UTM</strong> heightmap
* <span style="color: rgb(0,0,255);"><strong>Blue</strong></span> - new terrain <strong>UTM</strong> heightmap
Line 18: Line 18:
|ALGORITHM=# Load geodetic ASCII DEM.
|ALGORITHM=# Load geodetic ASCII DEM.
# Prepare heightmap with size and position in UTM.
# Prepare heightmap with size and position in UTM.
# Foreach cell in heightmap:
# For each cell in heightmap:
## Get its UTM coordinate  
## Get its UTM coordinate  
## Convert UTM coordinate to geodetic coordinate.
## Convert UTM coordinate to geodetic coordinate.
## Get height from geodetic ASCII heightmap with bicubic spline function.
## Get height from geodetic ASCII heightmap with bi-cubic spline function.
}}
}}
[[Category:Terrain Processor Manual|Heightmap]]

Latest revision as of 23:11, 20 November 2023

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.