Solved...

The problem was with the JDK.  The QA box has JDK "1.6.0_24" and the PROD JDK "1.6.0_20".

Upgraded to "1.6.0_26" and the labels aligned.

Very cruel.

On 05/08/2011, at 9:37 AM, Tate Jones wrote:

Hi Geoserver User,

I have very strange problem that is only occurring on our production server, however the same SLD on the QA machine works fine.

The layer contains a set of places (points) and the SLD simple anchors the label in the middle of the red point.  The SLD is then copied to the production box, but the labels are horizontally missed aligned.  Some labels are align but most don't.  Both boxes are running Ubuntu, GeoServer 2.1.1, JDK 1.6 and Postgis 1.5.3.  The data supplied is dump from QA and restored into production.

It looks like the text is wrapping.  Can anyone offer some troubleshooting tips to resolve this issues?

See attachment.  

<wms.jpeg>


....
                <Rule>
                    <Name>Large Towns</Name>
                    <Title>Large Towns</Title>
                    <ogc:Filter>
                        <ogc:PropertyIsLessThanOrEqualTo>
                            <ogc:PropertyName>websymbols</ogc:PropertyName>
                            <ogc:Literal>2</ogc:Literal>
                        </ogc:PropertyIsLessThanOrEqualTo>
                    </ogc:Filter>
                    <MinScaleDenominator>114288</MinScaleDenominator>
                    <PointSymbolizer>
                      <Graphic>
                        <Mark>
                          <WellKnownName>square</WellKnownName>
                          <Fill>
                            <CssParameter name="fill">#FF0000</CssParameter>
                          </Fill>
                        </Mark>
                        <Size>6</Size>
                    </Graphic>
                    </PointSymbolizer>
                    <TextSymbolizer>
                        <Label>
                            <ogc:PropertyName>weblabel</ogc:PropertyName>
                        </Label>
                        <Font>
                            <CssParameter name="font-family">Arial</CssParameter>
                            <CssParameter name="font-size">12</CssParameter>
                            <CssParameter name="font-style">normal</CssParameter>
                        </Font>
                        <LabelPlacement>
                          <PointPlacement>
                            <AnchorPoint>
                             <AnchorPointX>
                               0.5
                             </AnchorPointX>
                             <AnchorPointY>
                               0.5
                             </AnchorPointY>
                            </AnchorPoint>
                          </PointPlacement>
                        </LabelPlacement>
                        <Halo>
                            <Radius>
                                <ogc:Literal>1.5</ogc:Literal>
                            </Radius>
                            <Fill>
                                <CssParameter name="fill">
                                    <ogc:Literal>#FFFFFF</ogc:Literal>
                                </CssParameter>
                                <CssParameter name="fill-opacity">
                                    <ogc:Literal>1</ogc:Literal>
                                </CssParameter>
                            </Fill>
                        </Halo>
                        <Fill>
                            <CssParameter name="fill">#000000</CssParameter>
                        </Fill>
                    </TextSymbolizer>
                </Rule>

Tate Jones


Tablelands Regional Council Disclaimer

This message and any attachments may contain privileged and confidential information intended only for the use of the intended addressee(s). Any unauthorized use of this material is prohibited. If you received this message in error please notify the sender immediately, delete the message and destroy any printed or electronic copies. Opinions expressed in this e-mail are those of the sender and do not necessarily represent the views of the Tablelands Regional Council. Council does not accept any responsibility for the loss or damage that may result from reliance on, or the use of, any information contained in this e-mail or attachments.

We recommend that you scan this e-mail and any attachments for viruses before opening. This Council does not accept liability for any loss or damage incurred either directly or indirectly from opening this e-mail or any attachments to it.
<ATT00001..c><ATT00002..c>

Tate Jones
Coordinator Business Integration
Business Integration Section, Information Management Group
Tablelands Regional Council

 
Phone: 07 4043 4000  |  Direct: 07 4043 4440  |  Fax: 07 4091 4300
Email: [email protected]  |  Website: www.trc.qld.gov.au
45 Mabel Street, Atherton  |  PO Box 573, Atherton, Queensland, Australia, 4883



Tablelands Regional Council Disclaimer

This message and any attachments may contain privileged and confidential information intended only for the use of the intended addressee(s). Any unauthorized use of this material is prohibited. If you received this message in error please notify the sender immediately, delete the message and destroy any printed or electronic copies. Opinions expressed in this e-mail are those of the sender and do not necessarily represent the views of the Tablelands Regional Council. Council does not accept any responsibility for the loss or damage that may result from reliance on, or the use of, any information contained in this e-mail or attachments.

We recommend that you scan this e-mail and any attachments for viruses before opening. This Council does not accept liability for any loss or damage incurred either directly or indirectly from opening this e-mail or any attachments to it.
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to