kcg-monitoring/database/migration
htlee d9ba1b0e1a feat: 환적탐지 Python 이관 — O(n²) 프론트엔드 근접탐지 → 서버사이드 공간인덱스
- prediction/algorithms/transshipment.py 신규: 그리드 공간인덱스 O(n log n) 환적 쌍 탐지
  → 후보 필터(sog<2, tanker/cargo/fishing, 외국해안 제외) + 110m 근접 + 60분 지속
- prediction/scheduler.py: 8단계 환적탐지 사이클 추가, pair_history 영속화
- prediction/models/result.py: is_transship_suspect, transship_pair_mmsi, transship_duration_min
- prediction/db/kcgdb.py: UPSERT 쿼리에 3개 컬럼 추가
- database/migration/008_transshipment.sql: ALTER TABLE 3개 컬럼 추가
- backend VesselAnalysisResult + VesselAnalysisDto: TransshipInfo 중첩 DTO 추가
- frontend types.ts: algorithms.transship 타입 추가
- frontend useKoreaFilters.ts: O(n²) 65줄 → analysisMap 소비 8줄
  → currentTime 매초 의존성 제거, proximityStartRef 제거

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 12:29:44 +09:00
..
001_initial_schema.sql feat: 백엔드 Spring Boot + DB 스키마 + Python 분석서버 스켈레톤 2026-03-17 13:54:58 +09:00
002_aircraft_positions.sql fix(db): 002 마이그레이션 search_path에 public 추가 (PostGIS 타입 참조) 2026-03-18 02:39:40 +09:00
003_ships_osint_satellites.sql feat(db): ships/osint/satellites 테이블 생성 + 샘플 데이터 적재 2026-03-18 02:59:54 +09:00
004_sensor_data.sql feat: 지진파(USGS) + 기압(Open-Meteo) 수집기 + DB 테이블 설계 (#39) 2026-03-18 08:15:45 +09:00
005_vessel_analysis.sql feat: Python 분석 결과 오버레이 + 메뉴 연동 — Backend API 복원 + DB 테이블 + 통계패널 + 위험도 마커 2026-03-20 13:28:50 +09:00
006_vessel_analysis_unique.sql feat: Python 어선 분류기 + 배포 설정 + 백엔드 모니터링 프록시 2026-03-20 12:10:21 +09:00
007_fleet_registry.sql feat: 선단 등록 DB + 어망/어구 정체성 추적 시스템 2026-03-20 18:07:15 +09:00
008_transshipment.sql feat: 환적탐지 Python 이관 — O(n²) 프론트엔드 근접탐지 → 서버사이드 공간인덱스 2026-03-23 12:29:44 +09:00