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とオープンデータで...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yasunori Kirimoto
June 18, 2016
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
はじめてみよう地図を使ったデータビジュアライゼーション入門 ~ FOSS4Gとオープンデータで可視化した地図を公開 ~
OSC 2016 Hokkaido 発表資料
Yasunori Kirimoto
June 18, 2016
Transcript
61 slides
はじめてみよう地図を使った データビジュアライゼーション入門 ~ FOSS4Gとオープンデータで 可視化した地図を公開 ~ Yasunori Kirimoto 2016.06.18 OSC
2016 Hokkaido
None
今日の目次 ①FOSS4Gとは? ②Webで地図を公開してみる ③OSGeo財団日本支部とは?
FOSS4Gとは?
Free Open Source Software for GeoSpatial オープンソースの地理情報ソフトウェア(GIS)
そもそもGISって?
地理空間情報を扱う技術
位置情報 + 属性 国土地理院 基盤地図情報を使用
ディスクトップ
None
フロントエンド
None
None
None
None
バックエンド
None
None
データベース
None
None
Webで地図を公開してみる
Web地図(WebGIS)って聞いて 何を思い浮かべますか??
WebGISをもっとも浸透させたコンテンツ Google Maps
自由度が高いWebGISを構築するには?
FOSS4Gを使おう!!
SapporoLiveMap sapporolivemap.day-journal.com みんなの公園マップ - 札幌版 - sapporoparkmap.day-journal.com
index.html stylesheet.css script.js HTML CSS JS
Webサービスもあります!!
None
None
構築方法
基本構成 背景地図 マーカー GeoJSON
基本構成 背景地図 マーカー GeoJSON
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>Leaflet Sample</title> <script
src="./Library/leaflet-0.7.5/leaflet.js”></script> <link href=“./Library/leaflet-0.7.5/leaflet.css" rel="stylesheet" /> <link href="./css/stylesheet.css" rel="stylesheet" /> </head> <body> <div id="map"></div> <script src="./js/script.js"></script> </body> </html> HTML ライブラリの参照設定
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>Leaflet Sample</title> <script
src="http://cdn.leafletjs.com/leaflet- 0.7.5/leaflet.js"></script> <link rel="stylesheet“ href="http://cdn.leafletjs.com/ leaflet-0.7.5/leaflet.css" /> <link href="./css/stylesheet.css" rel="stylesheet" /> </head> <body> <div id="map"></div> <script src="./js/script.js"></script> </body> </html> HTML ライブラリの参照設定
html, body { height: 100%; padding: 0; margin: 0; }
#map { z-index: 0; height: 100%; } CSS
基本構成 背景地図 マーカー GeoJSON
OpenStreetMap
var map = L.map('map'); L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution:'© <a href="http://osm.org/copyright"> OpenStreetMap</a>
contributors'}).addTo(map); map.setView([43.0559815, 141.3857792], 16); JS
地理院地図
var map = L.map('map'); L.tileLayer(‘http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{ y}.png', { attribution: "<a href='http://www.gsi.go.jp/kikakuchousei/
kikakuchousei40182.html' target='_blank'>国土地理院</a>" }).addTo(map); map.setView([43.0559815, 141.3857792], 16); JS
None
基本構成 背景地図 マーカー GeoJSON
var Map_Marker = L.marker([43.0559815, 141.3857792]) .addTo(map); var comment = 'Inter
x cross Creative Center'; Map_Marker.bindPopup(comment).openPopup(); JS マーカーの表示 ポップアップの表示
None
基本構成 背景地図 マーカー GeoJSON
・データを作成 ・オープンデータを利用
geojson.io
国土数値情報
GeoJSON 表示
var pointdata = { "type": "FeatureCollection", "crs": { "type": "name",
"properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "P13_003": "北6条エルムの里公園" }, "geometry": { "type": "Point", "coordinates": [ 141.34308642, 43.0666937 ] } }, { "type": "Feature", "properties": { "P13_003": "宮部記念緑地" }, "geometry": { "type": "Point", "coordinates": [ 141.33550164, 43.0666937 ] } }, { "type": "Feature", "properties": { "P13_003": "偕楽園緑地" }, "geometry": { "type": "Point", "coordinates": [ 141.34429626, 43.06828667 ] } }, { "type": "Feature", "properties": { "P13_003": "八軒コスモス公園" }, "geometry": { "type": "Point", "coordinates": [ 141.32328053000001, 43.08470141 ] } } ] }; GeoJSON
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>Leaflet Sample</title> <script
src="./Library/leaflet-0.7.5/leaflet.js”></script> <link href=“./Library/leaflet-0.7.5/leaflet.css" rel="stylesheet" /> <script src="./files/sample.geojson"></script> <link href="./css/stylesheet.css" rel="stylesheet" /> </head> <body> <div id="map"></div> <script src="./js/script.js"></script> </body> </html> HTML
var ParkIcon = L.icon({ iconUrl: './img/Park.png', iconSize: [50, 50], iconAnchor:
[25, 20], popupAnchor: [0, -30] }); var Map_GeoJSON = L.geoJson(pointdata, { pointToLayer: function (feature, layer) { return L.marker(layer, { icon: ParkIcon }); }, onEachFeature: function (feature, layer) { layer.bindPopup(feature.properties.P13_003); } }).addTo(map); JS GeoJSONの表示 アイコンと属性値の反映 マーカーアイコンを設定
国土数値情報(都市公園データ)を使用
OSGeo財団日本支部とは?
OSGeo財団 2006年設立 オープンなジオを応援する組織 多数のプロジェクト
OSGeo財団日本支部 高品質のオープンソース地理空間ソフトウェアの 支援と構築のために設立されました。 この財団の目的は、コミュニティーが先導して、 オープンソースプロジェクトの利用と開発を促進 することです。 OSGeo財団の日本における公式の支部が 「OSGeo財団日本支部(OSGeo.JP)」です。
FOSS4G Tokyo/Osaka - フリー&オープンソースGISの祭典 – 2008年よりスタート 空間情報技術の情報交換の場 2016年は10月頃開催!?
FOSS4G Hokkaido 2012年から北海道でも地域カンファレ ンスを開催しています 2015の様子
2016年は 7/8(金) 9:00~ ハンズオンデイ@札幌市産業振興センター FOSS4Gツールを実際に操作しながら学べる、 ハンズオン(体験学習) 7/9(土) 10:00~ コアデイ@ ICC
Cross x Garden 基調講演、事例発表、懇親会( + LT )
More Decks by Yasunori Kirimoto
See All by Yasunori Kirimoto
Meet MIERUNE
dayjournal
0
120
Amazon Location Service Plugin for QGIS: Basemaps, Geocoding, and Routing
dayjournal
0
140
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
740
Geospatialの世界最前線を探る [2025年版]
dayjournal
3
870
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
4
1.1k
FOSS4Gで実現するQGIS版Amazon Location Service Plugin
dayjournal
0
1.8k
State of Open Source Web Mapping Libraries
dayjournal
0
810
AWS Heroes Map 秘伝のレシピ
dayjournal
2
460
State of Amazon Location Service
dayjournal
0
540
Other Decks in Technology
See All in Technology
農夫は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
0
320
Reticulum, le réseau cypherpunk dont vous avez besoin !
rlifchitz
0
140
Linuxネットワークスタック進化の軌跡: 過去10年の歩みと最新トレンド
orimanabu
4
660
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
170
JAWS_FESTA2026_オンプレ-AWS間プロキシサーバの移行_性能_障害対応で得た実践ノウハウ_高島一晃.pdf
tkazuaki0820
1
120
契約書SaaSにAIエージェントを組み込む
sansantech
PRO
0
130
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
300
Claude Securityを使ってみた / claude-security-claude-code-meetup-nagoya
tnir
0
110
81天的 AI Agent 軟體開發團隊治理實務分享
regionbbs
0
170
Kiro Web 入門 (サインインから、頼み方、PR の受け取り、クラウドの決まりまで) | 目指せ Kiro マスター 04
inariku
PRO
2
120
Kiro CLI 入門 (ターミナルと CI で使う) | 目指せ Kiro マスター 03
inariku
PRO
2
150
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
0
230
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
780
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Between Models and Reality
mayunak
4
580
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
It's Worth the Effort
3n
188
29k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
How STYLIGHT went responsive
nonsquared
100
6.4k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Product Roadmaps are Hard
iamctodd
55
13k