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
geolocation & html5
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
danny
September 28, 2012
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
geolocation & html5
danny
September 28, 2012
Transcript
20 slides
Geolocation and HTML5 葉永信 2012
outline • what is geolocation? • why geolocation? • how
geolocation? • geolocation application ◦ google map ◦ html5 • conclusion
what is geolocation? • 地理位置? ◦ 成大 ◦ 成大醫院 ◦
成大醫院醫學院 ◦ 成大醫院醫學院資訊室 ◦ 圖書館上方3樓
what is geolocation? • 必需要有標準的描述方式 ◦ 經緯度 • 經緯度就是絕對位置 •
唯一位置? • 地球是圓的嗎?
what is geolocation? • 其實你由Global Position System所取得的經緯 度 • 取決於你所使用的球體定義模型
• 所以, 台灣用的標準是? ◦ TWD67 ◦ TWD97 • 為什麼要定自己的標準?
what is geolocation? • 地球不是圓的 • 地圖是平的吧 • 那兩地間的距離如何計算? ◦
由成大醫院到本校區距離0度5分3秒? ◦ 這樣要怎麼使用呀 XD
what is geolocation? • 球體模型對映到平面地圖 ◦ 稱為投影 • 投影座標又有數種 ◦
橫麥卡托 ◦ 直麥卡托 ◦ 其它
what is geolocation? 1. 球體模型 2. 投影座標系統 3. 計算距離 4.
那麼常用的導航, 又要如何製作? a. 向左轉、向右轉 b. 現在速度 c. 還有多久到達 d. 路況
why geolocation? 1. 民生應用 a. 導航 b. 美食地圖 c. 綠色地圖
d. 房地產價值 2. 環境調查 a. 淹水點 b. 淹水深 c. 山崩範圍 d. 地震點 3. 軍事應用
how geolocation? • 怎麼收 a. 收訊號,GPS收進來是什麼格式? b. 硬體,序列阜、藍芽、網路來的? c. 電腦、手機、平板
• 怎麼存 a. 存資料 b. 點、線、面 c. 影像 d. 點雲
how geolocation? • 怎麼疊 a. 不同的資料來源 b. 不同球體模型 c. 不同投影系統
d. 不同格式 • 如何應用,用在那裡? a. 最多的應用, 我在那裡? b. 你在那裡? c. 怎麼到你那邊?
how geolocation? • 怎麼收? a. 只有比較好的GPS才能設定球體模型及投影系統 b. GPS由序列阜進來 i. 純文字資料
ii. 天空有幾個衛星 iii. 現在的經緯度(北緯23度3分4秒、東經121度4分6秒) c. wifi訊號? i. goeip? ii. google 收集的wifi訊號與位置?
how geolocation? • 怎麼存?(數化) a. 向量 i. 點、線、面 ii. kml、GML、SHP
b. 點陣 i. tif... c. 格網 i. 等間距xyz檔 ii. 等間距z, 2維或3維矩陣 d. 點雲 i. 不等間距xyz
how geolocation? • 怎麼疊? a. 轉換成統一座標 • 然後用軟體秀圖 a. ArcGIS
b. QGIS c. uDIG d. ... • 那如果自己寫的呢? a. dotSpatial b. mapwingis c. geotools d. ...
how geolocation? • 怎麼用? ex: a. 路線導航 i. 資料結構 ii.
電腦圖學 iii. 最短路徑 iv. 具權重最短路徑 v. 蟻行法、基因法、其它法 b. 植生指數計算NDVI
google map 1. how to using google map? a. javascript
& html b. google API i. get a google API key first 2. why google map is so fast? a. LOD(Level Of Detail) b. 影像金字塔
building your own google map • how to building your
own google map? ◦ MapServer ◦ GeoServer ◦ MapGuide Server ◦ ... • Open source implement ◦ OSM(OpenStreetMap) ◦ ...
HTML5 geolocation API function success(position) { alert(position.coords.latitude, position.coords.longitude); } function
error(msg) { alert(msg); } if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(success, error); } else { error('not supported'); }
HTML5 & iPad • 你將不用存取硬體 • 不需要管你用什麼球體模型 • 不需要轉換座標 •
不需要.... • 就可以輕鬆製作一張跟著你移動的地圖
conclusion • 更新頻率 • 向量圖 • 衛星影像圖 • 成本 •
資料程式約8:2
More Decks by danny
See All by danny
網頁開發工具 草稿吧
danny
0
96
Other Decks in Technology
See All in Technology
Welcome JXL!
dynamis
0
120
gradle-best-practices 使ってみた
mikanichinose
0
230
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
980
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
AIフレンドリーなGenerative UIをJSXで
uhyo
2
140
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
130
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
140
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
400
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
230
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
620
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
670
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
How STYLIGHT went responsive
nonsquared
100
6.4k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
540
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
The Limits of Empathy - UXLibs8
cassininazir
2
800
KATA
mclloyd
PRO
35
16k