-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi
AltlasStyler allows to create labeling rules with two attribute fields, seperated with a colon. If any of the two fields is null, the colon is not shown. You can create such a style with AtlasStyler and then look at the generated TextSymbolizer or use it directly with Geoserver. http://en.geopublishing.org/AtlasStyler%20SLD%20Labeling%20Tutorial Greetings, Steve Am 12.11.2010 13:27, schrieb Flavio Carmo: > Hi, > > i couldnt find any similar question, so i came here to ask if a label > can use two fields to get the data from, something like this: > > <sld:TextSymbolizer> > <sld:Label> > <ogc:PropertyName>FIELD_1+FIELD_2</ogc:PropertyName> > </sld:Label> > </sld:TextSymbolizer> > > Or use a custom string, like this: > > <sld:TextSymbolizer> > <sld:Label> > <ogc:PropertyName>"Zone:"+ZONE_NUMBER</ogc:PropertyName> > </sld:Label> > </sld:TextSymbolizer> > > This is possible? > > Thanks in advance. > > Regards, > > Flavio Carmo > > > > ------------------------------------------------------------------------------ > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > > > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzhOdYACgkQdFDQR1G1dv00xwCeMn+fFp4nfM45caen8WUjlYrj 4qwAmwbalKagq9T5Www7vPlxe7VCvc04 =UsyX -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users