I have create a function and want to have access to all the attributes
defined in the DescribeFeatureType XML.  In my evaluate method of my
function, the feature only has the attributes that are defined in the SLD. 
My function is designed to take a CQL statement from an environment variable
and parse it at runtime.  The function works but returns null for attributes
that are not hardcoded in the SLD.  How can I can all the
attributes/properties injected in the feature object, even the ones that are
not expclicitly used in the SLD? 

I have an environment variable called DATA_BLOCK which has the value 'Name
${USER_NAME} and in my TextSymbolizer I use is as the label with 


        
                DATA_BLOCK
        


Of course if I don't use ${USER_NAME} explicitly in the SLD, the feature
does not contain this property.  If I do, then the feature does.  I know
that they are being truncated to only use the features used in the SLD
because if I use in directly in the SLD it appears as an attribute in the
feature.

Thanks
-Ernesto

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/GeoTools-and-GeoServer-tp6085097p6085097.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to