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
FOSS4G 2015 Tokyo Vector Tiles Pt. 4
Search
Hidenori FUJIMURA
October 09, 2015
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FOSS4G 2015 Tokyo Vector Tiles Pt. 4
Hidenori FUJIMURA
October 09, 2015
More Decks by Hidenori FUJIMURA
See All by Hidenori FUJIMURA
みんなに伝わる防災マップ
hfu
0
190
未来の繁栄のためのスマート地図
hfu
0
220
Smart Maps for the prosperity in the future
hfu
0
300
Smart Maps and Bazaar
hfu
0
230
Sensemaking with Smart Maps
hfu
0
170
Smart Mapsfor the United Nations,with the United Nations
hfu
0
210
UN Smart Maps
hfu
0
250
スマート地図バザールによる地図XMLのタイル配信
hfu
0
160
国土地理院におけるベース・レジストリの整備とDX推進への取り組み
hfu
0
370
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
Raft: Consensus for Rubyists
vanstee
143
7.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Transcript
Ministry of Land, Infrastructure, Transport and Tourism Geospatial Information Authority
of Japan ベクトルタイル利用サイトを作ろう Hidenori FUJIMURA Geospatial Information Authority of Japan 1 FOSS4G 2015 Tokyo ハンズオンデイ 2015-10-09T14:00/17:00 @駒場RC An棟2F
本日の流れ ① 導入:ベクトルタイルの概要と未来 ② GitHubから地理院地図をフォークして、マ イ地理院地図を作る ③ マイ地理院地図にインターネット上のタイ ルレイヤを加える ④ マイ地理院地図に簡単なベクトルデータを 加える(ただしベクトルタイルとして) ⑤ 地理院ベクトルタイルを素のLeafletサイト に表示してみる。
⑥ 地理院ベクトルタイルの表示内容を調整す る 2
「ただしベクトルタイルとして」とは 6/3の「第3回地理院地図パートナーネットワーク会議」で紹介した 「2/3/1メソッド」です。 地理院では「関東・東北豪雨」対応から本格的に採用しています。 3 具体メリット ①ベクトルタイル処理系 の機能の享受 例えば maxZoom
等 GISがベクトルタイル 対応すれば… ②フォーマットの GeoJSONへの統一 ←第三回地理院地図 パートナーネットワー ク会議資料(公開)
本節の流れ ① GeoJSON データを用意する u デフォルトは、地理院地図で。 ② マイ地理院地図のレポジトリに、2/3/1方式 でGeoJSONデータをアップロードする ③ マイ地理院地図のマイレイヤとして、 GeoJSONデータを登録する 4
GeoJSON データを用意する 地理院地図右上「機能」→「ツール」→「作図・ファイル」 5 保存ボタンから GeoJSON 形式を選ぶ。 ファイルシステムに保存しても良いが、ここからコピペで GitHub のマイ地理院地図にファイル作成していきましょう。
GeoJSONデータを2/3/1方式でマイ地理院地図レポへ example231/2/3/1.geojson という名前でマイ地理院地図レポに 6 ヒント: GeoJSON Hint (バリデータ) https://www.mapbox.com/geojsonhint/
おまじない的に style.js をコピー http://cyberjapandata.gsi.go.jp/xyz/1509typhoon18_shinsui_joso_150911_4/ style.js (1)をコピペ(2)して、 /example231/style.js として保存 (1)ちなみに、「常総地区の推定浸水範囲(2015.9.11 13:00時点)」データの
style.js。 https://github.com/gsi-cyberjapan/gsimaps/blob/gh-pages/layers_txt/layers3.txt か ら調べることができる。 (2)お使いのブラウザで文字化けする場合は https://github.com/foss4g-tokyo-vt/gsimaps/blob/gh-pages/example231/style.js 7
layers_txt/my_layers.txt に追記 【ポイント】 url を http://(yours).github.io/gsimaps/example231/{z}/{x}/{y}.geojson maxZoom を 18、maxNativeZoom を
2 にする。 8
動作確認 9