feat(m2): V61 measured trench seed for K1 halls 1-5 from CAD
Owner directive 2026-07-15: seed real trench coordinates. - tools/cad/extract_trench_seed.py: deterministic generator - extracts trench channels from CAD layer 5-tranchi (spelling differs from expected), merges paired channel edges into centerlines, emits supply points every 6m - Measured layout (identical across halls 1-5, cross-validating band alignment): 7 horizontal channels per hall, 9.0m pitch, y=5.85..59.8m local, extent x[20.6..170.2]m - V61: delete assumed grid points for H1-H5, insert 875 measured points (is_assumed=false); supply flags keep V5 policy; K2 stays assumed (no trench layer in its plan drawing - power trunk drawing analysis is follow-up) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
4e0e707257
commit
6be091aa7c
@ -332,3 +332,7 @@
|
||||
**처리:** 원본-1층 평면도.dwg(106MB DXF) → 슬림 추출(지하층 xref 등 제외) → 고속 렌더러(`fast_render.py` LineCollection 일괄 + `--rotate` 회전 보정) 신규 작성. K2 홀들은 CAD에서 기울어 배치(H6 -12°·H9 -11°·H10 +11°·H7/H8 축정렬) — 장선 각도 클러스터로 프로그램 측정 + 시각 검증으로 좌표 확정(치수 정확 일치: H6 60×93·H7/H8 90×126(블록 252m)·H9/H10 99×132). hall6~10.png 생성·빌드 내장, DWG_HALL_DIMS 전 홀 확장 → **DWG 탭 10개 홀 전부 활성**.
|
||||
|
||||
**검증:** tsc 0·build 0 → 배포(번들 DzrNiyIM)·health UP·hall6/hall10.png 200·스모크 통과. 좌표표: docs/analysis/cad-extraction.md §K2. 한계: 홀 번호는 미니맵+치수 정합 근거(도면 텍스트 라벨 직접 확인 아님).
|
||||
|
||||
### 세션 5 추가 — V61 트렌치 실측 시드 (2026-07-15, 소유자 지시 "V61 트렌치 실측 시드 진행해")
|
||||
|
||||
CAD 레이어 `5-트랜치`(표기 함정 — 트렌치≠트랜치)에서 K1 홀1~5 트렌치 채널 실측 추출: **홀당 가로 7채널·피치 9.0m·연장 x[20.6..170.2]m** (5개 홀 패턴 완전 일치로 밴드 정렬 교차 검증). V61 = 가정 그리드 삭제 → 채널 따라 6m 간격 실측 포인트 875개(is_assumed=false, 생성기 `tools/cad/extract_trench_seed.py` 결정적 재생성 가능). K2는 트렌치 레이어 부재로 가정 유지(전력간선 도면 분석 후속). 검증: gradle test 통과 → push→자동배포→health·스모크 게이트.
|
||||
|
||||
@ -84,3 +84,14 @@ H7/H8 블록 252m=126×2·폭 90m 정확 일치) + 회전 프로브 렌더 시
|
||||
|
||||
한계: 홀 번호는 미니맵·치수 정합 기반(도면 내 텍스트 라벨 직접 확인은 아님 — 치수가 홀별로 상이해
|
||||
오배정 가능성 낮음). 트렌치 실좌표 V61 시드는 K1과 함께 후속.
|
||||
|
||||
## V61 트렌치 실측 시드 (2026-07-15)
|
||||
|
||||
- **레이어 표기 함정**: 실측 채널은 `5-트랜치`(트랜치) — 앞선 `트렌치` 키워드 탐색이 놓쳤던 표기.
|
||||
추출 키워드는 두 표기 모두 매칭(`extract_trench_seed.py`).
|
||||
- **실측 구조(K1 홀1~5 공통, 홀 간 완전 일치 — 밴드 정렬 교차 검증)**: 가로 채널 7개,
|
||||
로컬 y = 5.85/14.8/23.9/32.9/41.9/50.9/59.8m(피치 9.0m), 연장 x[20.6..170.2]m(쌍선 폭 ~1.3m 병합 중심선).
|
||||
- **V61**: 홀별 가정(is_assumed) 포인트 삭제 → 채널 따라 6m 간격 실측 포인트 875개
|
||||
(`H{n}-RT-{행}-{k}`, is_assumed=false). 공급 플래그는 V5 정책 유지(위치만 실측 대체).
|
||||
K2(H6~10)는 가정 유지 — K2 도면(원본-1층 평면도)에 트렌치 레이어 부재, 전력간선 평면도(77MB) 분석 후속.
|
||||
- **후속**: FloorplanCanvas의 합성 트렌치 그리드(9m 가정선)를 HallInfo.trenches 실데이터 표시로 교체 검토.
|
||||
|
||||
@ -0,0 +1,911 @@
|
||||
-- V61: K1 홀1~5 트렌치 실측 시드 — CAD(전기,설비 트렌치.dwg) 레이어 5-트랜치 추출.
|
||||
-- 생성기: tools/cad/extract_trench_seed.py (재생성 가능·결정적). 근거: docs/analysis/cad-extraction.md.
|
||||
-- 실측: 홀당 가로 채널(쌍선 병합 중심선)·연장 실좌표. 포인트 6m 간격은 샘플링 규약.
|
||||
-- 정책: 실측 확보 홀(H1~H5)의 가정(is_assumed) 포인트를 실측 포인트로 대체. K2(H6~10)는 가정 유지.
|
||||
-- 공급 플래그는 V5 정책 유지(공동구 — 전 서비스 true·gas는 홀 보유 여부), 위치만 실측 대체.
|
||||
|
||||
-- H1: 실측 채널 7개
|
||||
DELETE FROM trench WHERE hall_id = 'H1' AND is_assumed;
|
||||
INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)
|
||||
VALUES
|
||||
('H1-RT-1-1', 'H1', ST_SetSRID(ST_MakePoint(22.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-2', 'H1', ST_SetSRID(ST_MakePoint(28.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-3', 'H1', ST_SetSRID(ST_MakePoint(34.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-4', 'H1', ST_SetSRID(ST_MakePoint(40.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-5', 'H1', ST_SetSRID(ST_MakePoint(46.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-6', 'H1', ST_SetSRID(ST_MakePoint(52.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-7', 'H1', ST_SetSRID(ST_MakePoint(58.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-8', 'H1', ST_SetSRID(ST_MakePoint(64.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-9', 'H1', ST_SetSRID(ST_MakePoint(70.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-10', 'H1', ST_SetSRID(ST_MakePoint(76.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-11', 'H1', ST_SetSRID(ST_MakePoint(82.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-12', 'H1', ST_SetSRID(ST_MakePoint(88.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-13', 'H1', ST_SetSRID(ST_MakePoint(94.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-14', 'H1', ST_SetSRID(ST_MakePoint(100.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-15', 'H1', ST_SetSRID(ST_MakePoint(106.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-16', 'H1', ST_SetSRID(ST_MakePoint(112.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-17', 'H1', ST_SetSRID(ST_MakePoint(118.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-18', 'H1', ST_SetSRID(ST_MakePoint(124.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-19', 'H1', ST_SetSRID(ST_MakePoint(130.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-20', 'H1', ST_SetSRID(ST_MakePoint(136.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-21', 'H1', ST_SetSRID(ST_MakePoint(142.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-22', 'H1', ST_SetSRID(ST_MakePoint(148.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-23', 'H1', ST_SetSRID(ST_MakePoint(154.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-24', 'H1', ST_SetSRID(ST_MakePoint(160.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-1-25', 'H1', ST_SetSRID(ST_MakePoint(166.14, 5.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-2-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-3-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-4-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-5-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-6-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-1', 'H1', ST_SetSRID(ST_MakePoint(20.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-2', 'H1', ST_SetSRID(ST_MakePoint(26.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-3', 'H1', ST_SetSRID(ST_MakePoint(32.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-4', 'H1', ST_SetSRID(ST_MakePoint(38.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-5', 'H1', ST_SetSRID(ST_MakePoint(44.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-6', 'H1', ST_SetSRID(ST_MakePoint(50.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-7', 'H1', ST_SetSRID(ST_MakePoint(56.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-8', 'H1', ST_SetSRID(ST_MakePoint(62.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-9', 'H1', ST_SetSRID(ST_MakePoint(68.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-10', 'H1', ST_SetSRID(ST_MakePoint(74.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-11', 'H1', ST_SetSRID(ST_MakePoint(80.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-12', 'H1', ST_SetSRID(ST_MakePoint(86.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-13', 'H1', ST_SetSRID(ST_MakePoint(92.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-14', 'H1', ST_SetSRID(ST_MakePoint(98.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-15', 'H1', ST_SetSRID(ST_MakePoint(104.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-16', 'H1', ST_SetSRID(ST_MakePoint(110.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-17', 'H1', ST_SetSRID(ST_MakePoint(116.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-18', 'H1', ST_SetSRID(ST_MakePoint(122.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-19', 'H1', ST_SetSRID(ST_MakePoint(128.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-20', 'H1', ST_SetSRID(ST_MakePoint(134.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-21', 'H1', ST_SetSRID(ST_MakePoint(140.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-22', 'H1', ST_SetSRID(ST_MakePoint(146.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-23', 'H1', ST_SetSRID(ST_MakePoint(152.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-24', 'H1', ST_SetSRID(ST_MakePoint(158.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false),
|
||||
('H1-RT-7-25', 'H1', ST_SetSRID(ST_MakePoint(164.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H1'), false)
|
||||
ON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;
|
||||
|
||||
-- H2: 실측 채널 7개
|
||||
DELETE FROM trench WHERE hall_id = 'H2' AND is_assumed;
|
||||
INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)
|
||||
VALUES
|
||||
('H2-RT-1-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-1-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-2-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-3-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-4-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-5-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-6-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-1', 'H2', ST_SetSRID(ST_MakePoint(20.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-2', 'H2', ST_SetSRID(ST_MakePoint(26.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-3', 'H2', ST_SetSRID(ST_MakePoint(32.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-4', 'H2', ST_SetSRID(ST_MakePoint(38.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-5', 'H2', ST_SetSRID(ST_MakePoint(44.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-6', 'H2', ST_SetSRID(ST_MakePoint(50.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-7', 'H2', ST_SetSRID(ST_MakePoint(56.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-8', 'H2', ST_SetSRID(ST_MakePoint(62.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-9', 'H2', ST_SetSRID(ST_MakePoint(68.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-10', 'H2', ST_SetSRID(ST_MakePoint(74.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-11', 'H2', ST_SetSRID(ST_MakePoint(80.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-12', 'H2', ST_SetSRID(ST_MakePoint(86.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-13', 'H2', ST_SetSRID(ST_MakePoint(92.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-14', 'H2', ST_SetSRID(ST_MakePoint(98.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-15', 'H2', ST_SetSRID(ST_MakePoint(104.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-16', 'H2', ST_SetSRID(ST_MakePoint(110.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-17', 'H2', ST_SetSRID(ST_MakePoint(116.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-18', 'H2', ST_SetSRID(ST_MakePoint(122.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-19', 'H2', ST_SetSRID(ST_MakePoint(128.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-20', 'H2', ST_SetSRID(ST_MakePoint(134.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-21', 'H2', ST_SetSRID(ST_MakePoint(140.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-22', 'H2', ST_SetSRID(ST_MakePoint(146.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-23', 'H2', ST_SetSRID(ST_MakePoint(152.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-24', 'H2', ST_SetSRID(ST_MakePoint(158.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false),
|
||||
('H2-RT-7-25', 'H2', ST_SetSRID(ST_MakePoint(164.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H2'), false)
|
||||
ON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;
|
||||
|
||||
-- H3: 실측 채널 7개
|
||||
DELETE FROM trench WHERE hall_id = 'H3' AND is_assumed;
|
||||
INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)
|
||||
VALUES
|
||||
('H3-RT-1-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-1-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-2-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-3-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-4-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-5-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-6-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-1', 'H3', ST_SetSRID(ST_MakePoint(20.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-2', 'H3', ST_SetSRID(ST_MakePoint(26.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-3', 'H3', ST_SetSRID(ST_MakePoint(32.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-4', 'H3', ST_SetSRID(ST_MakePoint(38.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-5', 'H3', ST_SetSRID(ST_MakePoint(44.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-6', 'H3', ST_SetSRID(ST_MakePoint(50.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-7', 'H3', ST_SetSRID(ST_MakePoint(56.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-8', 'H3', ST_SetSRID(ST_MakePoint(62.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-9', 'H3', ST_SetSRID(ST_MakePoint(68.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-10', 'H3', ST_SetSRID(ST_MakePoint(74.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-11', 'H3', ST_SetSRID(ST_MakePoint(80.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-12', 'H3', ST_SetSRID(ST_MakePoint(86.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-13', 'H3', ST_SetSRID(ST_MakePoint(92.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-14', 'H3', ST_SetSRID(ST_MakePoint(98.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-15', 'H3', ST_SetSRID(ST_MakePoint(104.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-16', 'H3', ST_SetSRID(ST_MakePoint(110.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-17', 'H3', ST_SetSRID(ST_MakePoint(116.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-18', 'H3', ST_SetSRID(ST_MakePoint(122.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-19', 'H3', ST_SetSRID(ST_MakePoint(128.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-20', 'H3', ST_SetSRID(ST_MakePoint(134.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-21', 'H3', ST_SetSRID(ST_MakePoint(140.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-22', 'H3', ST_SetSRID(ST_MakePoint(146.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-23', 'H3', ST_SetSRID(ST_MakePoint(152.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-24', 'H3', ST_SetSRID(ST_MakePoint(158.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false),
|
||||
('H3-RT-7-25', 'H3', ST_SetSRID(ST_MakePoint(164.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H3'), false)
|
||||
ON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;
|
||||
|
||||
-- H4: 실측 채널 7개
|
||||
DELETE FROM trench WHERE hall_id = 'H4' AND is_assumed;
|
||||
INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)
|
||||
VALUES
|
||||
('H4-RT-1-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-1-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-2-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-3-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-4-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-5-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-6-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-1', 'H4', ST_SetSRID(ST_MakePoint(20.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-2', 'H4', ST_SetSRID(ST_MakePoint(26.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-3', 'H4', ST_SetSRID(ST_MakePoint(32.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-4', 'H4', ST_SetSRID(ST_MakePoint(38.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-5', 'H4', ST_SetSRID(ST_MakePoint(44.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-6', 'H4', ST_SetSRID(ST_MakePoint(50.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-7', 'H4', ST_SetSRID(ST_MakePoint(56.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-8', 'H4', ST_SetSRID(ST_MakePoint(62.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-9', 'H4', ST_SetSRID(ST_MakePoint(68.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-10', 'H4', ST_SetSRID(ST_MakePoint(74.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-11', 'H4', ST_SetSRID(ST_MakePoint(80.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-12', 'H4', ST_SetSRID(ST_MakePoint(86.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-13', 'H4', ST_SetSRID(ST_MakePoint(92.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-14', 'H4', ST_SetSRID(ST_MakePoint(98.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-15', 'H4', ST_SetSRID(ST_MakePoint(104.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-16', 'H4', ST_SetSRID(ST_MakePoint(110.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-17', 'H4', ST_SetSRID(ST_MakePoint(116.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-18', 'H4', ST_SetSRID(ST_MakePoint(122.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-19', 'H4', ST_SetSRID(ST_MakePoint(128.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-20', 'H4', ST_SetSRID(ST_MakePoint(134.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-21', 'H4', ST_SetSRID(ST_MakePoint(140.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-22', 'H4', ST_SetSRID(ST_MakePoint(146.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-23', 'H4', ST_SetSRID(ST_MakePoint(152.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-24', 'H4', ST_SetSRID(ST_MakePoint(158.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false),
|
||||
('H4-RT-7-25', 'H4', ST_SetSRID(ST_MakePoint(164.64, 59.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H4'), false)
|
||||
ON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;
|
||||
|
||||
-- H5: 실측 채널 7개
|
||||
DELETE FROM trench WHERE hall_id = 'H5' AND is_assumed;
|
||||
INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)
|
||||
VALUES
|
||||
('H5-RT-1-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-1-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 5.80), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-2-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 14.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-3-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 23.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-4-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 32.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-5-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 41.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-6-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 50.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-1', 'H5', ST_SetSRID(ST_MakePoint(20.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-2', 'H5', ST_SetSRID(ST_MakePoint(26.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-3', 'H5', ST_SetSRID(ST_MakePoint(32.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-4', 'H5', ST_SetSRID(ST_MakePoint(38.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-5', 'H5', ST_SetSRID(ST_MakePoint(44.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-6', 'H5', ST_SetSRID(ST_MakePoint(50.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-7', 'H5', ST_SetSRID(ST_MakePoint(56.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-8', 'H5', ST_SetSRID(ST_MakePoint(62.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-9', 'H5', ST_SetSRID(ST_MakePoint(68.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-10', 'H5', ST_SetSRID(ST_MakePoint(74.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-11', 'H5', ST_SetSRID(ST_MakePoint(80.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-12', 'H5', ST_SetSRID(ST_MakePoint(86.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-13', 'H5', ST_SetSRID(ST_MakePoint(92.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-14', 'H5', ST_SetSRID(ST_MakePoint(98.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-15', 'H5', ST_SetSRID(ST_MakePoint(104.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-16', 'H5', ST_SetSRID(ST_MakePoint(110.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-17', 'H5', ST_SetSRID(ST_MakePoint(116.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-18', 'H5', ST_SetSRID(ST_MakePoint(122.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-19', 'H5', ST_SetSRID(ST_MakePoint(128.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-20', 'H5', ST_SetSRID(ST_MakePoint(134.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-21', 'H5', ST_SetSRID(ST_MakePoint(140.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-22', 'H5', ST_SetSRID(ST_MakePoint(146.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-23', 'H5', ST_SetSRID(ST_MakePoint(152.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-24', 'H5', ST_SetSRID(ST_MakePoint(158.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false),
|
||||
('H5-RT-7-25', 'H5', ST_SetSRID(ST_MakePoint(164.64, 59.85), 0), true, true, true, true, (SELECT has_gas FROM hall WHERE id='H5'), false)
|
||||
ON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;
|
||||
|
||||
117
tools/cad/extract_trench_seed.py
Normal file
117
tools/cad/extract_trench_seed.py
Normal file
@ -0,0 +1,117 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""K1 트렌치 실측 시드 생성기 — CAD(전기,설비 트렌치.dwg → DXF)에서 홀1~5 트렌치 채널을
|
||||
추출해 V61 마이그레이션 SQL을 산출한다(PLANNING R4 실측 대체).
|
||||
|
||||
실측 구조(레이어 5-트랜치): 홀당 가로 채널 7개(쌍선 폭 ~1.3m·피치 9m·로컬 y≈5.85 시작),
|
||||
채널을 따라 6m 간격 공급 포인트를 생성한다(포인트 간격은 샘플링 — 채널 위치·연장은 실측).
|
||||
|
||||
사용:
|
||||
python tools/cad/extract_trench_seed.py <k1_trench.dxf> <out.sql>
|
||||
|
||||
좌표 규약: CAD 전건물 mm → 홀 로컬 m. 홀 바닥 X원점 293.5m·폭 171m, Y밴드 80.1m+63m 피치
|
||||
(밴드 n ↔ 홀 n 가정 — docs/analysis/cad-extraction.md 한계 참조).
|
||||
"""
|
||||
import io
|
||||
import math
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
|
||||
import ezdxf
|
||||
|
||||
MM = 1000.0
|
||||
FLOOR_X0, FLOOR_W = 293.5, 171.0
|
||||
BAND_Y0, BAND_H = 80.1, 63.0
|
||||
HALLS = [1, 2, 3, 4, 5]
|
||||
LAYER_KEYS = ("트렌치", "트랜치")
|
||||
MIN_RUN_M = 30.0
|
||||
POINT_STEP_M = 6.0
|
||||
ROW_SNAP_M = 1.5 # 쌍선(채널 양변) 병합 허용
|
||||
|
||||
|
||||
def main():
|
||||
src, out_sql = sys.argv[1], sys.argv[2]
|
||||
doc = ezdxf.readfile(src)
|
||||
msp = doc.modelspace()
|
||||
|
||||
# 홀별 → 채널 행(스냅된 로컬 y) → x구간 목록
|
||||
runs = {n: defaultdict(list) for n in HALLS}
|
||||
for e in msp:
|
||||
if not any(k in e.dxf.layer for k in LAYER_KEYS):
|
||||
continue
|
||||
pts = None
|
||||
if e.dxftype() == "LINE":
|
||||
pts = [(e.dxf.start[0] / MM, e.dxf.start[1] / MM), (e.dxf.end[0] / MM, e.dxf.end[1] / MM)]
|
||||
elif e.dxftype() == "LWPOLYLINE":
|
||||
p = [(q[0] / MM, q[1] / MM) for q in e.get_points()]
|
||||
if len(p) >= 2:
|
||||
pts = p
|
||||
if not pts:
|
||||
continue
|
||||
for a, b in zip(pts, pts[1:]):
|
||||
if math.hypot(b[0] - a[0], b[1] - a[1]) < MIN_RUN_M:
|
||||
continue
|
||||
if abs(b[1] - a[1]) > 0.5: # 가로 채널만(세로 피더는 M4 후속)
|
||||
continue
|
||||
my = (a[1] + b[1]) / 2
|
||||
for n in HALLS:
|
||||
y0 = BAND_Y0 + (n - 1) * BAND_H
|
||||
if y0 <= my < y0 + BAND_H:
|
||||
lx0 = max(0.0, min(a[0], b[0]) - FLOOR_X0)
|
||||
lx1 = min(FLOOR_W, max(a[0], b[0]) - FLOOR_X0)
|
||||
if lx1 - lx0 >= MIN_RUN_M:
|
||||
runs[n][round(my - y0, 1)].append((lx0, lx1))
|
||||
|
||||
sql = io.StringIO()
|
||||
sql.write(
|
||||
"-- V61: K1 홀1~5 트렌치 실측 시드 — CAD(전기,설비 트렌치.dwg) 레이어 5-트랜치 추출.\n"
|
||||
"-- 생성기: tools/cad/extract_trench_seed.py (재생성 가능·결정적). 근거: docs/analysis/cad-extraction.md.\n"
|
||||
"-- 실측: 홀당 가로 채널(쌍선 병합 중심선)·연장 실좌표. 포인트 6m 간격은 샘플링 규약.\n"
|
||||
"-- 정책: 실측 확보 홀(H1~H5)의 가정(is_assumed) 포인트를 실측 포인트로 대체. K2(H6~10)는 가정 유지.\n"
|
||||
"-- 공급 플래그는 V5 정책 유지(공동구 — 전 서비스 true·gas는 홀 보유 여부), 위치만 실측 대체.\n\n"
|
||||
)
|
||||
total_rows = 0
|
||||
report = []
|
||||
for n in HALLS:
|
||||
# 쌍선 병합: 인접(<=ROW_SNAP_M) 행을 채널 하나로
|
||||
rows = sorted(runs[n].items())
|
||||
merged = [] # (center_y, x0, x1)
|
||||
for y, spans in rows:
|
||||
x0 = min(s[0] for s in spans)
|
||||
x1 = max(s[1] for s in spans)
|
||||
if merged and y - merged[-1][0] <= ROW_SNAP_M:
|
||||
py, px0, px1 = merged[-1]
|
||||
merged[-1] = ((py + y) / 2, min(px0, x0), max(px1, x1))
|
||||
else:
|
||||
merged.append((y, x0, x1))
|
||||
report.append(f"H{n}: 채널 {len(merged)}개 " + ", ".join(f"y={m[0]:.1f} x[{m[1]:.1f}..{m[2]:.1f}]" for m in merged))
|
||||
if not merged:
|
||||
continue
|
||||
total_rows += len(merged)
|
||||
sql.write(f"-- H{n}: 실측 채널 {len(merged)}개\n")
|
||||
sql.write(f"DELETE FROM trench WHERE hall_id = 'H{n}' AND is_assumed;\n")
|
||||
values = []
|
||||
for ri, (cy, x0, x1) in enumerate(merged, 1):
|
||||
k = 0
|
||||
x = x0
|
||||
while x <= x1 + 1e-6:
|
||||
k += 1
|
||||
values.append(
|
||||
f"('H{n}-RT-{ri}-{k}', 'H{n}', ST_SetSRID(ST_MakePoint({x:.2f}, {cy:.2f}), 0), "
|
||||
f"true, true, true, true, (SELECT has_gas FROM hall WHERE id='H{n}'), false)"
|
||||
)
|
||||
x += POINT_STEP_M
|
||||
sql.write(
|
||||
"INSERT INTO trench (id, hall_id, geom, supply_power, supply_water, supply_air, supply_network, supply_gas, is_assumed)\nVALUES\n "
|
||||
+ ",\n ".join(values)
|
||||
+ "\nON CONFLICT (id) DO UPDATE SET geom = EXCLUDED.geom, is_assumed = EXCLUDED.is_assumed;\n\n"
|
||||
)
|
||||
|
||||
with open(out_sql, "w", encoding="utf-8") as f:
|
||||
f.write(sql.getvalue())
|
||||
for line in report:
|
||||
print(line)
|
||||
print(f"OK -> {out_sql} (채널 {total_rows}개)")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Reference in New Issue
Block a user