변화탐지 polygon 정확도 컬럼 추가

This commit is contained in:
2025-12-03 12:22:51 +09:00
parent 503e38290f
commit 6d7ebd87b3
2 changed files with 6 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ public class ChangeDetectionDto {
private Integer afterYear; // 비교년도
private Double afterConfidence; // 비교 신뢰도(확률)
private String afterClass;
private Double cdProb; // 탐지정확도
}
@Schema(name = "PointFeature", description = "Geometry 리턴 객체")
@@ -177,5 +178,6 @@ public class ChangeDetectionDto {
private Integer afterYear; // 비교년도
private Double afterConfidence; // 비교 신뢰도(확률)
private String afterClass; // 비교 분류
private Double cdProb; // 탐지 정확도
}
}

View File

@@ -126,7 +126,8 @@ public class ChangeDetectionRepositoryImpl extends QuerydslRepositorySupport
mapSheetAnalDataGeomEntity.classBeforeCd.toUpperCase(),
mapSheetAnalDataGeomEntity.targetYyyy,
mapSheetAnalDataGeomEntity.classAfterProb,
mapSheetAnalDataGeomEntity.classAfterCd.toUpperCase()))
mapSheetAnalDataGeomEntity.classAfterCd.toUpperCase(),
mapSheetAnalDataGeomEntity.cdProb))
.from(mapSheetAnalDataGeomEntity)
.innerJoin(mapSheetAnalDataEntity)
.on(mapSheetAnalDataGeomEntity.dataUid.eq(mapSheetAnalDataEntity.id))
@@ -159,7 +160,8 @@ public class ChangeDetectionRepositoryImpl extends QuerydslRepositorySupport
data.getBeforeClass(),
data.getAfterYear(),
data.getAfterConfidence(),
data.getAfterClass());
data.getAfterClass(),
data.getCdProb());
return new ChangeDetectionDto.PolygonFeature(
data.getType(), jsonNode, properties);