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
淺談開放街圖(OpenStreetMap)
及其生態系
About me
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →The Basics
Compare to Google Maps
軟體資源有幾個層次
原始資料(從現實世界取得的資訊)
服務(API、加值過後的資料)
產品(最終使用到的軟體)
Google Map 是「產品」
原始資料(你接觸不到)OSM 是「資料庫」
產品Everyone owns OSM
但不擁有
How it works?
Why it rocks?
資料長什麼樣?
OSM 只包含三
取得資料
https://openstreetmap.org/node/7602886831
https://openstreetmap.org/api/0.6/node/7602886831
https://openstreetmap.org/api/0.6/way/204493492
https://openstreetmap.org/api/0.6/relation/3756152
依照條件取得資料
依照地名/關鍵字: osm.org
https://www.openstreetmap.org/search?query=
tag 統計: taginfo
http://taginfo.openstreetmap.org/
依照 type/tag: Overpass
https://overpass-turbo.eu/
依照貢獻方式: OSM Change Analyzer
https://osmcha.mapbox.com/
取得整份資
https://planet.openstreetmap.org/pbf
http://download.geofabrik.de/asia/taiwan-latest.osm.pbf
自行分析資料
如何使用?
切換到 OSM 生態系
Why?
別跟錢錢過不去!
開發口罩地圖 他收60萬帳單驚呆了

模式1
底圖 + 資料
Case 展示點/線/面資料
口罩地圖
使用相關圖磚服務
使用相關框架
Switch to OSM
https://switch2osm.org/the-basic
Integrate OSM by default
模式2
在圖磚中塞入向量資料
Case: 自由變換使用語言
Example

MVT (Mapbox Vector Tile):
使用 Protobuffer 格式來紀錄地理資料
Vector Tile Provider
依照框架調整渲染方式:
使用線上編輯器調整樣式:
模式3
擁有自己的圖磚服務!
想像一下,在底圖以外
要呈現的資料有上百萬個!
Case: 台電電桿品質檢視
Brandon Liu COSCUP 2023 (07/30)
PMTiles and OSMExpress
OSMExpress
PMTiles
其它應用方式
手機/電腦端
Contritubion 增刪
查改