Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.29 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.29 KB

SensorThings API Server

This server is the FROST implementation of the OGC Sensor Things API Standard.

Quick Setup

You will need docker and docker-compose installed in your system, in order to run this infrastructure.

First create a .env file with the environment variables. For example:

POSTGRES_PASSWORD="CHANGEme"
POSTGRES_USER="postgres"

Change script permission:

sudo chmod +x sensorthings.sh

Then run:

docker-compose up -d

Access the server on: http://localhost:8080/FROST-Server/

Add Data

curl -X POST -H "Content-Type: application/json" -d @sample-locations.json http://localhost:8080/FROST-Server/v1.1/Things

Consume Data

You can view/analyse data using any sensorthings API compliant client, for instance the SensorThingsAPI QGIS plugin (see screenshots bellow).

screenshot of the SensorThingsAPI QGIS plugin

screenshot of the SensorThingsAPI QGIS plugin

License

This project is released under an MIT License

License: MIT