From CSVs to SensorThings in 10 minutes
Transcript of From CSVs to SensorThings in 10 minutes
![Page 1: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/1.jpg)
From CSVs to SensorThingsAn Environmental Monitoring Example
sensorweb.geomatics.ucalgary.cawww.sensorup.com
0.23 litre/minute
0.25 litre/minute0.27 litre/minuteRH: 85 %
Temp: 18 Celsius
Dr. Steve Liang, Ph.D., P.Eng.Associate Professor, University of CalgaryFounder and CEO, SensorUp Inc.
![Page 2: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/2.jpg)
About Dr. Steve Liang๏Associate Professor, Geomatics Engineering, Uni. Calgary
๏AITF-Microsoft Industry Research Chair on Open Sensor Web (2011~2014)
๏Chair OGC SensorThings API Standard Working Group
๏Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications
๏Founder and CEO, SensorUp Inc
๏Calgary’s Top 40 Under 40
![Page 3: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/3.jpg)
About SensorUp๏We are a leader in Sensor Web
and IoT Platforms
๏We offer innovative and comprehensive SensorThings solutions.
๏We are proud member of Eclipse and Open Geospatial Consortium
![Page 4: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/4.jpg)
News - NEST Bricked Revolv๏ “companies can
potentially disconnect your smart devices and leave them essentially useless at any time.” CBC
![Page 5: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/5.jpg)
What will be covered
๏Environmental Monitoring
๏ Lots environmental monitoring data are still shared in CSV format
๏Transform CSVs into actionable SensorThings in 10 minutes
![Page 6: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/6.jpg)
Water Level Monitoring System with SensorThings
http://www.environment.alberta.ca/apps/basins/default.aspx
![Page 7: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/7.jpg)
Steps
Configure the monitoring stations in
SensorThings
Download the CSVs of the
sensor readings
Parse the CSVs and Load to
SensorThings
1 2 3
![Page 8: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/8.jpg)
Step 1
Configure the monitoring stations in
SensorThings
Download the CSVs of the
sensor readings
Parse the CSVs and Load to
SensorThings
1 2 3
![Page 9: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/9.jpg)
prepare the data model
Water monitoring station
Barrier Lake
Water level sensorWater level
Simple geometry
![Page 10: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/10.jpg)
POST ThingsThing
Location
Deep Insert: check out our first webinar series for details
![Page 11: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/11.jpg)
POST Datastreams
Change the id to the Thing you just created
![Page 12: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/12.jpg)
POST FeatureOfInterest
![Page 13: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/13.jpg)
Station Location and Feature of Interest??
Location of the Thing (a point)
Feature of Interest (a polygon)
![Page 14: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/14.jpg)
Step 2
Configure the monitoring stations in
SensorThings
Download the CSVs of the
sensor readings
Parse the CSVs and Load to
SensorThings
1 2 3
![Page 15: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/15.jpg)
Download the CSV file
![Page 16: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/16.jpg)
Shell script to upload the observations
![Page 17: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/17.jpg)
Let’s load it in our dashboard
![Page 18: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/18.jpg)
GIST
https://gist.github.com/liangsteve/d26a96c02108210a89991470ec1d1fb0
![Page 19: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/19.jpg)
Summary๏SensorThings API provides great developer
experience.
๏minimum coding
๏ Interoperability - supports OGC/ISO O&M
๏ Location and Feature of Interest can be different
๏ e.g., station is the location, lake is the FoI
![Page 20: From CSVs to SensorThings in 10 minutes](https://reader031.fdocuments.net/reader031/viewer/2022030305/58715c571a28ab8e5b8b68dd/html5/thumbnails/20.jpg)
We will start our next webinar series soon!
Let us know what topics interest you!!
Email: [email protected]