Add better Statistics
Summary
In order for faster and more efficient statistics, some function and endpoints need to be reworked
Detailed description
Currently, the API call for endpoints only returns nodes. In order to have some information on page load, the current traffic situation should also be sent as an GeoJson properties. On the other hand, the ´measurement/now´ endpoint should return the additional wait time compare to the average wait time.
Checklist
-
Endpoint modification -
Better way to calculate traffic situation -
Create Hypertables -
Check for existing Hypertables -
Create continuous aggregates -
Check for existing aggregates
Edited by Luca Nachbar