CAD table to GIS table


CAD to GIS

ข้อมูลเขียนแบบใน CAD สามารถนำมาเปิดใน ArcView ได้ตั้งแต่ต้นปี 1990

คนส่วนใหญ่ส่วนมากมีความต้องการแค่นำข้อมูลเขียนแบบเหล่านั้นมาวางซ้อนทับกับข้อมูลแผนที่อื่นๆ

ข้อมูลเขียนแบบนั้น ไม่ได้มีพิกัดภูิมิศาสตร์ติดมาด้วย(เพราะไม่ได้มีการใส่ค่าให้ตั้งแต่แรก)

ดังนั้นก่อนจะนำงานเขียนแบบมาซ้อนทับกับแผนที่ที่มีค่าพิกัดของเราก็ต้อง import โปรเจคชั่นกับดาตัมจากไฟล์แผนที่ที่เรามีอยู่ก่อน

จากนั้นก็ให้ทำ Georeference ซึ่งใน ArcGIS 9.x ก็มีเครื่องมือให้เราใช้ได้

การนำข้อมูลเขียนแบบมาวางนั้นไม่ยุ่งยากเท่าไหร่ สำหรับความต้องการของบางคน แค่เพียงซ้อนทับบนแผนที่ได้ก็จบ

แต่สำหรับคนที่ต้องการนำข้อมูลนั้นไปใช้ต่อ ความยุ่งยากมันจะมาอยู่ตรงที่ Attribute data ซึ่งรูปแบบของมันยังไม่สามารถเรียกได้ว่าเป็นแบบ GIS

ถ้าต้องการให้ตัวข้อมูลเขียนแบบนั้น สามารถนำมาทำการคำนวณ หรือวิเคราะห์ต่อได้ในแบบ GIS ค่อนข้างจะมีวิธีการที่ยุ่งยาก

อย่างไรก็ให้ลองข้างล่างนี้ ซึ่งครั้งหนึ่งเคยลองทำส่งครู

ถ้าใครอยากลองทำ ก็น่าจะลองไปหาโหลด ArcScripts ของ ESRI มาช่วย

 

I have been thinking about how to convert CAD data to GIS format and you have had some questions about making CAD table to be in GIS table for area calculation.

I have found out that polygon/polyline type in 'Shape' column from exporting CAD layer as shapefile is polygon/polyline "ZM" because it has elevation values which always come with CAD data format. You may try to export a polygon layer directly from CAD (c-text2.dwg polygon) in ArcGIS to polygon.shp and look at its attribute then you will see it.
 
Moreover, when I look at the 'Entity' column I thought these polygons were made from "closed polylines". This is the reasons why there are some buildings around Student Housing could not be created as polygons because some polylines were not closed polylines.

To make all buildings can be created as polygon and calculated their areas, line features in polyline shapefiles from CAD need to be modified by Modify feature in Editor and Advance Editing tools. When all building outlines became closed polylines, we will able to convert them to polygon layer.

Since my ArcGIS (student edition) doesn't have 'Feature to Polygon', function which suppose to be located in Data Management tool, I have to use my own method by Building polygon in ArcInfo Workstation which the shapefile need to be converted into Coverage format and Polyline Z will be converted to regular Polyline. After using 'CLEAN...(Poly)' command in ArcInfo, Area and Perimeter of each particular polygon was created automatically and it was in Sq.feet because I defined the coordinate system as State Plane CA V Feet since I did georeferencing. I have checked the units of the Area by re-calculating area again in ArcGIS.
Name of each row/polygon feature was added by hand because it was better than trying to join their tables.
 
Picture#1 attribute from exporting CAD polygon layer compare with attribute from editing closed polylines and converting into coverage to eliminate 'Z', building polygon and then back to shapefie again
 
Picture#2 polygon shapefile layer from CAD which some areas were missing
 
Picture#3 polygon shape file layer after doing closed polylines, converting to coverage, cleaning &building Polygon, converting back to shape file again and adding name of buildings as showing in the table below
 

From CAD Polyline Layer

METHOD

SOFTWARE

Export CAD's polyline layer to SHP ArcGIS 9.2
Modify features ArcGIS 9.2
Convert SHP to ArcInfo COVERAGE ArcInfo8.2
Clean & Build POLYGON ArcInfo8.2
Calculate area in square feet ArcGIS 9.2
Add name to each polygon feature ArcGIS 9.2

 

 

คำสำคัญ (Tags): #cad#gis
หมายเลขบันทึก: 172197เขียนเมื่อ 22 มีนาคม 2008 09:41 น. ()แก้ไขเมื่อ 6 กันยายน 2013 18:52 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (1)

สวัสดีค่ะ คุณThanika Pancharat

ได้เข้ามาอ่านบทความที่คุณโพสไว้

เดิมทีจะค้นหาเกี่ยวกับ การเขียน script หรือพื้นฐานการเขียนโปรแกรม

เพราะเบื่อการที่จะต้องทำงาน gis ที่วันๆ เอาแต่คลิกๆๆ ทำแบบนี้มา 4-5 ปีแล้ว

เหนื่อยจังอยากช่วยออฟฟิตหางานด้วยหล่ะ

เผื่อว่าเราทำอะไรที่มัน advance กว่าที่เป้นอยุ่แล้วจะมีอะไรที่มันดีขึ้น (หวังว่า)

ไม่ทราบว่าคุณ Thanika Pancharat สนุกกะงาน gis มากน้อยแค่ไหนคะ

ที่โน้นคงจะมีอะไรให้ทำสนุกๆ แน่ๆเลย (ช่ายป่ะ )

เด๋วว่างๆ จะเข้ามาอ่านอีกนะคะ

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท