Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Oepn Street Map Batch edting
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Rex Tsai
November 09, 2013
Programming
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Oepn Street Map Batch edting
Rex Tsai
November 09, 2013
More Decks by Rex Tsai
See All by Rex Tsai
开放原码手机操作系统 Ubuntu Phone 架构、移植与刷机
chihchun
0
400
台灣開源社區淺談 (Open Source and Free Software community in Taiwan)
chihchun
0
250
Screencasting
chihchun
2
3.4k
以開源軟體與 Open Street Map 規劃登山行程
chihchun
1
5k
Modern Linux Desktop Stack
chihchun
0
540
Other Decks in Programming
See All in Programming
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
110
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
610
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
430
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
730
Workers Cache を知る
syumai
0
310
mrbgem 三角測量 開発
ogom
0
150
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
510
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
Featured
See All Featured
Believing is Seeing
oripsolob
1
230
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
710
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Building the Perfect Custom Keyboard
takai
2
890
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Marketing to machines
jonoalderson
1
5.8k
Skip the Path - Find Your Career Trail
mkilby
1
240
Transcript
1 OpenStreetMap batch editing with API Rex Tsai
[email protected]
http://nutsfactory.net/
SOTM.tw 2013 @ Sinica 2013-11-09
2 Mapper who love trekking Fuji mountain, Aug 2013
3 OpenStreetMap API 0.6 • RESTful API • Retrieving map
data by bounding box • Changeset – < 50,000 edits on a single changeset – < 24 hours – Idle timeout - no changes/API calls related to a changeset in 1 hour • Python binding API available (but old)
4 政府資料開放平臺 • – 中華郵政公司郵務業務相關資訊 全國郵局 ATM 分佈 • 政府資料開放平臺資料使用規範
– 有下列情形之一者,各機關得隨時停止全部或一部開放資 料提供,使用者不得向本平臺管理機關及各機關請求任何 賠償或補償: – ( 一 ) 因政策變更或其他正當事由,致各機關認為繼續提供 資料供使用者加值使用,已不符合公共利益之要求者。 – ( 二 ) 各機關開放之資料有侵害第三人智慧財產權、隱私權 或其他法令疑慮者。 http://data.gov.tw/opendata/Details?sno=315830000M-00004
5 資料格式 • Format: CSV/Big-5 • 都市、區域、編號、名稱、電話、地址、經緯 度、 位置 (
室內室外 ) • 功能 ( 自動櫃員機 , 自動櫃員存提款機 , 自動 補摺機 , 自動櫃員提款機 )
6 Ex • 台北市,中正區,,台灣大學公共衛生學院--1樓電梯旁,(02)2381-3135,徐州路17 號,121.523055,25.041111,,,自動補摺機,自動櫃員提款機,局外 • 台北市,中正區,,台灣大學徐州路院區--國際會議廳旁,(02)2381-3135,徐州路21 號,121.525,25.040555,,,,自動櫃員提款機,局外 • 台北市,大安區,000123-6,台大郵局,(02)2363-3435,台北市大安區羅斯福路4段1號(台灣大學
內),121.53365,25.017169999999997,自動櫃員機,,自動補摺機,,局內 • 台北市,大安區,,台灣大學--國青研三舍,(02)2381-3135,辛亥路3段30 號,121.544444,25.020555,,,,自動櫃員提款機,局外 • 台北市,大安區,,台灣大學--大一女生宿舍餐廳門口旁,(02)2381-3135,羅斯福路4段1 號,121.533888,25.016944,,,自動補摺機,自動櫃員提款機,局外
7 台灣大學 -- 大一女生宿舍餐廳門口旁
8 誤差 • 經緯度常常在建物外,與實際位置有極大差異 • 外島的 ATM 誤差更大,是在海上。 • 實際只更新了
18 個節點 http://www.openstreetmap.org/browse/ch angeset/18146099
9 基石資料庫 • 小花、大鵬大哥 (7777) 、 millerliu 等等山友 合作整理,實際踏查所整理出來。 (
登山補給 站 ) • 台灣共有四千七百多座三角點,以及將近七千五 百座的基石。共有 129 種類型基石。
10 何謂三角點 • 依三角網的邊長(兩點間之直線距離)區分: • 一等三角點:平均邊長為 45 公里。 • 二等三角點:平均邊長為
8 公里。 • 三等三角點:平均邊長為 4 公里。 • 四等三角點:平均邊長為 2 ( 1.6 )公里。 • 三角點都是附近的最高處,正好可以視為山頂名 稱
11 利用 • 將名稱為 " 山 ", " 岳 ",
" 尖 ", " 峰 ", " 嶺 " 結 尾的三角點資訊上傳到 OpenStreetMap. • 三角點 基石資料 2173 nodes http://www.openstreetmap.org/browse/changeset/18182529 • 三等三角點 基石資料 563 http://www.openstreetmap.org/browse/changeset/18181789 • 四等三角點 基石資料 1 http://www.openstreetmap.org/browse/changeset/18182105 • 森林三角點 基石資料 455 http://www.openstreetmap.org/browse/changeset/18182136
12 以下無基石,需手動加入 • 玉山東峰 玉山北峰 玉山南峰 玉山西峰 東小南 山 南湖大山東峰
大水窟山 品田山 南湖大山南 峰 東巒大山 小霸尖山 南雙頭山 喀西帕南山 內 嶺爾山 劍山 義西請馬至山 達芬尖山 甘藷峰 巒 大山 駒盆山 汐止大尖山 貓囒山 松柏坑山 雲嘉 大尖山 梨子腳山 大塔山 大凍山 紅毛埤山 東藤 枝山 旂尾山 雲台山 蛇頭山 ( 百嶽、小百嶽 )
13 TODO • 修正百嶽位置 ( 如玉山羣峯 ) • 基石尚未上傳處置。 •
三角點與山峯分開標示。 • 不同的節點使用不同的名字方便搜尋。
14 References • https://github.com/OsmHackTW/OsmApi • 中華郵政公司郵務業務全國郵局 ATM 位址 https://github.com/OsmHackTW/osmtw_p ostofficeatm
• 利用基石資料庫來矯正 OpenStreetMap 中的 山嶽資料。 https://github.com/OsmHackTW/osmtw_t rig