OSG加载DEM高程数据
生活随笔
收集整理的這篇文章主要介紹了
OSG加载DEM高程数据
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
本文采用編輯earth文件的方式加載DEM高程數據
test.earth文件描述
<map version="2"><image driver="xyz" enabled="true" name="gaode_sat-1" profile="global-mercator" url="http://webst0[1234].is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}" ><cache_policy min_time="0" usage="no_cache" /></image><!--加載高程--><elevation name="dem" driver="gdal"><url>taiwan.tif</url></elevation></map>保存后,打開CMD,輸入:
osgviewer test.earth
或者
osgearth_viewer test.earth
效果如圖所示,可以看到起伏的地形:?
下一章中,講述將DEM高程數據切割成TMS文件,并進行結果驗證。
總結
以上是生活随笔為你收集整理的OSG加载DEM高程数据的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 操作系统面试
- 下一篇: CAD怎么标注坐标?CAD坐标标注教程