0.6.0 • Published 7 years ago

sensorthings v0.6.0

Weekly downloads
3
License
MPL-2.0
Repository
github
Last release
7 years ago

SensorThings API

License Build Status Coverage Status

Node implementation of the OGC SensorThings API.

Dependencies

  • Nodejs 6
  • PostgreSQL >9.4
  • PostGIS

Build

npm install
npm run build

Usage

const express      = require('express');
const SensorThings = require('../dist/sensorthings'); // or require('sensorthings')
                                                      // if you installed it via npm

var app = express();

const config = {
  db: {
    host: 'localhost',
    port: 5432,
    name: 'sensorweb',
    user: 'postgres',
    password: '12345678'
  }
};

app.use('/', SensorThings(config));

app.listen(8080, () => console.log('Running on localhost:8080'));

Running the tests

npm run test-watch

Running the example

npm run example

OGC Compliance testing status

We are automatically running the Test Suite for the OGC SensorThings API with every commit and the results are published here.

Conformance ClassReferenceTest Status
Sensing CoreA.16 passed, 0 failed
Filtering ExtensionA.27 passed, 1 failed*
Create-Update-DeleteA.39 passed, 0 failed
Batch RequestA.4Tests not implemented
Sensing MultiDatastream ExtensionA.5Tests not implemented
Sensing Data Array ExtensionA.6Tests not implemented
MQTT Extension for Create and UpdateA.7Tests not implemented
MQTT Extension for Receiving UpdatesA.8Tests not implemented
0.6.0

7 years ago

0.5.0

7 years ago

0.0.10

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

8 years ago