On Tue, Dec 21, 2010 at 4:00 AM, Miles Jordan <[email protected]> wrote: > Can anyone think of a way of putting the feature type name as a label in an > SLD without storing the feature type name as an attribute to the layer? > Perhaps a function that I don't know about, or some other easter egg..
I don't think we have such function, yet coding one should be real quick. See this function as an example: http://svn.osgeo.org/geotools/trunk//modules/library/main/src/main/java/org/geotools/filter/function/FilterFunction_numberFormat.java and how it's registered in the plugin system in this file: http://svn.osgeo.org/geotools/trunk/modules/library/main/src/main/resources/META-INF/services/org.opengis.filter.expression.Function Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
