main_laptop_1 -> main byeonghap (4 hwangyeong 585 commits) #12
@@ -527,7 +527,11 @@ def assemble_basins(
|
||||
reached = routing.road_slot >= 0
|
||||
labels[reached] = pipe_of_slot[routing.road_slot[reached]]
|
||||
|
||||
polygons = polygonize_labels(spec, labels)
|
||||
# 최소면적 필터를 끈다 — 그 필터가 곧 빈공간이었다. 떨어진 조각을 100㎡ 미만이라고
|
||||
# 버리면 유역 면적과 그림이 어긋난다(실측: 용화 5.76%→1.86%, S자 3.56%→1.42%,
|
||||
# 조각 유역 0→2·0→3 복원). 링 목록이 조각을 싣게 된 뒤로는 버릴 이유가 없고, 좌표점은
|
||||
# 583→622·806→829로 거의 늘지 않는다(2026-09-03). 남은 오차는 simplify(2.0m) 몫.
|
||||
polygons = polygonize_labels(spec, labels, min_area_m2=0.0)
|
||||
cell_area = spec.cell_area_m2
|
||||
basins: list[WatershedBasin] = []
|
||||
for order, pipe in enumerate(pipes):
|
||||
|
||||
Reference in New Issue
Block a user