Divooka Reference

Real Terrain

1 node

On this page 1

Fetch Real Terrain (USGS 3DEP)

Function

A square of real terrain from USGS 3DEP, in metres, at the finest resolution 3DEP has there - a metre a cell where there is lidar - or at a cell size chosen. Downloads are kept, so the same square is fetched once; it needs the internet the first time.

Signature
FetchRealTerrain -> Scalar Field
    latitude: Number
    longitude: Number
    extentMetres: Number
    cellSizeMetres: Number
ScalarField2D FetchRealTerrain(
    double latitude = 37.17,
    double longitude = -109.927,
    double extentMetres = 3000,
    double cellSizeMetres = 0)

Parameters

nametypedefaultdescription
latitudeNumber37.17The square's centre, degrees north.
longitudeNumber-109.927The square's centre, degrees east (negative in the Americas).
extentMetresNumber3000The square's side, ground metres.
cellSizeMetresNumber0Ground metres per cell; 0 takes the finest 3DEP has there.

Returns

HeightmapScalar Field

Remarks

3DEP covers the United States and its territories. Some places to try: the Goosenecks of the San Juan, Utah (37.170, -109.927); Horseshoe Bend, Arizona (36.879, -111.510); the Maroon Bells, Colorado (39.071, -106.941); White Sands, New Mexico (32.810, -106.270); the Badlands, South Dakota (43.870, -102.235). A 3 km square at a metre a cell is about 40 MB to download.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Real Terrain
Package
Procedural Generation