1 / 20

CH5 資料處理

CH5 資料處理. §5-1 空間資料處理. Dissolve ( 融合 ) Merge (合併) Clip (剪裁) Intersect (交集) Union (聯集). ◎5-1-1Dissolve. 根據指定欄位的屬性值 , 將屬性值相同且相鄰的地物合併為一個地物. 15. 9. 9. 15. 15. 66. 66. Dissolve. 輸入的圖層及其屬性值. 輸出圖層的圖徵及屬性值減少. 輸入輸出圖層及欄位設定. 進行 Dissolve 的圖層. 進行 Dissolve 的基準欄位. 輸出圖層. 相關統計值的運算.

Download Presentation

CH5 資料處理

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CH5 資料處理

  2. §5-1空間資料處理 • Dissolve (融合) • Merge (合併) • Clip (剪裁) • Intersect (交集) • Union (聯集)

  3. ◎5-1-1Dissolve • 根據指定欄位的屬性值,將屬性值相同且相鄰的地物合併為一個地物 15 9 9 15 15 66 66 Dissolve 輸入的圖層及其屬性值 輸出圖層的圖徵及屬性值減少

  4. 輸入輸出圖層及欄位設定 進行Dissolve的圖層 進行Dissolve的基準欄位 輸出圖層

  5. 相關統計值的運算 • Dissolve後的圖徵通常是合併數個圖徵而成 • 使用者可選擇針對被合併的圖徵屬性值進行簡易的統計運算後,成為新圖層的屬性值 • 可運算的統計值包括最大值、最小值、平均數、總和、標準差及變異數等

  6. Excerse 5-1 • 載入 Ex5-1 資料夾內的「文山區村里界.SHP」 • 利用Dissolve功能將村里界圖層內,各行政里的邊界Dissolve, 另外輸出為文山區的圖層 • 在進行Dissolve同時,請以「欄位統計」計算文山區各里的人口總合 (在 Census 欄位勾選「總合」)

  7. ◎5-1-2Merge • 將兩個圖層合併為一個 • 被合併圖層的圖徵類型需相同

  8. 輸入輸出圖層及欄位設定 進行Merge的第一個圖層 進行Merge的第一個圖層 輸出圖層

  9. Exercise 5-2 • 載入 Ex5-2\id4.shp& Ex5-2\id6.shp • 將兩個圖層合併 Merge

  10. ◎5-1-3Clip • 以指定的範圍(Clip Layer的全部範圍)去擷取輸入圖層(Input Layer)的部分圖徵 • Clip Layer:polygon • Input Layer:point、line、polygon

  11. Input,Clip及Output圖層的設定 選擇Input圖層 選擇Clip圖層 選擇輸出圖層的路徑及檔名

  12. Exercise 5-3 • 載入Ex5-3.sgp • 擷取位於文山區的便利商店 clip

  13. ◎5-1-4 Intersect • 以指定的範圍(Intersect Layer的全部範圍)與輸入圖層(Input Layer)進行交集運算 • Intersect Layer:polygon • Input Layer:point、line、polygon

  14. Input, Intersect及Output圖層的設定 選擇Input圖層 選擇Intersect圖層 選擇輸出圖層的路徑及檔名

  15. ◎5-1-5 Union • 以指定的範圍(Union Layer的全部範圍)與輸入圖層(Input Layer)進行聯集運算 • Union Layer:polygon • Input Layer:point、line、polygon

  16. Input, Union及Output圖層的設定 選擇Input圖層 選擇Union圖層 選擇輸出圖層的路徑及檔名

  17. Exercise 5-4 • 載入 Ex5-4.sgp • 將FLOODZNS與PARCEL兩個圖層進行Intersect合併 *Exercise 5-5 • 載入Ex5-5.sgp • 將FLOODZNS與PARCEL兩個圖層進行Union合併

  18. §5-2 環域分析 • 提供環域分析工具,在圖徵附近定義特定距離範圍,產生一區域來進行分析 • 被選擇的圖徵可以是點、線或是多邊形

  19. 環域分析結果:點、線、面環域 點環域 線環域 面環域

  20. Exercise 5-6 • 開啟Ex5-6.sgp • 包含三個圖層:「工業區」、「河川」與「台北」 • 利用「環域處理」將工業區圖層進行環域分析(Buffer) • 本例題希望計算出台北境內,各工業區周遭可能的環境污染範圍,因此需要利用環域處理分析的功能 • 請執行「工具」\「環域處理」 • 執行環域處理的圖層請選擇「工業區」 • 工業區周邊可能污染範圍大約是1公里左右,因此環域距離內的定值選項請選擇1000 • 將Buffer計算後的圖層輸出至任意位置,檔名為Buffer.shp • 透過Buffer計算後,已經將各工業區的點圖徵,向外擴張1000公尺的範圍 • 請將「Buffer」圖層調整至「工業區」圖層下方,以進行兩者之間的檢視比較

More Related