System Architecture

For system setup, a combination of innovative open source technologies is used.

system architecture
SMART POLLEN MONITORING – System Architecture

 

Application Server

To deliver a fast and multiple user access a node.js server technology is implemented as the heart of the systems. It is in use as the application server and brings all components together. The system is controlled through famous node packages like express.js, require.js and pgpromise.

  • Express

The express module is used to set up the http(s) communications ways from the server to the client.

  • Require

Require loads the plain JavaScript files and the asynchronous module API for the node server.

  • PGpromise

This module is used to connect the node application server with the PostgreSQL database. It promises, to suppress the asynchronous processing until the database response for a request.

  • AJAXrequest

The requests from the server to the clients is managed with the node module AJAX-request. It enables to make asynchronous server requests.

  • Others

As well there are some other smaller modules used for developing and handling data on the server site like bodyparser, url-join, pg-format, d3 and nodemon.

Client Side

The client site and the corresponding visualization consists of a combination of the following three technologies.

  • 3D NASA WORLD WIND

The 3-dimensional and open source NASA WORLD WIND globe is the fundamental for the spatial visualization. Its JavaScript API delivers a lot of useful functionalities for visualization and calculations in dependence to the NASA globe. Especially the functions for spatial calculations and operations are used to bring the visualization in the coordinate reference system of the globe.

  • D3.js (data driven document)

Through the open source charting library D3.js, data driven charts are generated to support the visualization of the NASA globe. That charts make it easy to analysis historical data.

  • Twitter bootstrap

To implement the control elements like buttons and select lists, the open source CSS library bootstrap is used.

Database

The data fundamental is set up through a PostgreSQL database with PostGIS as its spatial extension. This extension enables the database to perform spatial operations and calculations. The data organization is distributed into four main branches:

  • Geodesic entities and functions (delivered by PostGIS).
  • Blooming data
  • Tree data
  • Wind data
    • Real-time
    • Historical

The blooming and tree data build a data set which is always combined with either a historical or real-time wind dataset. That combination defines a final dataset for the visualization of the pollen distribution.

The real-time data are updated in a sequence of 5 minutes and can be used to update the historical data.

data logic
SMART POLLEN MONITORING – Database Structure

The blooming and tree data build a data set which is always combined with either a historical or real-time wind dataset. That combination defines a final dataset for the visualization of the pollen distribution.

The real-time data are updated in a sequence of 5 minutes and can be used to update the historical data.

 

Web Feature Service

For the source of real-time wind data, the API of OpenWeatherMap is used. Through that API all 5 minutes, the wind data will be updated and used for new analysis and calculation of the pollen distribution zones.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s