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
GitHub Actionsで始めるお手軽ベクトルタイル配信
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
nao
November 09, 2023
Technology
740
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GitHub Actionsで始めるお手軽ベクトルタイル配信
nao
November 09, 2023
Other Decks in Technology
See All in Technology
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
130
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
180
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
5
1.1k
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
190
Metadata - Section 1: HTML Basics
mohab1
0
120
Running Kotlin + Quarkus with Lambda
nealle
1
3.8k
USB PDを使ってスマホを労わりたい
raspython3
0
180
Classmethod Company Deck
satoshi7
1
710
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
100
hackers_champloo_2026_tidb
makocchi
0
170
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
120
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
Typedesign – Prime Four
hannesfritz
42
3.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Cult of Friendly URLs
andyhume
79
7k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Building Adaptive Systems
keathley
44
3.2k
Transcript
GitHub Actionsで始める お手軽ベクトルタイル配信 ⼤橋直記 2023/11/09 @ MapLibre Meetup Japan #01
©GSI Japan | ©Geolonia | ©OpenStreetMap
大橋 直記(おおはし なおき) 株式会社 Geolonia エンジニア 地図と位置情報の会社でエンジニアをしてい ます。 ‧MapLibre GL JS コントリビューター
‧Charites コントリビューター(国連ベクト ルタイルツールキット) GitHub: https://github.com/naogify Twitter: https://twitter.com/naogify
Geolonia Maps について Geolonia が提供するカスタマイズ可能な地図 • 開発者フレンドリー • カスタマイズ性が⾼い •
ベクトルタイル(機械判読可能)
ベクトルタイルとは? 機械判読が可能な地図タイル 東京都港区芝公園4丁目2−8 → 35.65872, 139.74539 「地理院地図|ベクトルタイルとその提供実験について」(https://maps.gsi.go.jp/development/vt_expt.html)より画像を引⽤
事例 https://codepen.io/geolonia/pen/oNZLPQP https://naogify.github.io/nankai-trough-map/
Webで位置情報を扱うためのファイル形式は? ‧GeoJSON 位置情報を扱うためのJSONファイル。緯度経度 + 属性を保存。 ‧ベクトルタイル(.pbf、.mvt) → GeoJSON をXYZで分割し、分割したGeoJSONをバイナリ(Protocol
Buffers)で保存。 → 表⽰速度が早い、機械判読が可能。 → .pbfや.mvt(Mapbox Vector Tile) に分割しxyzのディレクトリに保存。
ベクトルタイルを作ってみる
コマンドラインツールを使った ベクトルタイルの作り方 $brew install tippecanoe $tippecanoe -zg -o ./data.mbtiles ./data.geojson
お手軽に試すには?
vector-tiles-api 位置情報を含むCSVをアップロー ドすると、GitHub Actions でベク トルタイルに変換し、GitHub Pages にデプロイする。 つまり、 簡単にベクトルタイル化+ホス
ティングできる。 https://github.com/geolonia/vector-tiles-api
1.GitHub Pages を設定 1. 「Use this template」をクリック 2. 「Settings」 >「
Pages」 をクリック
2. CSV を編集 「Edit this file」をクリックして編集
3. 表示 map.addSource("example-data", { type: "vector", url: "https://<あなたのGitHubユーザー名>.github.io/<リポジトリ名>/tiles/tiles.json" }); ▼サンプルコード▼
https://codepen.io/naogify/pen/BaMWNpG
早速作ってみる
None
None
キャンプ場ベクトルタイルを作ってみる CSVを編集してキャンプ場情報を追加する
https://community-geocoder.geolonia.com/ 緯度経度の入力
https://codepen.io/naogify/pen/BaMWNpG 完成
制限事項 GitHubPagesの容量制限(100 MiB/ファイル) ‧ポイントデータのみ
更に大きいデータをホスティングする場合 $brew install tippecanoe $tippecanoe -o ./data.pmtiles ./data.geojson 更に⼤きいサイズのデータをホスティングしたい場合は PMTiles
がお勧め。 → ベクトルタイルを単⼀ファイル化 + 静的サイトでホスティング可能
Thank you! ©GSI Japan | ©Geolonia | ©OpenStreetMap GitHub: https://github.com/naogify
Twitter: https://twitter.com/naogify vector-tiles-api デモURL