i want to use Geoserver WMS server for custom styling. lets say i have an area as polygon in a shape file. But i dont have this area's temperature as an attribute. From a web service i gather temperature points inside that area. Now i want Geoserver to color this area according to these dynamic temperature points
here is an example

if it is possible, i even want to place these borders on image and some explanations about colors on right side. How can i send these temperature points to geoserver on wms. And can i do some custom coloring according to these dynamic parameters?
I dont know how to convert these point data to area colors.
My next question is similar but without points, can i colorize a polygon with dynamic attributes which isn't on shape file. here is an example i want to colorize these polygons according to their product type, but as earlier question, these product types are gathered dynamically

I hope these are possible