학습서버배포정보 수정
This commit is contained in:
@@ -147,7 +147,7 @@ public class GeoJsonValidator {
|
|||||||
Set<String> foundUnique = new HashSet<>();
|
Set<String> foundUnique = new HashSet<>();
|
||||||
|
|
||||||
// 중복된 scene_id 목록 (샘플 로그 출력용이라 순서 유지 가능한 LinkedHashSet 사용)
|
// 중복된 scene_id 목록 (샘플 로그 출력용이라 순서 유지 가능한 LinkedHashSet 사용)
|
||||||
// Set<String> duplicates = new LinkedHashSet<>();
|
// Set<String> duplicates = new LinkedHashSet<>();
|
||||||
|
|
||||||
// scene_id가 null 또는 blank인 feature의 개수 (데이터 이상)
|
// scene_id가 null 또는 blank인 feature의 개수 (데이터 이상)
|
||||||
int nullIdCount = 0;
|
int nullIdCount = 0;
|
||||||
@@ -179,9 +179,9 @@ public class GeoJsonValidator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// foundUnique.add(sceneId)가 false면 "이미 같은 값이 있었다"는 뜻 => 중복
|
// foundUnique.add(sceneId)가 false면 "이미 같은 값이 있었다"는 뜻 => 중복
|
||||||
// if (!foundUnique.add(sceneId)) {
|
// if (!foundUnique.add(sceneId)) {
|
||||||
// duplicates.add(sceneId);
|
// duplicates.add(sceneId);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// =========================================================
|
// =========================================================
|
||||||
@@ -230,8 +230,8 @@ public class GeoJsonValidator {
|
|||||||
extra.size()); // 요청하지 않았는데 들어온 도엽 수
|
extra.size()); // 요청하지 않았는데 들어온 도엽 수
|
||||||
|
|
||||||
// 중복/누락/추가 항목은 전체를 다 찍으면 로그 폭발하므로 샘플만
|
// 중복/누락/추가 항목은 전체를 다 찍으면 로그 폭발하므로 샘플만
|
||||||
// if (!duplicates.isEmpty())
|
// if (!duplicates.isEmpty())
|
||||||
// log.warn("duplicates sample: {}", duplicates.stream().limit(20).toList());
|
// log.warn("duplicates sample: {}", duplicates.stream().limit(20).toList());
|
||||||
|
|
||||||
if (!missing.isEmpty()) log.warn("missing sample: {}", missing.stream().limit(50).toList());
|
if (!missing.isEmpty()) log.warn("missing sample: {}", missing.stream().limit(50).toList());
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,8 @@ public class ExternalJarRunner {
|
|||||||
* @param mode
|
* @param mode
|
||||||
* <p>MERGED - batch-ids 에 해당하는 **모든 데이터를 하나의 Shapefile로 병합 생성,
|
* <p>MERGED - batch-ids 에 해당하는 **모든 데이터를 하나의 Shapefile로 병합 생성,
|
||||||
* <p>MAP_IDS - 명시적으로 전달한 map-ids만 대상으로 Shapefile 생성,
|
* <p>MAP_IDS - 명시적으로 전달한 map-ids만 대상으로 Shapefile 생성,
|
||||||
* <p>RESOLVE - batch-ids 기준으로 **JAR 내부에서 map_ids를 조회**한 뒤 Shapefile 생성
|
* <p>RESOLVE - batch-ids 기준으로 **JAR 내부에서 map_ids를 조회**한 뒤 Shapefile 생성 java -jar
|
||||||
|
* build/libs/shp-exporter.jar --spring.profiles.active=prod
|
||||||
*/
|
*/
|
||||||
public void run(String jarPath, String batchIds, String inferenceId, String mapIds, String mode) {
|
public void run(String jarPath, String batchIds, String inferenceId, String mapIds, String mode) {
|
||||||
List<String> args = new ArrayList<>();
|
List<String> args = new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user