|
@@ -152,36 +152,36 @@ public class GisSurveySystemChecker {
|
|
|
|
|
|
//孤立点检查
|
|
|
if (points != null && lines != null) {
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.ISOLATED_POINTS)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.ISOLATED_POINTS)) {
|
|
|
isolatedPointsFuture = isolatedPointsFinder.findIsolatedPoints(points, lines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.ISOLATED_POINTS, isolatedPointsFuture);
|
|
|
}
|
|
|
}
|
|
|
//无效线检查
|
|
|
if (points != null && lines != null) {
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.INVALID_LINES)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.INVALID_LINES)) {
|
|
|
invalidLinesFuture = invalidLinesFinder.finderInvalidLines(points, lines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.INVALID_LINES, invalidLinesFuture);
|
|
|
}
|
|
|
}
|
|
|
//重复点检查
|
|
|
if (points != null) {
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.DUPLICATE_POINTS)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.DUPLICATE_POINTS)) {
|
|
|
duplicatePointsFuture = duplicatePointsFinder.findDuplicatePoints(points, typeDefines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.DUPLICATE_POINTS, duplicatePointsFuture);
|
|
|
}
|
|
|
}
|
|
|
//孤立线\重叠线\高程差异常检查
|
|
|
if (lines != null) {
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.ISOLATED_LINES)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.ISOLATED_LINES)) {
|
|
|
isolatedLinesFuture = isolatedLinesFinder.findIsolatedLines(lines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.ISOLATED_LINES, isolatedLinesFuture);
|
|
|
}
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.OVERLAP_LINES)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.OVERLAP_LINES)) {
|
|
|
overlapLinesFuture = overlapLinesFinder.findOverlapLines(lines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.OVERLAP_LINES, overlapLinesFuture);
|
|
|
}
|
|
|
- if (params.getSubitemKeys().contains(GisSurveySystemCheckKeys.ELEVATION_DIFF)) {
|
|
|
+ if (params.getStartSubitemKeys().contains(GisSurveySystemCheckKeys.ELEVATION_DIFF)) {
|
|
|
elevationDiffFuture = elevationDiffFinder.findElevationDiff(lines, systemCheckId);
|
|
|
subtask.put(GisSurveySystemCheckKeys.ELEVATION_DIFF, elevationDiffFuture);
|
|
|
}
|