January 15-16, 2018 Using QGIS : 人口地圖繪製 工作坊 主辦單位 : 國立台灣大學人口與性別研究中心 國立台灣大學地理環境資源學系 教學網址 :http://wenlab.geog.ntu.edu.tw/qgis_carto/ 授課教師 : 溫在弘 Professor, NTU Geography 實習助教 : 陳威全 Ph.D. Candidate, NTU Geography 郭飛鷹 Ph.D. Student, NTU Geography
課程內容概述 1727 年荷蘭人繪製的台灣地圖 1/15: 上午 (10:00am-12:00pm, 2 hours) 1. QGIS 基本環境介紹 2. 地圖的基本原則與要素 ( 投影與座標系統 比例尺設定與圖例設計 ) 3. 地圖實作 : 第一次繪製的台灣地圖 ( 北方一定在地圖的上方嗎?) 下午 (1:00pm-4:00pm, 3 hours) 1. 描述人口地理分布的基本原則 2. 地圖實作 : (a) 點子圖 Dot Map (b) 面量圖 Shaded Map (c) 泡泡圖 Bubble Map
課程內容概述 1/16: 上午 (10:00am-12:00pm, 2 hours) 1. 人口統計地圖呈現原則 2. 地圖實作 : 圓餅地圖 (Pie Chart Map) 長條地圖 (Bar Chart Map) 下午 (1:00pm-4:00pm, 3 hours) 1. 如何描述人口遷徙的空間分布 2. 地圖實作 : 流動地圖 Flow Map 3. 非傳統的地圖呈現 : 面積變形圖 Cartogram
課程提供的資料 twn_population.shp 台灣鄉鎮人口統計 taiwan_county.shp 台灣縣市邊界 nursing_institute.shp 台灣縣市產護機構統計 foreign_marriage.csv 台灣縣市外籍配偶統計 CrudeFlow2015.xlsx 國際原油交易 country.shp 世界國家邊界 台灣人口相關的圖資來源 : 國土資訊系統社會經濟資料服務平台 https://segis.moi.gov.tw/
GIS 圖資檔案的概念 空間資料 屬性資料
GIS 圖資檔案 (ESRI Shapefile 格式 ) (optional) code page, 屬性字元編碼 (required) 屬性資料表 (optional) 投影座標檔 (optional) 投影座標檔 (for QGIS) (required) 空間資料檔 (required) 幾何索引檔 https://zh.wikipedia.org/wiki/shapefile
人口資料來源社會經濟資料服務平台 https://segis.moi.gov.tw/
人口資料來源內政資料開放平台 http://data.moi.gov.tw/moiod/default/index.aspx
地圖座標 taiwan_county.shp 台灣縣市邊界
台灣的座標系統 TWD97 TM2 Taiwan Datum (TWD) 台灣的大地基準 本初子午線 國際地球參考框架 ( International Terrestrial Reference Frame, 簡稱為 ITRF) ITRF 為利用全球測站網之觀測資料成果推算所得之地心坐標系統 http://georepository.com/datum_1026/taiwan-datum-1997.html
台灣的二度分帶座標 TM2 The Secant case of the Transverse Mercator (TM)
台灣的二度分帶座標 TM2
台灣的二度分帶座標 TM2: 投影參數 Latitude origin: 0 degree Central meridian 121 degrees E ( 台灣本島, 東引 ) 119 degrees E ( 澎湖, 金門, 馬祖 ) Scale factor: 0.9999 False easting: 250,000 meters False northing: 0 meter
地圖實作 ( 預期成果 ): 台灣縣市圖
2/15 下午課程 Mapping: where is the most? 台北市人口 哪裡最多?
人口地圖 : 台北市的人口哪裡最多?
人口地圖常見的表現方式 1 點子圖 Dot Map
The Racial Dot Map: One Dot Per Person for the U.S. The map displays 308,745,538 dots, one for each person residing in the United States at the location they were counted during the 2010 Census. https://demographics.virginia.edu/dotmap/
計算老年人口數 (age > 65)
產生隨機點
產生隨機點 : 設定屬性欄位
地圖實作 ( 預期成果 ): 台灣老年人口分布圖 ( 點子圖 ) ( 北部地區局部放大圖 )
人口地圖常見的表現方式 2 面量圖 Shaped Map
計算老年人口密度
地圖實作 ( 預期成果 ): 台灣老年人口分布圖 ( 面量圖 )
The devil is in the details 台灣人口分布圖 Equal Interval Quantile Natural Breaks
Classification Schemes
人口地圖常見的表現方式 3 Bubble Map https://www.espatial.com/articles/create-a-bubble-map
建立行政區的幾何中心點 centroid
地圖實作 ( 預期成果 ): 台灣老年人口分布 ( 泡泡圖 )
Comparisons: 人口地圖常見的表現方式 Dot map Shaped map Bubble map
1/16 上午課程統計地圖 : 長條圖與圓餅圖
建立縣市單位的統計圖資 # 情境 1 Dissolve 鄉鎮統計圖資 縣市統計圖資 縣市統計的圖資 # 情境 2 縣市統計表格 Join 縣市統計圖資
安裝 QGIS 套件 : Dissolve with stats
Using Dissolve with stats
Dissolve
地圖實作 ( 預期成果 ): 統計地圖 -- 長條圖與圓餅圖 (dissolve)
Data Join foreign_marriage.csv 台灣縣市外籍配偶統計
縣市統計的圖資
地圖實作 ( 預期成果 ): 統計地圖 (data join)
2/16 下午課程 : 面積變形圖與流動地圖
http://www.worldmapper.limited/
http://www.nytimes.com/packages/html/politics/2004_electionresults_graphic/
面積變形地圖 Cartogram
安裝 QGIS 套件 : Cartogram
Cartogram in QGIS
地圖實作 ( 預期成果 ):Cartogram
area 流動地圖的基本概念 area
安裝 QGIS 套件 : FlowMapper
Generating flow lines in QGIS
International Crude Oil Flow
Flow Data: nodes country.shp 世界國家邊界 CrudeFlow2015.xlsx 國際原油交易
Flow Data: links CrudeFlow2015.xlsx 國際原油交易 單位 : 百萬噸
Data Preparation: Node and Link files
Flow Mapping
地圖實作 ( 預期成果 ):Flow Mapping
地圖實作 ( 預期成果 ):Flow Mapping ( 等距方位投影 ) UN Logo
Review 點子圖 Dot Map (reflecting density) 面量圖 Shaded Map (graduated color) 泡泡圖 Bubble Map (graduated size) 統計地圖 : 圓餅圖與長條圖 Pie Chart vs. Bar Char Maps 面積變形地圖 Cartogram 流動地圖 Flow map
January 15-16, 2018 That s all for 2-day workshop; Thanks for participation in the workshop. 主辦單位 : 國立台灣大學人口與性別研究中心國立台灣大學地理環境資源學系 溫在弘 Tzai-Hung Wen, Ph.D. 國立台灣大學地理環境資源學系教授 E-mail: wenthung@ntu.edu.tw