Demonstrate capability to shade entire set of regions given KML region data and random gradient information in CSV format.
Specific technical details of this prototype:
PHP script for online generation of new KMZ map data for shading region gradients based on user data (parse CSV gradient information, pre-processing KML data, outputting zipped KMZ file for google maps engine consumption)
When new gradient infomation is to be rendered, evict old KML data (the previous render), then generate new KMZ data (server side using PHP script) and and inject into the google maps engine for updated render.
Description
In this example the user configures values for startColour, endColour and alpha blending (transparency) and then shade the regions using these values and an example CSV data file.
For each region, based on the gradient value in the CSV data, a colour for shading the region is interpolated (from startColour and endColour including alpha blending, respectively) and applied to the map.
Note: Current example use a set of static CSV gradient data files - in a final system the CSV gradient data is generated online by exercising HUGIN decision engine and environmental bayesian network model
Online processing of region gradient information (in CSV form) values in range [0, 1]