วันจันทร์ที่ 18 เมษายน พ.ศ. 2559

Lab 12 Raster Model








Raster Model

      1. เปิดภาพ chon_geo



 2.       ทำการจัดกลุ่มลักษณะหิน  โดยการเปิดตาราง Attribute ของภาพ chon_geo  และสร้าง Fill เพื่อเก็บค่าคะแนน  วิธีสร้าง Fill  เลือก File >> Add Field
                 
                   ตั้งชื่อ Fill (Name : score)   ,   Type : Short Integer  ,   Field Properties : Precision = 2




    จากนั้นเลือก Select By Attribute เพื่อจัดกลุ่มชนิดหิน
-         เลือกชนิดหินกรวด


            
           -          หลังจากคลิกขวาที่คอลัมน์ score >> Field Calculator.. (เพื่อจัดกลุ่ม)  



-          ตั้งชื่อกลุ่มหินกรวด ชื่อว่า  “ 1 ”  >> OK



                  จากนั้น เลือก  Clear select  ( เพื่อยกเลือกตารางชนิดหินกรวดที่เลือกไว้ )



3. จัดกลุ่มหินตะกอน
เลือก Select By Attribute เพื่อจัดกลุ่มชนิดหิน
- เลือกชนิดหินตะกอน




               - หลังจากคลิกขวาที่คอลัมน์ score >> Field Calculator.. (เพื่อจัดกลุ่ม)




-          ตั้งชื่อกลุ่มหินตะกอน ชื่อว่า  “2 ”  >>  OK




จากนั้น เลือก  Clear select  ( เพื่อยกเลือกตารางชนิดหินตะกอนที่เลือกไว้ )



4. จัดกลุ่มหินทราย
เลือก Select By Attribute เพื่อจัดกลุ่มชนิดหิน

-          เลือกชนิดหินทราย   >>   Apply



              -          หลังจากคลิกขวาที่คอลัมน์ score >> Field Calculator.. (เพื่อจัดกลุ่ม)


-          ตั้งชื่อกลุ่มหินตะกอน ชื่อว่า  “3 ”  >>  OK



จากนั้น เลือก  Clear select  ( เพื่อยกเลือกตารางชนิดหินทรายที่เลือกไว้ )



5.  แปลงข้อมูลจาก  Shapefile  เป็นข้อมูล  Raster

-          ไปที่  Arc Toolbox  >>  Conversion Tool  >>  To Raster   >>  Polygon to Raster



Input : Chon_geo   //   Value field : score   //    Out put : Geo_class  //  Cell size : 40 >> OK




ภาพที่ทำการจัดกลุ่มชนิดหินเรียบร้อยแล้ว  ( 3 กลุ่ม )




    6. เปิดข้อมูล Chon_elv  เพื่อทำ  IDW  




-          การทำ  IDW (ชั้นความสูง)
Arc Toolbox  >>   Spatial Analyst Tools  >>   Interpolation  >>  IDW




Input : Chon_elv   //   Z value field : ele   //   Output Raster : dem  //  Output cell : 40

จากนั้นเลือก Environments..



ไปที่  Processing  Extent  >>  Extent ( เลือก  Chon_pro )   >>  Raster Analysis >>   Mask  ( เลือก Chon_pro )  >>  OK  >> OK




      ภาพหลังจากการทำ  IDW



7. การทำ Slope
ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>   Interpolation  >>  Surface  >>  Slope
จากนั้น  Input :  dem  //  Output raster : slope_dem2  //   Output measurement (optional) :
DEGREE  >>  OK




ภาพที่ได้จากการทำ  Slope




8.  Reclassify
ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>  Reclass  >> Reclassify
Input : Slp_de  //  Reclass field : Value
-          กดเลือก classify
-          Classes : 4  //  Method : Manual  //  Break Values : 5 , 15 , 30 (ตามลำดับ)




-          จัดกลุ่ม  New Values : 3 , 2 , 1 , 0  ตามลำดับ  >> Output : Slp_cls  >>  OK



ภาพ  slope ที่ทำการ  Reclass เรียบร้อยแล้ว




       9. เปิดข้อมูล Chon_tran  เพื่อทำ  Euclidean Distance  




-          การทำ  Euclidean Distance 
Arc Toolbox  >>   Spatial Analyst Tools  >>  Distance  >>   Euclidean Distance 

Input : Chon_tran   //   Output distance raster : dis  //  Output cell size: 40
จากนั้นเลือก Environments.. 



ไปที่  Processing  Extent  >>  Extent ( เลือก  Chon_pro )   >>  Raster Analysis >>   Mask  ( เลือก Chon_pro )  >>  OK  >> OK




ภาพหลังจากการทำ  Euclidean Distance  



       10. Reclassify
ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>  Reclass  >> Reclassify

Input : dis  //  Reclass field : Value

-          กดเลือก classify
-          
Classes : 4  //  Method : Manual  //  Break Values : 1000 , 2000 , 3000 (ตามลำดับ)




-          จัดกลุ่ม  New Values : 3 , 2 , 1 , 0  ตามลำดับ  >> Output : Reclass_dis1  >>  OK



ภาพที่ทำการ  Reclass เรียบร้อยแล้ว



11.  เปิดข้อมูล Chon_vill  เพื่อทำ  Euclidean Distance 




-          การทำ  Euclidean Distance 
Arc Toolbox  >>   Spatial Analyst Tools  >>   Distance  >>   Euclidean Distance 

Input : Chon_vill   //   Output distance raster : vill  //  Output cell size: 40

จากนั้นเลือก Environments..



ไปที่  Processing  Extent  >>  Extent ( เลือก  Chon_pro )   >>  Raster Analysis >>   Mask  ( เลือก Chon_pro )  >>  OK  >> OK




ภาพหลังจากการทำ  Euclidean Distance  




      12.  Reclassify
ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>  Reclass  >> Reclassify

Input : vill  //  Reclass field : Value

-          กดเลือก classify
-          Classes : 4  //  Method : Manual  //  Break Values : 1000 , 2000 , 3000 (ตามลำดับ)




-          จัดกลุ่ม  New Values : 3 , 2 , 1 , 0  ตามลำดับ  >> Output : Reclass_cls  >>  OK





ภาพที่ทำการ  Reclass เรียบร้อยแล้ว




       13.  จัดเรียงข้อมูลตามลำดับ  ดังภาพ




14.       ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>  Map Algebra  >> Raster Calculator
ใส่สูตรเพื่อคำนวณค่าทางสถิติของภาพ  ดังภาพ  >>  Output : sum  >>  OK





ภาพที่คำนวณทางสถิติแล้ว



       15. Reclassify
ไปที่  Arc Toolbox  >>   Spatial Analyst Tools  >>  Reclass  >> Reclassify

Input : sum  //  Reclass field : Value

-          กดเลือก classify
-          
Classes : 4  //  Method : Manual  //  Break Values : 1.166667 , 2.083333 , 3 (ตามลำดับ)




-          จัดกลุ่ม  New Values : 3 , 2 , 1 , 0  ตามลำดับ  >> Output : final  >>  OK




     16. ภาพที่ทำการ  Reclass  เรียบร้อยแล้ว



ไม่มีความคิดเห็น:

แสดงความคิดเห็น