|
From: Andrea A. <and...@ge...> - 2011-06-23 12:26:15
|
On Thu, Jun 23, 2011 at 1:56 PM, Gis Mage <gi...@gm...> wrote: > Found a workaround: > Two TextSymbolizers - first with underscores "_" characters, and the other > one on top with the label field. > My next question is - how to use a function, which calculates the lenght of > the string and places equal number of "_" in a Label tag ? > > In general - is there a documentation on all existing functions (like > PropertyIsEqualTo etc.) somewhere? > Maybe a document or a web page? > The reference document are the SLD and Filter specifications themselves, you can download them from the OGC web site. Filter functions, which is the part you need, are server specific and listed here: http://docs.geoserver.org/stable/en/user/filter/function_reference.html This blog also has some example on how to use them: http://blog.geoserver.org/2010/02/08/geoserver-hidden-treasures-filter-functions/ Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- |