or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
自幹向量圖磚 - 謝晉凡
由於場地問題,第二天我們移動到另一棟大樓啦!議程教室變動請見網站上的議程表。
歡迎來到 https://hackmd.io/@coscup/2019 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。
本次演講不會談到太技術細節的部分,主要是提供github上的資源連結
google map去年開始要收費,所以很多原本用google SDK的開發者開始找替代圖資來源:
圖磚的概念:
將圓形的地球投影成平面後,再切分成等分的正方形
向量圖磚:
到client端才做渲染,一種圖磚可以有多種用途
詳細介紹:mapbox/vector-tile-spec
什麼時候適合用向量圖磚:
各種圖磚技術:
MVT (Mapbox Vector Tile)-今天要練習的技術
VTM
Geojson(通用格式), Topojson(較前一項嚴謹)
Mapnik Vector Tile
ArcJSON, GeoBSON, Arc GeoServices BSON, GeoAMF Arc GeoServices BSON
https://github.com/opensciencemap/vtm
https://github.com/mapbox/awesome-vector-tiles
https://developers.google.com/protocol-buffers/
MVT官方文件有詳細介紹圖磚如何產製
https://github.com/omniscale/imposm3
https://github.com/openmaptiles
前面都是在介紹工具跟各流程技術,以下操作步驟使用OpenMapTile-開箱即用的工具鏈
ppt-23-產製完圖磚就可以直接發布+自己serve
優點:
可直接看到原始資料,做渲染前可以先確認各項數值
坑點:
一、每當OSM有更新時,都必須自己手動更新圖資,但官方說明文件寫的不是很完整
可參考講者自己fork的自動更新repo(拍勢,之後會把README補充得完整一點)
二、資料來源為多語系的wikidata,所以dump資料時要等很久…
講者有去提issue,不過建議就是只抓台灣的資料這樣
$ make serve-taiwan
Commercial solutions:
Mapbox tile Service
Nextzen Tile Service
Maptiler
推薦工具:t-rex
適合用在只想要做少數資料集的狀態
tags:
COSCUP2019
OpenStreetMap x Wikidata
IB503