Below is the FeatureTypeStyle that draws polygon with labels. As you can see from the attached image, the labels are repeated many times over the polygon. Is there a <VendorOption> that I can use to suppress the behavior? <sld:FeatureTypeStyle> <sld:Rule> <Name>Landing area</Name> <Title></Title> <ogc:Filter> <ogc:Or> <ogc:And> <ogc:PropertyIsEqualTo><ogc:PropertyName>f_code</ogc:PropertyName><ogc:Literal>BD000</ogc:Literal></ogc:PropertyIsEqualTo> <ogc:PropertyIsGreaterThan><ogc:PropertyName>hdp</ogc:PropertyName><ogc:Literal>20</ogc:Literal></ogc:PropertyIsGreaterThan> </ogc:And> <ogc:And> <ogc:PropertyIsEqualTo><ogc:PropertyName>f_code</ogc:PropertyName><ogc:Literal>BD200</ogc:Literal></ogc:PropertyIsEqualTo> <ogc:PropertyIsEqualTo><ogc:PropertyName>vrr</ogc:PropertyName><ogc:Literal>4</ogc:Literal></ogc:PropertyIsEqualTo> <ogc:PropertyIsGreaterThan><ogc:PropertyName>hdp</ogc:PropertyName><ogc:Literal>20</ogc:Literal></ogc:PropertyIsGreaterThan> </ogc:And> </ogc:Or> </ogc:Filter> <PolygonSymbolizer> <Stroke> <sld:CssParameter name="stroke">#92A4A6</sld:CssParameter> <sld:CssParameter name="stroke-width">2</sld:CssParameter> <sld:CssParameter name="stroke-dasharray">12 6</sld:CssParameter> </Stroke> </PolygonSymbolizer> <sld:TextSymbolizer> <sld:Label> <ogc:PropertyName>txt</ogc:PropertyName> </sld:Label> <sld:Font> <sld:CssParameter name="font-family">Arial</sld:CssParameter> <sld:CssParameter name="font-size">8</sld:CssParameter> <sld:CssParameter name="font-style">normal</sld:CssParameter> <sld:CssParameter name="font-weight">bold</sld:CssParameter> </sld:Font> <sld:LabelPlacement> <sld:PointPlacement> <sld:AnchorPoint> <sld:AnchorPointX>0.5</sld:AnchorPointX> <sld:AnchorPointY>0.5</sld:AnchorPointY> </sld:AnchorPoint> </sld:PointPlacement> </sld:LabelPlacement> <sld:Halo> <sld:Radius>3</sld:Radius> <sld:Fill> <sld:CssParameter name="fill">#FFFFFF</sld:CssParameter> </sld:Fill> </sld:Halo> </sld:TextSymbolizer> </sld:Rule> </sld:FeatureTypeStyle>
<http://osgeo-org.1560.x6.nabble.com/file/n5146148/repeated-label.jpg> I greatly appreciate any comments on this issues. Regards, Tam -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeated-labels-for-PolygonSymbolizer-tp5146148.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users