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
FOSS4G 2015 Tokyo Vector Tiles Pt. 6
Search
Hidenori FUJIMURA
October 09, 2015
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FOSS4G 2015 Tokyo Vector Tiles Pt. 6
Hidenori FUJIMURA
October 09, 2015
More Decks by Hidenori FUJIMURA
See All by Hidenori FUJIMURA
みんなに伝わる防災マップ
hfu
0
180
未来の繁栄のためのスマート地図
hfu
0
200
Smart Maps for the prosperity in the future
hfu
0
290
Smart Maps and Bazaar
hfu
0
210
Sensemaking with Smart Maps
hfu
0
150
Smart Mapsfor the United Nations,with the United Nations
hfu
0
200
UN Smart Maps
hfu
0
240
スマート地図バザールによる地図XMLのタイル配信
hfu
0
140
国土地理院におけるベース・レジストリの整備とDX推進への取り組み
hfu
0
340
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
200
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
460
Into the Great Unknown - MozCon
thekraken
41
2.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
850
Are puppies a ranking factor?
jonoalderson
1
3.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
BBQ
matthewcrist
89
10k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
370
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
460
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
450
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
canvas.html のアレンジ • 【河川中心線】 rvrcllayer < TileLayer.Canvas – rvrcl_style を変更することで、スタイルを変更できる •
【道路中心線】 rdcllayer < TileLayer.Canvas – rdcl_style を変更することで、スタイルを変更できる • 【鉄道中心線】 railcllayer < TileLayer.Canvas – railcl_style を変更することで、スタイルを変更できる • 【注記】 annolayer < TileLayer.GeoJSON – http://cyberjapandata.gsi.go.jp/xyz/experimental_anno/style.js を 代替するスタイルオブジェクトを入れることで、スタイルを変更できる 3 • 河川中心線、道路中心線、鉄道中心線の仕様やサンプルは、 https://github.com/foss4g-tokyo-vt/vector-tile-experiment • 注記の仕様やサンプルは、 https://github.com/gsi-cyberjapan/experimental_anno
応用編 【案1】 /vector-tile-experiment/index.html のアレンジ • SVGベースで、よりgsimapsの実装に近いもの • アレンジ版のstyle.jsを適宜レポに置いて読み込ませる方向で 【案2】 スタイルシート系の先進的な事例を学ぶ
• http://frogcat.github.io/gsi-river/ 【案3】 他のライブラリを試す • http://frogcat.github.io/gsi-anno-voronoi/ – 注記でボロノイ図、D3使用 • http://frogcat.github.io/gsi-anno/ – Leaflet 1.0b • http://gsi-cyberjapan.github.io/vectiles-mapkit/tangram.html – Tangram + 地球地図ベクトルタイル 4
【おわりに】 The party continues, on the web. • 対面での作業は重要であるがスケールしない。 •
オンラインでつながることの重要性 • FOSS4G Tokyo Vector Tile Group への参加 をお勧めします! https://github.com/foss4g-tokyo-vt/living-room/issues/2 5