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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
160
未来の繁栄のためのスマート地図
hfu
0
180
Smart Maps for the prosperity in the future
hfu
0
270
Smart Maps and Bazaar
hfu
0
210
Sensemaking with Smart Maps
hfu
0
130
Smart Mapsfor the United Nations,with the United Nations
hfu
0
180
UN Smart Maps
hfu
0
220
スマート地図バザールによる地図XMLのタイル配信
hfu
0
140
国土地理院におけるベース・レジストリの整備とDX推進への取り組み
hfu
0
310
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.7k
Designing for humans not robots
tammielis
254
26k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Building Applications with DynamoDB
mza
96
7.1k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
Utilizing Notion as your number one productivity tool
mfonobong
4
310
Designing Experiences People Love
moore
143
24k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Deep Space Network (abreviated)
tonyrice
0
160
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
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