Off-the-Shelf Sensor Examples

This document is in support of the SOFWERX CPO 23 OSH-CDB Project. The following is a listing of requests and samples of requests to receive data from sensors used in the SOFWERX and TE20 Projects. These examples show a wide variety of Off-the-Shelf sensors being able to be integrated into a Common Operating Picture (COP) through access to an OpenSensorHub (OSH) Cloud node. The request/response examples below are actual OGC Sensor Web Enabled (SWE) compliant requests for real-time or archived observation data from an active OSH node.

All visualization/mapping views are real-time screen captures of a COP client, built using the OSH Web Client Toolkit. The 3D rendering and geospatial mapping is supported by Cesium.js while the base maps and 3D terrain/buildings are provided by Cesium and Vricon and served through Cesium 3D Tiles technology.

Android – Mobile Device

A sample android mobile device (such as a phone) whose internal sensors are used to report observations such as location, orientation, and video.

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Video Frame Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:android:device:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&temporalFilter=phenomenonTime,2020-06-26T19:04:48Z/now

Video Frame Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:android:device:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&responseFormat=application/json

Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:android:device:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/Location&temporalFilter=phenomenonTime,2020-06-26T19:04:48Z/now&responseFormat=application/json&replaySpeed=1

Response:

[ 
 {
  "time": "2020-05-29T22:15:51Z",
  "location": {
   "lat": 34.739575241692364,
   "lon": -86.56639209017158,
   "alt": 180.0
  }
 }
]

Location Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:android:device:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/Location&responseFormat=application/json

Orientation Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:android:device:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/OrientationQuaternion&temporalFilter=phenomenonTime,2020-06-26T19:04:48Z/now&responseFormat=application/json&replaySpeed=1

Response:

[
 {
  "time": "2020-05-29T22:15:32.810Z",
  "orient": {
   "qx": 0.00249796686694026,
   "qy": -0.6802502870559692,
   "qz": 0.016376778483390808,
   "q0": 0.7327926754951477
  }
 } 
]

Dahua PTZ Camera

A PTZ camera, which is taskable from OpenSensorHub client web application providing location, orientation, and video.

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Location Request

http://207.111.167.133:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:cityhall&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&temporalFilter=phenomenonTime,now&responseFormat=application/json

Response:

[ 
 { 
  "time": "2020-06-04T19:48:40.511Z",
  "location": {
   "lat": 34.728587,
   "lon": -86.586514,
   "alt": 203.0
   }
 } 
]

Location Request Template:

http://207.111.167.133:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:osh:cityhall&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&responseFormat=application/json

Video Frame Request

http://207.111.167.133:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:cityhall&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&temporalFilter=phenomenonTime,now/2022-01-01T12:12:12Z

Laser Range Finder

A laser range finder paired with an Android mobile device configured to support LRF. Provides a geolocated target position as reported by LRF and Android device working together.

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Target Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:lasertech:trupulse360:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/TargetLocation&temporalFilter=phenomenonTime,2020-06-26T19:05:00.153Z/now&responseFormat=application/json&replaySpeed=1

Response:

