2015年11月26日 星期四

實務作業二_103428079_林佳章


題目一:

請依照檔案2框界範圍.txt 中的範圍(TWD67),裁剪出QPESUMS資料,製作連續10筆雨量等值主題圖。

    Step1.
              TWD67二度分帶                       ===>      WGS84
              左上229020,2690000                              120.801454293435,24.3138351634651
              右下344504,2600000                              121.933411917257,23.4984912753818
    Step2.
              QGIS
              加入影像圖層 開啟asc檔案
              上方工具列 影像(R)=>取出=>裁剪=>輸入座標=>確定
              重複十次裁切完成
    Step3.
              上方工具列 影像(R)=>取出=>等高線=>選取裁切後的圖層
              重複十次等高線完成
    Step4.
              製作主體圖並加入統計資料  完成.

    主題圖






題目二:

請依照3樹湖溪排水系統範圍圖(TWD97)的集水區範圍,計算出集水區平均降雨量,繪製成為主題圖,圖中必須包含連續10筆資料的集水區平均雨量歷線。 

    Step1.
              將裁切後的asc檔轉存成xyz
              上方工具列 影像(R)=>轉換=>轉換格式
              輸出格式選擇ASCII Gridded XYZ(*.xyz  *XYZ) 
    Step2.
              QGIS
              加入分隔文字圖層 
              調整讀取設定 取選空格 作為分隔符號
              讀取十張圖
    Step3.
              加入向量圖層 開啟 樹湖溪排水系統範圍
              在圖層上右鍵=>存檔為=>選擇WGS84座標系統
    Step4.
              上方工具列 向量(o)=>地理運算工具(G)=>交集(Intersect)
              將  樹湖溪排水系統範圍 與 十張圖 交集

              交集前:

               交集後:

    Step5.
    上方工具列 向量(o)=>分析工具=>基本統計
               計算後得到平均值
    

主題圖



    

2015年11月17日 星期二

week09_103428079_林佳章

1.上課心得
    聽同學報告

2.本週作業

上週作業

使用 函數編輯器 寫一個getZone的函數
語法跟Python一樣

#-*- coding: utf-8 -*- 
from qgis.core import *
from qgis.gui import *

@qgsfunction(args='auto', group='Custom')
def getZone(value, feature, parent):
 
 Zone ={
   u'可耕地':[11,12,13],
   u'靜止水體':[30,2031,2032,2033,9010],
   u'林業':[20],
   u'河道':[2011],
   u'草地':[42,3111,5011,5012,5013,5014,9020,9040],
   u'裸露地':[2040,7011,7021,9030,9050,9060,9071],
   u'不透水層':[41,50,1010,1021,1022,1023,1024,1025,1031,1032,1033,1034,1035,1036,1037,1038,1039,1041,1042,1043,2012,2013,2014,2020,3011,3012,3021,3022,3023,3024,3030,3031,3032,3041,3042,3043,3044,3045,3050,3060,3070,3081,3082,3083,3084,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3112,3120,3030,3140,4010,4020,4030,5020,5030,6010,6020,7022,8000,9072,9073]
 }
 
 for key in Zone:
     if value in Zone[key]:
         return key

Python語法:

    串列(list)
          宣告
                  type = [11, 12 ,13]
          取值
                  type[0] => 11
                  type[1] => 12
       判斷式
                 11   in  type      => true
                 633 in  type      => false

    字典(dict)
                   由key:value配對的資料型態
                   key值必須為唯一 value則沒有限制
            宣告
                    d = { 1:"a" , 2:"b" , 'pass':"You can't pass!"}
            取值
                   d[1] => a
                   d[2] => b
 範例
假設 value = 11
 for key in Zone:             # key = u'可耕地'
     if value in Zone[key]:   # Zone[u'可耕地']的value[11,12,13] 
                                     # value in Zone[key] 等於 11 in [11,12,13] =>true 
         return key           # true : 回傳key值 u'可耕地'





3.國外網站


Getting Started With Python Programming

http://www.qgistutorials.com/en/docs/getting_started_with_pyqgis.html

2015年11月10日 星期二

week08_103428079_林佳章

1.上課心得

聽其他同學報告作業

2.作業




 建表 一一比對

3.國外網站

InSAR Measurements of Terrain Stabilit in Canada’s North

Scientists at the Canada Centre for Remote Sensing have been working for three years
to advance the processing of satellite radar data to measure the stability of terrain in
Canada’s permafrost zones. 
 
加拿大遙測中心的科學家已經花了三年的時間使用雷達測量加拿大永凍層 的地質穩定性
 
It is their hope that satellite InSAR can reliably measure the seasonal and year-to-year displacements of the ground with the aim of assisting geologists, engineers, biologists and local communities to further understand the
seasonal and long term stability of land in the North.

他們希望藉由InSAR的技術可以可靠的測量地表季節性位移以協助地質學家 工程師 生物學家
和當地團體了解北方土地季節性和長期穩定性。




Ground movement over Herschel Island, Yukon, measured over a one year period
by RADARSAT-2 InSAR. 
 
 使用RADARSAT-2 InSAR.  觀測一年的Herschel Island, Yukon地區的高程變化
 
The highly unstable north-east coast, where coastal erosion is weakening the permafrost, is clearly delineated, as well as other areas of instability on the island, some of which were not previously known.

高度不穩定的東北沿海地區, 海岸正在侵蝕凍土可以明確地被界定出來,以及島上其他不穩定的區域,其中有一些是以前未知的


http://www.nrcan.gc.ca/sites/www.nrcan.gc.ca/files/earthsciences/files/pdf/insar_north-eng.pdf


2015年11月3日 星期二

week07_103428079_林佳章

2.作業


3.國外網站

InSAR Measurements of Terrain Stabilit in Canada’s North

應用InSAR技術測量加拿大北部的地質穩定性

The Issue

 議題

In Canada’s North,
people reside, work and travel on terrain often underlain by frozen soil or permafrost.
在加拿大北部,
人們居住工作旅遊的土地經常是結凍的土地或是永凍層

The seasonal freeze and thaw of the surface active layer leads to cyclical subsidence and heave,
地表層由於季節性的凍結與溶解,導致週期性的沉降與隆起

 which represents a significant challenge to the design and maintenance of northern infrastructure.
這彰顯了北部地區基礎建設設計與維護的挑戰性

Today, as the Arctic warms and permafrost degrades,
there is an increased urgency to understand this change and give Northerners the tools to adapt.

如今,北極暖化及永凍層降
北方人需要工具去了解這些變化及適應