feat: glTF 3D 고도 — DEM 표고·IFC 부재 Z 로 점을 지형/교량 위에 얹기 - #6
Merged
Conversation
기존엔 점이 평면(Z=0/값과장). z_source 로 실 미터 고도를 부여: - 'dem': DEM 표고 샘플(단일 래스터 tif/hgt/vrt 또는 SRTM 타일 디렉터리). rasterio. 점이 실 지형 위에 3D로 얹힘(CHYG 71~347m 확인). - 'element': IFC 부재 상단 Z(bbox_max z=데크 레벨). guid_map_from_alignment 이 점별 element_z 를 함께 반환(GlobalId 결합점을 교량 데크 위에 정확히 얹음). - 'value'/'flat': 기존. - gltf_export._sample_dem()/_srtm_tile(): SRTM 타일 디렉터리 자동 타일선택·/vsizip 샘플, void 처리. - guid_map_from_alignment summary['element_z']: 점별 부재 상단 Z. - CLI: --gltf-z-source flat|value|dem|element, --gltf-dem PATH. 뷰어 HUD 에 고도 소스 표시. 검증: 실 CHYG DEM 3D 뷰어 브라우저 렌더(지형 기복 확인). 테스트 +2(dem 표고 범위·element 데크 Z=9m). 코어 venv 581 passed / 0 failed(rasterio·pyproj 의존분 스킵). 주: PS/DS 산란체 실고도(PSI 잔차높이 Δh)는 SARvey/StaMPS 높이역산 필요 — 별도. 현 dem 은 지형 레벨, element 는 데크 레벨. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EN8ND36zFNxn8mDhVBSgWe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
질문
"교량 위에 얹히게 3D로 고도까지 도출해서 DS/PS point 도출 가능하지?" → 가능. 기존엔 점이 평면(Z=0)이었는데 실 미터 고도를 부여한다.
변경 —
--gltf-z-sourcedemelementvalue/flat_sample_dem()/_srtm_tile(): SRTM 타일 디렉터리 자동 타일선택·/vsizip샘플·void 처리.guid_map_from_alignmentsummaryelement_z: 점별 부재 상단 Z(데크).--gltf-z-source,--gltf-dem. 뷰어 HUD 에 고도 소스 표시.검증
남은 것(정직)
PS/DS 산란체 **실고도(PSI 잔차높이 Δh)**는 SARvey/StaMPS 높이역산 필요 — 별도 단계. 현
dem=지형 레벨,element=데크 레벨. 두 방법으로 이미 "교량/지형 위에 얹기"는 됨.🤖 Generated with Claude Code