[
 {
  "time": "2020-06-26T19:05:00.153Z",
  "location": {
   "lat": 34.739733235612555,
   "lon": -86.56625147660965,
   "alt": 186.8277155328542
   }
 }

Target Location Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:lasertech:trupulse360:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/TargetLocation&responseFormat=application/json

Laser Range Data Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:lasertech:trupulse360:bb26ea9abeb8d2c0-sos&observedProperty=http://sensorml.com/ont/swe/property/LaserRangeData&temporalFilter=phenomenonTime,2020-06-26T19:05:00.153Z/now&responseFormat=application/json&replaySpeed=1

Response:

[
 {
  "time": "2020-06-02T18:38:45.280Z",
  "horizDistance": 104.0,
  "slopeDistance": 104.0,
  "azimuth": 152.1,
  "inclination": -0.8
 } 
]

Stream Gauges

USGS Stream Gauges, providing data such as water temperature, flow rate (discharge), and gauge height (water level).

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Gauge Height Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:nys:usgs&featureOfInterest=urn:usgs:water:site:01422500&observedProperty=http://sensorml.com/ont/swe/property/GageHeight&temporalFilter=phenomenonTime,2020-05-05T12:15:00Z/2020-05-06T12:15:00Z&responseFormat=application/json&replaySpeed=500

Response:

[ {"time": "2020-04-12T20:30:00Z", "site": "03274650","gage_height": 3.36} ]

Gauge Height Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:nys:usgs&featureOfInterest=urn:usgs:water:site:01422500&observedProperty=http://sensorml.com/ont/swe/property/GageHeight&responseFormat=application/json

Water Temperature Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:nys:usgs&featureOfInterest=urn:usgs:water:site:01422500&observedProperty=http://sensorml.com/ont/swe/property/WaterTemperature&temporalFilter=phenomenonTime,2020-05-05T12:15:00Z/2020-05-06T12:15:00Z&responseFormat=application/json&replaySpeed=500

Response:

[ {"time": "2020-04-12T20:30:00Z", "site": "03274650", "water_temp": "NaN"} ]

Discharge Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:nys:usgs&featureOfInterest=urn:usgs:water:site:01422500&observedProperty=http://sensorml.com/ont/swe/property/Discharge&temporalFilter=phenomenonTime,2020-05-05T12:15:00Z/2020-05-06T12:15:00Z&responseFormat=application/json&replaySpeed=500

Response:

[ {"time": "2020-04-12T20:30:00Z", "site": "03274650", "discharge": 8.28}]

Shield AI NOVA Drone

A small form factor quad-copter UAS used for surveillance and situational awareness. Initial integration provides location and video feed.


Sample archived NOVA drone data in OSH client showing location, path history, and video feed

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=nova-drone&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&temporalFilter=phenomenonTime,2020-02-21T21:18:37.192Z/2020-02-21T21:24:47.990Z&replaySpeed=1&responseFormat=application/json

Response:

[ 
{ "time": "2020-02-21T21:18:37.192Z", "location": {
"lat": 32.7972947, "lon": -116.6673795, "alt": 860.295} }, 
{ "time": "2020-02-21T21:18:37.392Z", "location": {
"lat": 32.7972947, "lon": -116.6673796, "alt": 860.31} },
{ "time": "2020-02-21T21:18:37.592Z", "location": {
"lat": 32.7972948, "lon": -116.6673796, "alt": 860.318} }, 
{ "time": "2020-02-21T21:18:37.795Z", "location": {"
lat": 32.7972948, "lon": -116.6673796, "alt": 860.348} }
]

Location Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=nova-drone&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&responseFormat=application/json

Video Frame Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=nova-drone&observedProperty=http://www.opengis.net/def/property/OGC/0/VideoFrame&temporalFilter=phenomenonTime,2020-02-21T21:18:37.192Z/2020-02-21T21:24:47.990Z&replaySpeed=1&responseFormat=application/json

Sim Weather

A simulated weather station.

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Wind Speed Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/WindSpeed&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Response:

[ 
{"time": "2020-04-15T23:41:55.849Z", "windSpeed": 2.434334177278718}, 
{"time": "2020-04-15T23:41:56.849Z", "windSpeed": 2.2447554305255526}, 
{"time": "2020-04-15T23:41:57.849Z", "windSpeed": 2.215518685426123}, 
{"time": "2020-04-15T23:41:58.849Z", "windSpeed": 2.23328924826713}
]

Wind Speed Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/WindSpeed&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Wind Direction Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/WindDirection&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Response:

[ 
{"time": "2020-04-15T23:46:05.850Z", "windDirection": 10.203039018392106}, 
{"time": "2020-04-15T23:46:06.849Z", "windDirection": 9.451267024184572}, 
{"time": "2020-04-15T23:46:07.849Z", "windDirection": 8.8471251371442}, 
{"time": "2020-04-15T23:46:08.849Z", "windDirection": 9.35748167589516}, 
{"time": "2020-04-15T23:46:09.850Z", "windDirection": 8.379632207195392} 
]

Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/SensorLocation&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Response:

[ { "time": "2020-04-14T01:26:59.827Z", "location": {"lat": 34.8038, "lon": -86.7228, "alt": 0.0} } ]

Air Temperature Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/AirTemperature&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Response:

[
{"time": "2020-04-15T23:47:57.849Z", "temperature": 19.614905303751094}, 
{"time": "2020-04-15T23:47:58.849Z", "temperature": 19.52416641963523}, 
{"time": "2020-04-15T23:47:59.849Z", "temperature": 19.614042668556117}, 
{"time": "2020-04-15T23:48:00.849Z", "temperature": 19.716011322397176}, 
{"time": "2020-04-15T23:48:01.849Z", "temperature": 19.532086371732976}, 
{"time": "2020-04-15T23:48:02.850Z", "temperature": 19.532618479774772}, 
{"time": "2020-04-15T23:48:03.849Z", "temperature": 19.3423528845317}, 
{"time": "2020-04-15T23:48:04.849Z", "temperature": 19.276812618498482} ]

Atmospheric Pressure Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-weather-sos&observedProperty=http://sensorml.com/ont/swe/property/AtmosphericPressure&temporalFilter=phenomenonTime,now/2020-12-31&replaySpeed=1&responseFormat=application/json

Response:

[ 
{"time": "2020-04-15T23:49:04.849Z", "pressure": 1013.8479122827346}, 
{"time": "2020-04-15T23:49:05.849Z", "pressure": 1013.9376045464688}, 
{"time": "2020-04-15T23:49:06.850Z", "pressure": 1013.9263985419113}, 
{"time": "2020-04-15T23:49:07.849Z", "pressure": 1013.880082929091}, 
{"time": "2020-04-15T23:49:08.849Z", "pressure": 1013.8563730897376}, 
{"time": "2020-04-15T23:49:09.849Z", "pressure": 1013.8492770088617}
]

Sim GPS

A simulated GPS signal, performing a random walk/drive.

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-gps-squad-sos&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&temporalFilter=phenomenonTime,now/2021-01-01T12:12:12Z&responseFormat=application/json

Response:

[ 
{ "time": "2020-04-15T23:49:55.957Z", "location": {"lat": 34.740288642090505, "lon": -86.6279425546502, "alt": 193.0} }, 
{ "time": "2020-04-15T23:49:56.957Z", "location": {"lat": 34.74019530752989, "lon": -86.62790665674227, "alt": 193.0} }, 
{ "time": "2020-04-15T23:49:57.957Z", "location": {"lat": 34.74010197296927, "lon": -86.62787075883433, "alt": 193.0} } 
]

Location Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=sim-gps-squad-sos&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&responseFormat=application/json

Sim Squad

Simulated squad in 3d building space

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=sim-gps-squad-sos&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&temporalFilter=phenomenonTime,now/2021-01-01T12:12:12Z&responseFormat=application/json

[
 {
  "time": "2020-06-22T22:09:02.333Z",
  "location": {
   "lat": 27.948890714560783,
   "lon": -82.44562026701756,
   "alt": 193.0
   }
 }
,
 {
  "time": "2020-06-22T22:09:03.333Z",
  "location": {
   "lat": 27.948910711067942,
   "lon": -82.44561989325106,
   "alt": 193.0
   }
 }
,

Location Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=sim-gps-squad-sos&observedProperty=http://www.opengis.net/def/property/OGC/0/SensorLocation&responseFormat=application/json

3DR Solo Drone

Sample Requests

The following are a list of example requests and their respective responses. The IP ADDRESS and PORT will need to be specified and point to the instance of the OpenSensorHub node serving the data.

Platform Orientation Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:sensor:mavlink:c26165b2&observedProperty=http://www.opengis.net/def/property/OGC/0/PlatformOrientation&temporalFilter=phenomenonTime,2020-06-13T18:22:35.446Z/now&responseFormat=application/json&replaySpeed=1

[
 {
  "time": "2020-06-13T18:22:35.446Z",
  "attitude": {
   "yaw": -168.52827,
   "pitch": 0.5493665,
   "roll": 1.7313147
   }
 }
,
 {
  "time": "2020-06-13T18:22:35.546Z",
  "attitude": {
   "yaw": -168.52588,
   "pitch": 0.5477565,
   "roll": 1.7277969
   }
 }
,

Platform Orientation Request Template:

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResultTemplate&offering=urn:osh:sensor:mavlink:c26165b2&observedProperty=http://www.opengis.net/def/property/OGC/0/PlatformOrientation&responseFormat=application/json

Gimbal Orientation Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:sensor:mavlink:c26165b2&observedProperty=http://sensorml.com/ont/swe/property/OSH/0/GimbalOrientation&temporalFilter=phenomenonTime,2020-06-13T18:22:35.446Z/now&responseFormat=application/json&replaySpeed=1

[
 {
  "time": "2020-06-13T18:22:35.652Z",
  "attitude": {
   "yaw": -0.08999991,
   "pitch": -3.8505602,
   "roll": -3.4824598
   }
 }
,
 {
  "time": "2020-06-13T18:22:35.751Z",
  "attitude": {
   "yaw": -0.08999991,
   "pitch": -3.9225602,
   "roll": -3.12246
   }
 }
,

Platform Location Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:sensor:mavlink:c26165b2&observedProperty=http://www.opengis.net/def/property/OGC/0/PlatformLocation&temporalFilter=phenomenonTime,2020-06-13T18:22:35.446Z/now&responseFormat=application/json&replaySpeed=1

[
 {
  "time": "2020-06-13T18:22:35.546Z",
  "loc": {
   "lat": 34.6919283,
   "lon": -86.5902075,
   "alt": 180.73
   }
 }
,
 {
  "time": "2020-06-13T18:22:35.644Z",
  "loc": {
   "lat": 34.6919283,
   "lon": -86.5902075,
   "alt": 180.73
   }
 }
,

Video Frame Request

http://34.67.197.57:8282/sensorhub/sos?service=SOS&version=2.0&request=GetResult&offering=urn:osh:sensor:rtpcam:2b002777-c01c-4331-a520-8caf419784a3&observedProperty=http://sensorml.com/ont/swe/property/VideoFrame&temporalFilter=phenomenonTime,2020-06-13T18:25:35.446Z/now

%d bloggers like this: