= Webservice = == Installation == == Usage == == Development == === Features === * Export stations / weather data in [https://en.wikipedia.org/wiki/GeoJSON GeoJSON] format * Use [https://en.wikipedia.org/wiki/SpatiaLite SpatiaLite] extension of SQLite database for GIS information * May be use [http://www.slimframework.com/ PHP SLIM] to implement REST webservice {{{ rrdtool create filename.rrd \ --step '900' \ 'DS:Temp:GAUGE:1320:-100:100' \ # Temperature between -100 and +100, collected every 15 Minutes, with a heartbeat of 22 Minutes (after 22 Minutes, the value is marked as undefined, if not given within this time frame) 'DS:Humidity:GAUGE:1320:0:100' \ # Humidity between 0 and 100, collected every 15 Minutes 'DS:Pressure:GAUGE:1320:800:1200' \ # Pressure between 800 and 1200 (in hPa), collected every 15 Minutes 'DS:WindSpeed:GAUGE:1320:0:999' \ # Wind speed between 0 and 999 (in km/h), collected every 15 Minutes 'DS:Winddirection:GAUGE:1320:1:360' \ # Wind direction between 1 and 360 (in Degrees, beginning in the north), collected every 15 Minutes 'DS:Rainfall:GAUGE:1320:0:999' \ # Rainfall in Liter / Squaremeter, summed over 15 minutes 'RRA:AVERAGE:0.5:1:96' \ # The base intervall (15 minutes, 1 day back - 4 x 15 = 96) 'RRA:AVERAGE:0.5:4:96' \ # Average, max and minumum values, 1hour intervall 4 days back (1 * 96) 'RRA:MIN:0.5:4:96' \ 'RRA:MAX:0.5:4:96' \ 'RRA:AVERAGE:0.5:8:360' \ # 2 hour intervall, 30 days back 'RRA:MIN:0.5:8:360' \ 'RRA:MAX:0.5:8:360' \ 'RRA:AVERAGE:0.5:16:2190' \ # 4 hour intervall, 1 year back 'RRA:MIN:0.5:16:2190' \ 'RRA:MAX:0.5:16:2190' \ 'RRA:AVERAGE:0.5:24:146000' \ # 6 hour intervall, 100 years back 'RRA:MIN:0.5:24:146000' \ 'RRA:MAX:0.5:24:146000' \ 'RRA:AVERAGE:0.5:48:146000' \ # 12 hour intervall, 200 years back 'RRA:MIN:0.5:24:146000' \ 'RRA:MAX:0.5:24:146000' \ 'RRA:AVERAGE:0.5:96:146000' \ # 24 hour intervall, 400 years back 'RRA:MIN:0.5:24:146000' \ 'RRA:MAX:0.5:24:146000' }}}