openlayers对应的api如何合并线数据呢 叠加分析无法合并线数据 面数据可以呢 有其他方式合并线数据么,谢谢
let OverlayBatchAnalystParameters = new SuperMap.GeometryOverlayAnalystParameters({
sourceGeometry: poy.getGeometry(),
operateGeometry: f.getGeometry(),
operation: SuperMap.OverlayOperationType.UNION
});
new ol.supermap.SpatialAnalystService(_self.serviceUrl).overlayAnalysis(OverlayBatchAnalystParameters, function (serviceResult) {
let feature = (new ol.format.GeoJSON()).readFeature(serviceResult.result.resultGeometry)
});