元编程参考文档

真实地形

1 个节点

本页内容 1

获取真实地形(USGS 3DEP)

函数

从美国地质调查局 3DEP 获取一块真实地形,以米为单位,取当地最精细的分辨率(有激光雷达处每像元一米)或指定的像元大小。下载会被保留,同一块地形只获取一次;第一次需要联网。

签名
获取真实地形(USGS 3DEP) -> Scalar Field
    纬度: 数字
    经度: 数字
    边长(米): 数字
    像元大小(米): 数字
ScalarField2D FetchRealTerrain(
    double latitude = 37.17,
    double longitude = -109.927,
    double extentMetres = 3000,
    double cellSizeMetres = 0)

参数

名称类型默认值说明
纬度数字37.17The square's centre, degrees north.
经度数字-109.927The square's centre, degrees east (negative in the Americas).
边长(米)数字3000The square's side, ground metres.
像元大小(米)数字0Ground metres per cell; 0 takes the finest 3DEP has there.

返回

高度图Scalar Field

备注

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.

所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
真实地形
所属包
程序化生成