Skip to content

emotional-cities/sta-server

Repository files navigation

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

About

FROST implementation of OGC SensorThings API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages