변화탐지 polygon, point 4326 으로 변환
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.kamco.cd.kamcoback.changedetection.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -78,31 +79,54 @@ public class ChangeDetectionDto {
|
||||
private String alias;
|
||||
}
|
||||
|
||||
@Schema(name = "PolygonGeometry", description = "폴리곤 리턴 객체")
|
||||
@Schema(name = "PolygonFeatureList", description = "Geometry 리턴 객체")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class PointGeometry {
|
||||
private Long geoUid;
|
||||
private Geometry geometry; // Point 값
|
||||
public static class PolygonFeatureList {
|
||||
private String type;
|
||||
private List<PolygonFeature> features; // Point 값
|
||||
private String classCd; // after 분류
|
||||
}
|
||||
|
||||
@Schema(name = "PolygonGeometry", description = "폴리곤 리턴 객체")
|
||||
@Schema(name = "PolygonFeature", description = "Geometry 리턴 객체")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class PolygonGeometry {
|
||||
public static class PolygonFeature {
|
||||
private String type;
|
||||
private Geometry geometry; // after 분류
|
||||
private PolygonProperties properties; // Point 값
|
||||
}
|
||||
|
||||
@Schema(name = "PointFeature", description = "Geometry 리턴 객체")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class PointFeature {
|
||||
private String type;
|
||||
private Geometry geometry; // point
|
||||
private PointProperties properties; // Point 정보
|
||||
}
|
||||
|
||||
@Schema(name = "PointProperties", description = "폴리곤 리턴 객체")
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public static class PointProperties {
|
||||
private Long geoUid;
|
||||
private Geometry geometry; // Polygon 값
|
||||
private PolygonProperties properties;
|
||||
private String classCd; // after 분류
|
||||
}
|
||||
|
||||
@Schema(name = "PolygonProperties", description = "폴리곤 정보")
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public static class PolygonProperties {
|
||||
private Long geoUid;
|
||||
private Double area; // 면적
|
||||
private Integer beforeYear; // 기준년도
|
||||
private Double beforeConfidence; // 기준 신뢰도(확률)
|
||||
|
||||
Reference in New Issue
Block a user