ppyordanov / Dynamic-Noise-and-Pollution-Map

A dynamically generated University of Glasgow noise and pollution campus map via the innovative Smart Citizen Kit developed in Barcelona, Spain by FabLab.
0 stars 0 forks source link

Optimize Map Working Space Usage #45

Closed ppyordanov closed 9 years ago

ppyordanov commented 9 years ago

At the moment, when in default zoom, the border frame that is used by the mobile web application to display sensor readings is getting over-populated with information after about a thousand samples have been added to the working space area. This will be optimized and there are a couple different techniques that can be used for the implementation.

ppyordanov commented 9 years ago

The maximum expected load is about 50 to 60 000 data readings from the Smart Citizen Kit. This might cause some map rendering issues and data filters should be efficiently implemented to ensure high performance and fast processing.

Example data visualization for 5 000 data readings without any optimizations applied (as seen on the screenshot location (latitude and longitude) is randomly generated within the specified aerial bounds to simulate data received from Android devices):

example

To tackle the large data set visualization, some of the following approaches can be used:

NOTE: considering each 5 data readings are grouped with a 30 sec. window, the system is going to be deriving a single data reading aggregation each 2,5 min. which, for the Glasgow University campus area, I would consider normal, taking into account walking speed; regarding location, the carrier client device's GPS system can, for example be used to store geolocation every 1,25 min so that from the 3 generated values for a period of 2,5 min, the middle one can be used. /these are just implementation examples/ideas and they will be changed as the system is developed further/

The notes here will provide food for thought so that the most efficient solution mechanism can be applied in the final implementation.

ppyordanov commented 9 years ago

This task has been completed and can be closed now.