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
スマートフォンにおける気象データの可視化 / Visualization of the wea...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tomoyuki KOYAMA
September 14, 2013
Programming
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
スマートフォンにおける気象データの可視化 / Visualization of the weather data for the smartphone
Live E! サイエンスコンテスト 2013
Tomoyuki KOYAMA
September 14, 2013
Transcript
6 slides
東京都立多摩科学技術高等学校 1年 小山智之 スマートフォンにおける 気象データの可視化
はじめに −背景 • スマートフォンを使って 気象データを簡単に見た い。 • 自分のいる場所の近くに あるセンサーのデータを 見たい。
−目的 • スマートフォンで気象デ ータを見やすくする • 端末から取得した情報を 気象データの可視化に活 用する。 −概要 • レスポンシブWebデザイン o スマートフォン対応 o タブレット対応 o パソコン対応 • テキストでの可視化 o 不快指数、1日の雨量 o 湿度、気圧、雨量 o 温度、風向、風速 • SNSを用いたデータ公開 o Twitter、Facebook • GPSを用いたセンサー検索 o 周囲の5地点を検索 • 地点・住所検索システム o 地点名、住所から検索
研究方法 −環境 • Ubuntu 13.04 • Xampp for Linux 1.8.1
• gedit 3.6.2 • Google Chrome 26 • Mozilla Firefox 22.0 • Opera 12.16 • InternetExproler 8,9 • iOS6 - Safari 6 • Android 4.04 - ブラウザ −言語・サーバー等 • Apache 2.4.3 • PHP 5.3系 • MySQL 5.5.27 • JavaScript • Ajax −手順 Ubuntu上でgeditを 用いプログラムを 作成し、Xamppを 用いてデバックを 行う。
動作状況1 タブレット スマートフォン Twitter/Facebook API 連携 日時 2013-08-07 08:05:01 気温
25.2℃ 湿度 80.4% 気圧 997.5hPa レスポンシブデザイン パソコン Live E!サーバーへの負荷軽減 • cronを使用し一定周期でデータをデ ータベースへ保存する。 • データベースからデータを取得し直 接アクセスによる負荷を軽減する。
動作状況2 GPS位置情報 地点・住所検索 パラメータ で渡す 検索 表示 処理ファイ ル パラメータ
で渡す 検索 読み込み 検索クリッ ク 処理ファイ ル Ajax Ajax Geolocation API
1. フォームに入力されたワードと検索対象を 検索ボタンクリック時にjQueryで取得する。 2. Ajaxで取得したデータ(検索対象・ワー ド)を処理ファイル(PHP)へ渡す。 3. 受け取ったデータをデータベース上のセン サー情報(地点名または住所)から検索し 出力する。
動作状況2 GPS位置情報 1. スマートフォンからGeolocation APIで位置情報(経度・緯度)を取 得する。 2. Ajaxで取得した位置情報を処理フ ァイル(PHP)へパラメータで渡 す。 3. データベース上の経度・緯度デー タと受け取ったデータとの差を求 め絶対値に変換し昇順に並べる。 4. 並べ替えたデータの上位5件のポイ ント情報を出力する。 地点・住所検索システム
More Decks by Tomoyuki KOYAMA
See All by Tomoyuki KOYAMA
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
6.2k
イベントとリソース定義から作成した依存グラフを用いた連鎖障害の調査時間の短縮 / DPS-206
tomoyk
0
62
Root Cause Analysis for Middleware Issues by Kubernetes Resource Events / KST-2026
tomoyk
0
170
Query Prediction for Log Search for Distributed Tracing with External Monitoring Alerts
tomoyk
0
78
Reading HTTP Client Hints
tomoyk
0
170
Log message with JSON item count for root cause analysis in microservices
tomoyk
1
300
Distributed Log Search Based on Time Series Access and Service Relations
tomoyk
0
430
Webアプリを動かすまでのインフラ構築 / infra-build-for-web-app
tomoyk
0
530
コンピュータが大好きな私が大学院進学した理由 / Why I chose graduate school
tomoyk
1
1.2k
Other Decks in Programming
See All in Programming
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
600
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
560
Spec-driven Development with AI
simas
PRO
0
2.3k
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
100
AI Augmentation Techniques with Liberty
ivargrimstad
1
440
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
330
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
AI時代のTerminal環境を UNIX哲学で設計・運用する
yasunori0418
1
350
はじめてのPLATEAU
nokonoko1203
1
640
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
970
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
340
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
990
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
300
Abbi's Birthday
coloredviolet
5
11k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Why Our Code Smells
bkeepers
PRO
340
58k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
For a Future-Friendly Web
brad_frost
184
11k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Exploring anti-patterns in Rails
aemeredith
4
560
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k