iServer填挖方接口

0 投票
基于iServer产品进行挖填方计算

1、结果中的“挖掘面积”、“填充面积”是指红线范围投影到平面的面积,还是贴地面的面积?

目前遇到的问题:“挖掘面积”+“填充面积”之和  远远大于 红线范围面积

2、挖填方是需要先进行栅格化后再进行计算,那么栅格化时,一个栅格的长宽是多少(接口没有提供控制参数)?

目前遇到的问题:挖填方体积和其它专业软件计算的体积误差比较大。
12月 15, 2020 分类:  121次浏览 | 用户: chelcf 才疏学浅 (19 分)

1个回答

0 投票
你好,我这边测试了貌似是没有问题的,webgl做填挖方分析只能通过iserver发布数据服务,然后计算返回结果,你那边如果有问题的话麻烦粘一下有问题的图片,填挖方分析可以参考范例:http://support.supermap.com.cn/UploadFilesData/c5567066901844_SuperMap%20iClient3D%209D%20for%20WebGL%E5%A1%AB%E6%8C%96%E6%96%B9%E5%88%86%E6%9E%90.zip
12月 16, 2020 用户: 卷饼先生 名扬四海 (4,629 分)

你可以使用四个点高程一致(平面)和四个点高程不致(比较两个200、两个195)测试下,看返回的面积是不是一样的。也和桌面端对比下。
我这面测试出来的确有问题,两次返回的面积的确不一致,而且和桌面端返回结果也匹配不上。

  1. 测试数据

测试数据一:统一高度200

请求参数:

{"cutFillType":"REGION3D","resultDataset":"cutfill","buildPyramid":true,"deleteExistResultDataset":true,"region3D":{"id":0,"parts":[5],"type":"REGION3D","points":[{"x":106.72044084818776,"y":29.61513739050467,"z":200},{"x":106.72061539200561,"y":29.615107833458463,"z":200},{"x":106.72057789935158,"y":29.61494918518562,"z":200},{"x":106.72039525021209,"y":29.614967072977553,"z":200},{"x":106.72044084818776,"y":29.61513739050467,"z":200}]}}

返回参数:

{"fillArea":325.948528035376,"remainderArea":0,"succeed":true,"fillVolume":4096.8552933047295,"message":null,"dataset":"cutfill@地形1 - 副本","cutArea":0,"cutVolume":0}

测试数据二:斜面195-200

请求参数:

{"cutFillType":"REGION3D","resultDataset":"cutfill","buildPyramid":true,"deleteExistResultDataset":true,"region3D":{"id":0,"parts":[5],"type":"REGION3D","points":[{"x":106.72044084818776,"y":29.61513739050467,"z":195},{"x":106.72061539200561,"y":29.615107833458463,"z":195},{"x":106.72057789935158,"y":29.61494918518562,"z":200},{"x":106.72039525021209,"y":29.614967072977553,"z":200},{"x":106.72044084818776,"y":29.61513739050467,"z":195}]}}

返回参数:

{"fillArea":253.68310485179921,"remainderArea":0,"succeed":true,"fillVolume":2541.7695388922893,"message":null,"dataset":"cutfill@地形1 - 副本","cutArea":0,"cutVolume":0}

...