数据集查询的几何查询报错!
var url2 = "http://localhost:8090/iserver/services/data-wfs/rest/data";
function drawCompleted(drawGeometryArgs) {
var geometry = drawGeometryArgs.feature.geometry;
vectorLayer.removeAllFeatures();
var getFeaturesByGeometryParameters, getFeaturesByGeometryService;
getFeaturesByGeometryParameters = new SuperMap.REST.GetFeaturesByGeometryParameters(
{
datasetNames : [ "wenzhou1:wenzhou1_蓝线控制图",
"wenzhou1:wenzhou1_道路交通规划图_道路中心线",
"wenzhou1:wenzhou1_行政区_社区",
"wenzhou1:wenzhou1_规划用地总图_用地地块",
"wenzhou1:wenzhou1_黄线控制图_黄线面",
"wenzhou1:wenzhou1_紫线控制图",
"wenzhou1:wenzhou1_绿线控制图",
"wenzhou1:wenzhou1_地籍图",
"wenzhou1:wenzhou1_道路交通规划图_道路边线",
"wenzhou1:wenzhou1_管理单元_规划单元",
"wenzhou1:wenzhou1_选址红线图",
"wenzhou1:wenzhou1_公共配套设施图_公配面",
"wenzhou1:wenzhou1_管理单元_规划街坊"],
toIndex : -1,
spatialQueryMode : SuperMap.REST.SpatialQueryMode.INTERSECT,
geometry : geometry
});
getFeaturesByGeometryService = new SuperMap.REST.GetFeaturesByGeometryService(
url2, {
eventListeners : {
"processCompleted" : processCompleted,
"processFailed" : processFailed
}
});
getFeaturesByGeometryService
.processAsync(getFeaturesByGeometryParameters);
}
直接走processFailed方法,alert(e.error.errorMsg)弹出异常“调用WFS接口实现类的getFeature方法发生OGCException异常”,这是怎么回事?