写法如下,基本是按照范例写的。
var bufferServiceByDatasets = new SuperMap.REST.BufferAnalystService(sintoonUx.fxUrl);
var bufferDistance = new SuperMap.REST.BufferDistance({
value: 10
});
var bufferSetting = new SuperMap.REST.BufferSetting({
endType: SuperMap.REST.BufferEndType.FLAT,
leftDistance: bufferDistance,
rightDistance: bufferDistance,
radiusUnit: SuperMap.REST.Unit.METER,
semicircleLineSegment: 10,
});
var filterParameter = new SuperMap.REST.FilterParameter({
attributeFilter: "XM0101='20221421082003'"
});
var dsBufferAnalystParameters = new SuperMap.REST.DatasetBufferAnalystParameters({
dataset: "GHXML_SDBK@mapdata",
filterQueryParameter: filterParameter,
bufferSetting: bufferSetting
});
bufferServiceByDatasets.events.on({
"processCompleted": sintoonUx.bufferAnalystCompleted,
"processFailed": sintoonUx.sqlProcessFailed,
});
bufferServiceByDatasets.processAsync(dsBufferAnalystParameters);
查看日志的错误信息如下:
08-Oct-2022 17:34:40.493 严重 [http-nio-8090-exec-2] org.glassfish.jersey.server.ServerRuntime$Responder.process Error occurred when processing a response created from an already mapped exception.
请问是啥原因?