I have a set of features in a PostGIS table, where each feature has an attribute describing when the feature was created.
I would like to serve the features as a WMS layer and I would like to style each feature according to how old the feature is. An example could be a feature created today should be RED, if the feature is younger than 3 days old it should be GREEN and features older than that should be BLUE.
I could create a PostGIS view calculating the age of the features and style according to that, but it will also appear in the GetFeatureInfo lookup, which I would like to avoid.
Can this be done currently in GeoServer?