diff --git a/B04_PreProcess/B04_PreProcess_UI_Filter.ts b/B04_PreProcess/B04_PreProcess_UI_Filter.ts index 7aad36128..ca2741cf0 100644 --- a/B04_PreProcess/B04_PreProcess_UI_Filter.ts +++ b/B04_PreProcess/B04_PreProcess_UI_Filter.ts @@ -67,7 +67,7 @@ function rows(quality: SurfaceQuality | null): ReturnType { const against = quality?.diff_against ?.replace(/^(dtm|implicit)_/, "") .replace(/(_grid)?\.npz$/, ""); - return createKv([ + const list = createKv([ { label: "튐 넓이", value: @@ -76,21 +76,13 @@ function rows(quality: SurfaceQuality | null): ReturnType { : `${quality.spike_pct} % · ${quality.spike_count ?? 0} 곳`, }, { label: "등고선 꺾임", value: fmt(quality?.kinks_per_km, "/km") }, - { - label: "땅 점 빈 곳", - value: - quality?.gap_pct == null - ? null - : `${quality.gap_pct} % · 급경사 ${quality.gap_steep_pct} %`, - }, - { - label: "필터 차", - value: - quality?.diff_pct == null - ? null - : `${quality.diff_pct} % · ${optionLabel(against ?? "")} 대비`, - }, + { label: "땅 점 빈 곳", value: fmt(quality?.gap_pct, "%") }, + { label: "그중 급경사", value: fmt(quality?.gap_steep_pct, "%") }, + // 대상 이름은 길어 줄을 깨뜨림 — 값은 % 만 · 대상은 마우스 올림 글 + { label: "필터 차", value: fmt(quality?.diff_pct, "%") }, ]); + if (against) list.title = `필터 차 = ${optionLabel(against)} 모델과 0.5 m 넘게 다른 넓이`; + return list; } /** 고른 모델의 품질 지표 넷 — 늦게 온 옛 응답은 버림. */