수치지형도의 등고선과 표고점, 삼각점, 수준점을 이용하여 TIN을 생성하는 과정에 대한 설명이다.
Arc/nfo Workstation의 AML을 이용한다.
/* ============================================= */
/* Create Tin Using DXF Files */
/* 2010. 3. 26. Fri. dxf2tin.aml */
/* Contents */
/* 1. Dxf Files이용하여 Coverage 생성 */
/* - 7111, 7114 Layer (등고선) */
/* - 7217, 7311, 7312 Layer (표고점,삼각점,수준점) */
/* 2. Arc, Point Features 속성 생성 */
/* 3. Items Joining */
/* 4. Create TIN */
/* 5. Define Projection Information */
/* =========================================== */
& type ===================================================
& type Create Coverage Using DXF Files
& type ===================================================
/* Arc: dxfarc */
/* Usage: DXFARC {text_width} {attrib_width} */
dxfarc 37707041.dxf ct041
7111 arcs
7114 arcs
end
y
dxfarc 37707042.dxf ce041
7217 inserts
7311 inserts
7312 inserts
end
y
& type
& type ===================================================
& type Building Line & Point Features
& type ===================================================
/* Arc: build */
/* Usage: BUILD {POLY LINE POINT NODE ANNO.}} */
build ct041 line
build ce041 point
& type
& type ===================================================
& type Items Joining For ct041, ce041 (Arc, Point Coverage)
& type ===================================================
/* Arc: joinitem */
/* Usage: JOINITEM */
/* {start_item} {LINEAR ORDERED LINK} */
joinitem ct041.aat ct041.acode ct041.aat ct041-id ct041-id linear
joinitem ce041.pat ce041.xcode ce041.pat ce041-id ce041-id linear
& type
& type ===================================================
& type Create TIN Using Contour, Elevation Coverage
& type ===================================================
/* Arc: createtin */
/* softclip */
/* cover bdaoi poly -9999 softclip */
/* Usage: CREATETIN {weed_tolerance} {proximal_tolerance} {z_factor} */
/* {bnd_cover xmin ymin xmax ymax} {device} */
createtin tinboth
cover ct041 line dxf-elevation mass
cover ce041 point dxf-elevation mass
cover bdaoi poly -9999 softclip
end
& type
& type ===================================================
& type Define Projection Information to TIN (Ex. TM Center)
& type ===================================================
/* Arc: projectdefine */
/* Usage: PROJECTDEFINE */
projectdefine tin tinym
projection transverse
units meters
spheroid bessel
datum toy_b three
parameters
1
127 00 10.405
38 00 00
200000
500000
& type
& type ===================================================
& type Delete Line & Point Coverages
& type ===================================================
/* Arc: kill */
/* Usage: KILL {ARC | INFO | ALL} */
Kill ct041 all
kill ce041 all
출처: https://gisinside.tistory.com/2 [Story in G.I.S:티스토리]