Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
COSCUP 17 Lightning Talk
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hsiao-Ting Yu
August 05, 2017
200
0
Share
COSCUP 17 Lightning Talk
Hsiao-Ting Yu
August 05, 2017
More Decks by Hsiao-Ting Yu
See All by Hsiao-Ting Yu
有人用了更頭大: OpenStreetMap 的社群營運挑戰
littlebtc
0
89
[COSCUP 2014] Take Back the Map to People: When OpenStreetMap Meets Taiwan Social Issues
littlebtc
0
240
[SOTM.TW 2013] The mapping status of bus lines in Taiwan
littlebtc
0
240
(Mobile) App and Open Source: Kamigami Client on Various Platforms
littlebtc
0
520
Mobile Web Issues: Limitation and Experience
littlebtc
1
310
From Rails to Node.js + Backbone: The Rewrite of TouchLimit
littlebtc
2
220
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
Automating Front-end Workflow
addyosmani
1370
200k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
The Limits of Empathy - UXLibs8
cassininazir
1
320
エンジニアに許された特別な時間の終わり
watany
106
240k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
110
A Tale of Four Properties
chriscoyier
163
24k
KATA
mclloyd
PRO
35
15k
Transcript
當資料來來了了 誰來來把它放上去 —以 OSM + 台中市⾨門牌資料為例例 Littlebtc ⼩小B Text: CC-BY-SA
Map data: © OpenStreetMap Contributors © Taichung City Government
Me • 第⼀一次 COSCUP: 2009 • 從⼩小是地圖迷 + 程式天才 •
本業寫程式,突然愛上畫地圖 • 近年年專職是議程中睡著
提供 台中市政府
None
有都市計畫圖 重劃區就IMBA啦!
1,100,788 個地址
None
街道哪裡來來?
29,573 個街道叢集 熬夜*1
None
嘗試各種 PostGIS ⿊黑魔法
熬夜*2
經過了了熬夜*3
⿊黑魔法的 Python CSV -> PostGIS • tl;dr: PostGIS + PgRouting
+ ⼀一整天嘗試當掉或卡死之後得到的魔法 • TWD97 轉 4326 • 街道作群組 unnest(ST_ClusterWithin(location, 0.001)) • pgr_PointsAsPolygon ⼤大數量量比較快 • ST_SimplifyPreserveTopology(ST_SmartConcaveHull()) 處理理其他的
後置作業 • 加上圖磚 • 放上 Google Cloud Engine • 後續改良
None
Finally • 圖磚跟 Task Manager 貼社團 • 祈禱有⼈人來來畫 3 months
ago
http://osmtm.exc.moe/ Facebook: OpenStreetMap台灣 有粉絲⾴頁、也有社團喔 來來幫忙畫 或著看看戲 https://github.com/OsmHackTW/taichung-street-tile/ ⾒見見證⿊黑魔法