1. ProfileAnalysis
剖面分析工具类(目前只支持地形剖面分析, 左键选点时保证所选点时的最后两个点都在视图范围内,结果更准确))。剖面表示表面高程沿某条线(截面)的变化,剖面分析可查看栅格表面沿指定线路的剖面,并得到剖面线和剖面采样点集合。研究某个截面的地形剖面,概括研究区域的地势、地质和水文特征,包括区域内的地貌形态、轮廓形状、绝对与相对高度、地质构造、斜坡特征、地表切割强度和侵蚀因素等,非常有利于修筑道路的难度评定或对沿指定路线铺设铁路线的可行性评估,也可作为计算土石方量的依据。
1.1. new ProfileAnalysis(geomap)
Param | Type | Description |
---|---|---|
geomap | GeoMap |
GeoMap的实例对象 |
Example
let profile = new BOSGeo.ProfileAnalysis(geomap);
1.2. 方法
1.2.1. profileAnalysis.start(splitNumber)
开始选点进行剖面分析
Param | Type | Default | Description |
---|---|---|---|
[splitNumber] | Number |
8 |
图表的横轴分段数(建议值,程序有会根据实际数据自动更改分段数,无法固定死) |
Example
let profile = new BOSGeo.ProfileAnalysis(geomap);
profile.start();
1.2.2. profileAnalysis.createChart(splitNumber)
创建显示地形剖面的表格
Param | Type | Default | Description |
---|---|---|---|
[splitNumber] | Number |
8 |
横轴的分段数(建议值,程序有可能根据实际数据自动更改分段数,无法固定死) |
Example
profile.createChart();
1.2.3. profileAnalysis.destroyChart()
销毁显示地形剖面的表格
Example
profile.destroyChart();
1.2.4. profileAnalysis.clear()
清除
Example
profile.clear();