元編程參考文件

真實地形

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.

所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
真實地形
所屬包
程序化生成