14
手把手製作主題地圖 Kagami 2017/08/23 in PunPlace

Building theme map step by step

Embed Size (px)

Citation preview

Page 1: Building theme map step by step

手把手製作主題地圖Kagami

2017/08/23 in PunPlace

Page 2: Building theme map step by step

2

“撈取”所需資料

Page 3: Building theme map step by step

3

Over Pass API● 一種為開放街圖格式特製的查詢語言● http://overpass-api.de/● 語法分為

– Overpass XML– Overpass QL

● 需有一定程式基礎

Page 4: Building theme map step by step

4

Over Pass Turbo● 視覺化查詢結果的網站● https://overpass-turbo.eu/● 強大的快速查詢介面

– 自動產生 Overpass API– 不須程式設計背景,懂英文即可

● 可儲存、分享查詢● 多元的資料匯出方式

Page 5: Building theme map step by step

5

查詢你所要的資料● 必要條件

– 先熟悉開放街圖的資料格式– 確定要查詢的標的物

● 使用 Overpass Turbo 查詢 !● 過濾更多資料

– 新增更多標籤● 準備匯出

Page 6: Building theme map step by step

6

查詢你所要的資料 (2)● 以找出所有 T-Bike 站點為例● 所需條件

– 是腳踏車租借點– 屬於 T-Bike 系統– 在臺南市境內– 只要找點 (Node)

Page 7: Building theme map step by step

7

查詢你所要的資料 (3)● 查詢語法建立

– 標籤 (A=B)– And 和 Or– 過濾元素 (type:node)– In ( 在區域內尋找 )

● 執行 !

Page 8: Building theme map step by step

8

地圖的呈現

Page 9: Building theme map step by step

9

UMap● 以開放街圖為底,可製作主題式的地圖服務● https://umap.openstreetmap.fr/zh-tw/● 需使用開放街圖帳號登入● 可自訂

– 繪製圖形– 匯入資料

● 可動態更新 !

Page 10: Building theme map step by step

10

資料放置入地圖中● 在 UMap 中,新增地圖● 回到 Overpass Turbo ,選擇匯出● 複製新頁面內的超連結

Page 11: Building theme map step by step

11

資料放置入地圖中 (2)● 進入編輯模式,按右圖選擇

– 先選 [ 圖層管理 ]– 再選 [ 編輯圖層 ]– 若沒有圖層則新增一個

Page 12: Building theme map step by step

12

資料放置入地圖中 (3)● 把複製的網址貼到紅色框內● 格式選擇 [OSM]● 動態按鈕記得打開● 地圖會刷新就可看到結果● 沒有顯示 ?

– 網址可能有誤– 格式選錯– UMap 載入太慢

Page 13: Building theme map step by step

13

資料放置入地圖中 (4)● 如果要匯入固定資料 ?● 選擇 [ 匯入資料 ]● 支援各種格式● 也可以貼上 Overpass 的網址

– 但資料不會更變 !!

Page 14: Building theme map step by step

14

修改地圖● 美化你的地圖

– 右邊選擇 [ 設定 ]– 全域設定

● 各圖層也可分別設定● Enjoy And Sharing!