使用产品:iserver 8c 810 操作系统:win7 x64
数据类型:文件型
问题详细描述:使用绘图功能画出图形,对图形进行三维缓冲区分析执行出错
问题重现步骤:
1.构建参数
var handlerBufferPolygon = new Cesium.DrawHandler(viewer,
Cesium.DrawMode.Polygon);
handlerBufferPolygon.drawEvt.addEventListener(function(result) {
tooltip.setVisible(false);
handlerBufferPolygon.polygon.show = false;
handlerBufferPolygon.polyline.show = false;
var geometry = CesiumToSuperMap.convertPolygon(Cesium,
SuperMap, result.object);
var param = {
url : dzc_service.serverurlsys,
dataSetNames: "AttachData:Underside",// {String}
// 要用来做缓冲区分析的数据源中数据集的名称。该名称用形如”数据集名称@数据源别名”形式来表示。
distance : 100,// {Number} 以数值作为缓冲区分析的距离值。默认为100,单位:米。
geo : geometry,
callback : bufferAnalystCompleted
}
bufferByGeo(param);
});
handlerBufferPolygon.activate();
2.执行方法
function bufferByGeo(param){
var bufferDis = new SuperMap.REST.BufferDistance({value: param.distance});
var bufferParam, bufferByGeometryParameters, bufferService;
bufferByGeometryParameters = new SuperMap.REST.GetFeaturesByBufferParameters({
dataSetNames: "AttachData:Underside",
bufferDistance:100,
toIndex:-1,
geometry: param.geo
});
bufferService = new SuperMap.REST.GetFeaturesByBufferService(param.url,{
eventListeners: {
"processCompleted":function(queryEventArgs){
if(typeof(param.callback)==="function"){
param.callback(queryEventArgs);
}
},
"processFailed":_functionFailed
}});
bufferService.processAsync(bufferByGeometryParameters);
}
3.报错
VM932:1 GET http://localhost:8090/iserver/services/spatialAnalysis-BallScene/restjsr/spatialanalyst/featureResults.jsonp?returnContent=true&_method=POST&requestEntity=。。。。 net::ERR_ABORTED