Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport 2023.02.xx - Fix #9685 measurements issues and added some enhancements to it (#9809) #9835

Merged
merged 6 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions web/client/actions/__tests__/geoProcessing-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import {
errorLoadingDFT, ERROR_LOADING_DFT,
getFeatures, GET_FEATURES,
initPlugin, INIT_PLUGIN,
increaseBufferedCounter, INCREASE_BUFFERED_COUNTER,
increaseIntersectedCounter, INCREASE_INTERSECT_COUNTER,
runningProcess, RUNNING_PROCESS,
runProcess, RUN_PROCESS,
setBufferDistance, SET_BUFFER_DISTANCE,
Expand Down Expand Up @@ -99,18 +97,6 @@ describe('Test Geo Processing Tools related actions', () => {
cfg
});
});
it('increaseBufferedCounter', () => {
const action = increaseBufferedCounter();
expect(action).toEqual({
type: INCREASE_BUFFERED_COUNTER
});
});
it('increaseIntersectedCounter', () => {
const action = increaseIntersectedCounter();
expect(action).toEqual({
type: INCREASE_INTERSECT_COUNTER
});
});
it('runningProcess', () => {
const status = true;
const action = runningProcess(status);
Expand Down
20 changes: 2 additions & 18 deletions web/client/actions/geoProcessing.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export const GPT_TOOL_INTERSECTION = "intersection";
export const GPT_CONTROL_NAME = "GeoProcessing";
export const GPT_SOURCE_HIGHLIGHT_ID = "gpt-layer";
export const GPT_INTERSECTION_HIGHLIGHT_ID = "gpt-layer-intersection";
export const GPT_INTERSECTION_GROUP_ID = "intersection.layer";
export const GPT_BUFFER_GROUP_ID = "buffered.layer";
export const GPT_INTERSECTION_GROUP_ID = "intersection_group";
export const GPT_BUFFER_GROUP_ID = "buffered_group";

export const CHECK_WPS_AVAILABILITY = "GPT:CHECK_WPS_AVAILABILITY";
export const CHECKING_WPS_AVAILABILITY = "GPT:CHECKING_WPS_AVAILABILITY";
Expand All @@ -21,8 +21,6 @@ export const CHECKED_WPS_AVAILABILITY = "GPT:CHECKED_WPS_AVAILABILITY";
export const GET_FEATURES = "GPT:GET_FEATURES";
export const ERROR_LOADING_DFT = "GPT:ERROR_LOADING_DFT";
export const INIT_PLUGIN = "GPT:INIT_PLUGIN";
export const INCREASE_BUFFERED_COUNTER = "GPT:INCREASE_BUFFERED_COUNTER";
export const INCREASE_INTERSECT_COUNTER = "GPT:INCREASE_INTERSECT_COUNTER";
export const RUNNING_PROCESS = "GPT:RUNNING_PROCESS";
export const RESET = "GPT:RESET";
export const RUN_PROCESS = "GPT:RUN_PROCESS";
Expand Down Expand Up @@ -115,20 +113,6 @@ export const initPlugin = (cfg) => ({
type: INIT_PLUGIN,
cfg
});
/**
* action for triggering the increase of the number of buffered layers
* @memberof actions.geoProcessing
*/
export const increaseBufferedCounter = () => ({
type: INCREASE_BUFFERED_COUNTER
});
/**
* action for triggering the increase of the number of intersected layers
* @memberof actions.geoProcessing
*/
export const increaseIntersectedCounter = () => ({
type: INCREASE_INTERSECT_COUNTER
});
/**
* action that clears current status
* @memberof actions.geoProcessing
Expand Down
Loading
Loading