라벨링 툴 API 설명 수정
This commit is contained in:
@@ -157,7 +157,7 @@ public class TrainingDataLabelApiController {
|
||||
return ApiResponseDto.ok(trainingDataLabelService.getDetail(assignmentUid));
|
||||
}
|
||||
|
||||
@Operation(summary = "라벨러 기본 page number 제공", description = "라벨러 기본 page number 제공")
|
||||
@Operation(summary = "라벨러 목록 기본정보제공", description = "라벨러 목록 기본정보제공")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
@ApiResponse(
|
||||
@@ -213,109 +213,108 @@ public class TrainingDataLabelApiController {
|
||||
name = "1개 polygon 저장",
|
||||
value =
|
||||
"""
|
||||
{
|
||||
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
|
||||
"analUid": 53,
|
||||
"mapSheetNum": "35905086",
|
||||
"compareYyyy": 2023,
|
||||
"targetYyyy": 2024,
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.663, 34.588],
|
||||
[126.662, 34.587],
|
||||
[126.664, 34.589],
|
||||
[126.663, 34.588]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "WASTE",
|
||||
"afterClass": "LAND"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"""),
|
||||
{
|
||||
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
|
||||
"analUid": 53,
|
||||
"mapSheetNum": "35905086",
|
||||
"compareYyyy": 2023,
|
||||
"targetYyyy": 2024,
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.663, 34.588],
|
||||
[126.662, 34.587],
|
||||
[126.664, 34.589],
|
||||
[126.663, 34.588]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "WASTE",
|
||||
"afterClass": "LAND"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
"""),
|
||||
@io.swagger.v3.oas.annotations.media.ExampleObject(
|
||||
name = "3개 polygon 저장",
|
||||
value =
|
||||
"""
|
||||
{
|
||||
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
|
||||
"analUid": 53,
|
||||
"mapSheetNum": "35905086",
|
||||
"compareYyyy": 2023,
|
||||
"targetYyyy": 2024,
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.663, 34.588],
|
||||
[126.662, 34.587],
|
||||
[126.664, 34.589],
|
||||
[126.663, 34.588]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "WASTE",
|
||||
"afterClass": "LAND"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.665, 34.590],
|
||||
[126.664, 34.589],
|
||||
[126.666, 34.591],
|
||||
[126.665, 34.590]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "FOREST",
|
||||
"afterClass": "BUILDING"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.667, 34.592],
|
||||
[126.666, 34.591],
|
||||
[126.668, 34.593],
|
||||
[126.667, 34.592]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "FARMLAND",
|
||||
"afterClass": "SOLAR_PANEL"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
""")
|
||||
{
|
||||
"assignmentUid": "4f9ebc8b-6635-4177-b42f-7efc9c7b4c02",
|
||||
"analUid": 53,
|
||||
"mapSheetNum": "35905086",
|
||||
"compareYyyy": 2023,
|
||||
"targetYyyy": 2024,
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.663, 34.588],
|
||||
[126.662, 34.587],
|
||||
[126.664, 34.589],
|
||||
[126.663, 34.588]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "WASTE",
|
||||
"afterClass": "LAND"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.665, 34.590],
|
||||
[126.664, 34.589],
|
||||
[126.666, 34.591],
|
||||
[126.665, 34.590]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "FOREST",
|
||||
"afterClass": "BUILDING"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Feature",
|
||||
"geometry": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[126.667, 34.592],
|
||||
[126.666, 34.591],
|
||||
[126.668, 34.593],
|
||||
[126.667, 34.592]
|
||||
]
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"beforeClass": "FARMLAND",
|
||||
"afterClass": "SOLAR_PANEL"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
""")
|
||||
}))
|
||||
@RequestBody
|
||||
TrainingDataLabelDto.NewPolygonRequest request) {
|
||||
return ApiResponseDto.okObject(trainingDataLabelService.saveNewPolygon(request));
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "COG 이미지 URL 조회", description = "변화 전/후 COG 이미지 URL을 함께 조회합니다")
|
||||
@ApiResponses(
|
||||
value = {
|
||||
|
||||
Reference in New Issue
Block a user