Ticket #2146 (closed feature: fixed)
enhance createLiterals to merge context, attributes and data
|Reported by:||pspencer||Owned by:||ahocevar|
Attached is a small patch which modifies the createLiterals method of Style to merge the style context, attributes and data to make it possible to map values in the style from multiple places. The incentive for this patch is to allow specifying some style values to come directly from feature.attributes and others to be computed via a function in the style context.
I've included a modification to the Style test that tests getting values from both context and feature attributes in a single createSymbolizer call.