변화탐지 API 커밋 cog,count,yearlist

This commit is contained in:
2025-11-27 18:01:15 +09:00
parent 9d32c85fd0
commit 675d2f2ed1
11 changed files with 343 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.changedetection.dto;
import com.fasterxml.jackson.databind.JsonNode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
@@ -21,6 +22,52 @@ public class ChangeDetectionDto{
private Double centroidY;
}
@Schema(name = "CountDto", description = "분류별 탐지 건수")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class CountDto {
private String classCd; //영문코드
private String className; //한글명
private Long count; //건수
}
@Schema(name = "CogUrlReq", description = "COG Url Req")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class CogUrlReq {
private Integer beforeYear;
private Integer afterYear;
private String mapSheetNum;
}
@Schema(name = "CogUrlDto", description = "COG Url 정보")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class CogUrlDto {
private String beforeCogUrl;
private String afterCogUrl;
private JsonNode bbox;
}
@Schema(name = "AnalYearList", description = "년도(차수) 목록")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class AnalYearList {
private Long analUid;
private String analTitle;
private Integer beforeYear;
private Integer afterYear;
private String baseMapSheetNum;
}
@Schema(name = "PolygonGeometry", description = "폴리곤 리턴 객체")
@Getter
@Setter
@@ -47,16 +94,6 @@ public class ChangeDetectionDto{
private Double center_longitude; //폴리곤 중심 경도
}
@Schema(name = "CogURL", description = "COG URL")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class CogURL{
private String before_cog_url; //기준 COG URL
private String after_cog_url; //비교 COG URL
}
@Schema(name = "PolygonProperties", description = "폴리곤 정보")
@Getter
@Setter