Hi Barend, Sorry, I didn't know there was a problem with my emails. I've removed the styling-format of my email.
I'll repeat my question in case, someone didn't read the email because of that problem you mentioned. I've got a SLD that I apply to a polygon layer and I want to add a label to identify those polygons. I manage to add the the labels but my problem is that the labels are repeated a lot of times into the polygons and furthermore they don't appear on the centroif of my polygon. Here is my TextSymbolizer tag: <TextSymbolizer> <sld:MinScaleDenominator>3000</sld:MinScaleDenominator> <sld:MaxScaleDenominator>5000</sld:MaxScaleDenominator> <Label> <ogc:PropertyName>MUNICIPIO</ogc:PropertyName> </Label> <Font> <CssParameter name="font-family">Arial</CssParameter> <CssParameter name="font-weight">bold</CssParameter> <CssParameter name="font-size">8</CssParameter> </Font> <!-- this centers the label on the polygon's centroid--> <LabelPlacement> <PointPlacement> <AnchorPoint> <AnchorPointX>0.5</AnchorPointX> <AnchorPointY>0.5</AnchorPointY> </AnchorPoint> </PointPlacement> </LabelPlacement> <!-- make the label easy to read--> <Halo> <Radius> <ogc:Literal>2</ogc:Literal> </Radius> <Fill> <CssParameter name="fill">#FFFFFF</CssParameter> <CssParameter name="fill-opacity">0.85</CssParameter> </Fill> </Halo> <Fill> <CssParameter name="fill">#000000</CssParameter> </Fill> <!-- This labels each name only once, not every shape with that name --> <VendorOption name="group">true</VendorOption> </TextSymbolizer> Hope that somenone can help me. Thanks. Hi David, On a totally different subject: Are you aware that on some email readers (mine certainly), all your emails are viryually unreadable becuase your logo keeps getting repeated in the backgorund (see atached screenshot)? -- Barend Köbben International Institute for Geo-Information Sciences and Earth Observation (ITC) PO Box 6, 7500AA Enschede, The Netherlands +31 (0)53 4874253 International Institute for Geo-Information Science and Earth Observation (ITC) Chamber of Commerce: 410 27 560 E-mail disclaimer The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users