I'm not sure if you're looking something more complex, but if just want to hard code in your SLD the Swamp Forest I'm pretty sure you can say
<Label> <ogc:*Literal*>Swamp Forest</ogc:*Literal*> </Label> On Thu, Aug 12, 2010 at 11:51 AM, anders.soder...@gisassistans.se < anders.soder...@gisassistans.se> wrote: > > Hello. > In scales between 1:1 - approx. 1:25 000 I often use > <Label> > <ogc:PropertyName>xyz</ogc:PropertyName> > </Label> > and it works fine. In smaller scales (1:25 000 - 1:500 000) I would like to > put a "name" for "the type of polygon", for example swamp forest, using a > "static text" label i.e. Swamp Forest because the areas are to small to > show > any renderingresult or attribute text. > I would like the "static text" to be written above or on top of the > polygon. > Hope somebody has tried this :blush: > Regards Anders Stockholm Sweden > -- > View this message in context: > http://old.nabble.com/Labeling-a-%22static-text%22-ie.-not-%3Cogc%3APropertyName%3Exyz%3C-ogc%3APropertyName%3E-tp29420204p29420204.html > Sent from the GeoServer - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users