17 Commits

Author SHA1 Message Date
minsung
54be161a09 데이터 2026-06-17 09:34:20 +09:00
minsung
eaf7134309 fix: 히스토리 검증 훅 UTF-8 강제 + 측점 맵핑 문서 추가
- guard-history-fields.py: Windows cp949 stdin에서 한글 필드 정규식
  미스매치로 발생하던 false block 및 에러 mojibake 수정 (stdin/stderr UTF-8 강제)
- docs/geo-station-mapping.html: 지리정보·측점·프레임 맵핑 구조 +
  station 기준 재생 설계 문서
- docs/history: 2026-06-17 맵핑 구조 분석 기록

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 09:31:34 +09:00
minsung
c1b6f99032 fix: geoMatch loadFrames crash when GEO_DATA_DIR missing on new server
- Add fs.existsSync check before readdirSync in loadFrames()
- Add warning logs when GEO_DATA_DIR, drone CSV, or building/ dir not found
- Remove dead csvPath variable (unused)
- Add warning log in loadPois() when building/ dir missing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 17:17:59 +09:00
minsung
958ea3f75a docs: 2026-04-01 RoutePanel 미니맵 히스토리 기록
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 19:26:35 +09:00
minsung
8cb0c52e27 fix: RoutePanel 역명 레이블 위치 교정 — 높은km(대전조차장)=상단, 낮은km(회덕)=하단
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:47:25 +09:00
minsung
3f83363ef4 fix: RoutePanel km 방향 확정 — 높은km=위(대전조차장), 낮은km=아래(회덕)
kmToY=(1-ratio), visibleRange/drag seek 모두 동일 방향으로 수정

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:41:13 +09:00
minsung
eecd17c590 fix: RoutePanel 정렬 방향 수정 (낮은km=위, 높은km=아래), 높이 80%, 겹침 간격 9%
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:37:09 +09:00
minsung
4fc59416b2 fix: RoutePanel 시종점 역사(역사 카테고리) POI에서 km 최소/최대로 표시
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:35:02 +09:00
minsung
4636679537 feat: RoutePanel/StationOverlay 개선
- 시점/종점: 드론 첫/마지막 프레임 기준 역명 표시 (회덕, 대전조차장 등)
- (상)/(하) 접미어 제거 (cleanTitle)
- 패널 높이 90%, 글씨 크기 +30%, 투명도 밝게
- 교량/터널 POI 겹침 방지 (7% 간격)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:32:01 +09:00
minsung
f5866d8395 feat: RoutePanel 시점/종점 측점명 상단/하단 표시
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:27:10 +09:00
minsung
7b837cf4a4 fix: RoutePanel 시점/종점 고정 레이블 제거 — 교량/터널 이름만 표시
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:24:53 +09:00
minsung
8c475c9ee8 feat: RoutePanel 시점/종점 표시 및 교량/터널만 표시
- 상단 시점, 하단 종점 측점명 고정 표시
- POI는 교량/터널만 필터링 (터널: 보라, 교량: 하늘색)
- 불필요한 측점 도트/텍스트 제거

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:20:28 +09:00
minsung
1f90af20cc fix: RoutePanel 상하 여백 추가 — 패널 height 76%로 축소
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:17:43 +09:00
minsung
e97c62c445 fix: RoutePanel 측점 선형 위아래 반전 수정
kmToY 함수를 반전(1 - ratio)하여 높은 km값이 아래, 낮은 km값이 위에 오도록 수정.
visibleRange 초록 박스 top/bottom도 함께 교정.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 16:11:01 +09:00
minsung
8ddc148ef9 feat: RoutePanel 미니맵 추가 및 StationOverlay altitude 필드명 수정
- RoutePanel: 세로 미니맵 패널 — 측점/POI 위치 표시, 오렌지 마커 드래그로 seek
- VideoPlayer: RoutePanel 통합 (showStations 토글 연동)
- StationOverlay: smoothFrame에서 alt → altitude 타입 오류 수정

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 15:59:03 +09:00
minsung
65504cae2b fix: 중심선 스무딩 적용 및 디버그 패널 제거
- renderCacheRef useEffect에서 CL 계산 시 smoothFrame 적용
  (텍스트와 동일한 smooth 슬라이더 값 공유)
- currentFrameIdxRef 추가로 smoothFrame 인덱스 전달
- 디버그 패널(frame/frac/mapSize) 캔버스에서 제거

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 15:22:56 +09:00
minsung
2aae3d1c0d feat: StationOverlay 렌더링 최적화 및 스무딩 적용 close #1
- 텍스트(측점/POI) 전 프레임 사전 계산 Map (requestIdleCallback 백그라운드)
- 드론 데이터 이동 평균 스무딩 (smoothFrame ±N프레임)
- 30fps→60fps 프레임 간 선형 보간 (performance.now() 기반)
- EMA(지수이동평균) 표시 위치 스무딩 (α=0.01 기본값)
- 글씨 2배 크기, bold, strokeText 테두리, 배경 박스 제거
- 카메라 파라미터 패널에 smooth/EMA α 슬라이더 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 15:11:39 +09:00