Skip to content

Commit

Permalink
Fix geosolutions-it#10100 intersection advanced options (geosolutions…
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 authored Mar 25, 2024
1 parent 632688d commit 65bee08
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions web/client/epics/geoProcessing.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ import {
sourceFeatureSelector,
showHighlightLayersSelector,
wpsUrlSelector,
availableLayersSelector
availableLayersSelector,
firstAttributeToRetainSelector,
secondAttributeToRetainSelector,
intersectionModeSelector,
percentagesEnabledSelector,
areasEnabledSelector
} from '../selectors/geoProcessing';
import {groupsSelector} from '../selectors/layers';
import {additionalLayersSelector} from '../selectors/additionallayers';
Expand Down Expand Up @@ -744,6 +749,11 @@ export const runIntersectProcessGPTEpic = (action$, store) => action$
}));
return Rx.Observable.from(errorActions);
}
const firstAttributeToRetain = firstAttributeToRetainSelector(state);
const secondAttributeToRetain = secondAttributeToRetainSelector(state);
const intersectionMode = intersectionModeSelector(state);
const percentagesEnabled = percentagesEnabledSelector(state);
const areasEnabled = areasEnabledSelector(state);

const executeProcess$ = executeProcess(
layerUrl || intersectionLayerUrl,
Expand All @@ -755,7 +765,13 @@ export const runIntersectProcessGPTEpic = (action$, store) => action$
secondFC: {
type: "FeatureCollection",
features: [{type: "Feature", geometry: secondGeom}]
}
},
firstAttributeToRetain,
secondAttributeToRetain,
intersectionMode,
percentagesEnabled,
areasEnabled

}),
executeOptions,
{
Expand Down

0 comments on commit 65bee08

Please sign in to comment.