[Geoserver-users] how to draw roads using SLD [Sec=Unclassified]

Hi,

Try removing the stroke-linecap parameter and see how it goes.

Miles

-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On
Behalf Of parmarp@anonymised.com
Sent: Friday, 5 January 2007 1:22 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] how to draw roads using SLD
[Sec=Unclassified]

Hello everyone. I need help in rendering decent roads ( just like the
ones in sigma.openplans.org ). The problem i have is
that were the lines ( complete chains ) are joined there is a black
spot. I've attached the image that is generated. I've tried
different stroke-linejoin parameters but nothing makes it
look good. Any
idea ?

    <Rule>
        <Name>roads </Name>
        <Title>local roads</Title>
        <Abstract></Abstract>
        <LineSymbolizer>
        <Geometry>
           <ogc:PropertyName>line</ogc:PropertyName>
        </Geometry>
        <Stroke>
            <CssParameter name="stroke">#000000</CssParameter>
            <CssParameter name="stroke-linecap">round</CssParameter>
            <CssParameter name="stroke-width">3.0</CssParameter>
        </Stroke>
        </LineSymbolizer>
        <LineSymbolizer>
        <Geometry>
           <ogc:PropertyName>line</ogc:PropertyName>
        </Geometry>
        <Stroke>
            <CssParameter name="stroke">#ffffff</CssParameter>
            <CssParameter name="stroke-linejoin">blevel</CssParameter>
            <CssParameter name="stroke-width">1.8</CssParameter>
        </Stroke>
        </LineSymbolizer>
        <TextSymbolizer>
           <Geometry>
              <ogc:PropertyName>line</ogc:PropertyName>
           </Geometry>
           <Label>
              <ogc:PropertyName>fename</ogc:PropertyName>
           </Label>
               <Font>
              <CssParameter name="font-family">Arial</CssParameter>
              <CssParameter
name="font-family">Sans-Serif</CssParameter>
              <CssParameter name="font-style">italic</CssParameter>
              <CssParameter name="font-size">9</CssParameter>
               </Font>
           <Fill>
              <CssParameter name="fill">#000000</CssParameter>
           </Fill>
           <Halo/>
        </TextSymbolizer>
    </Rule>

___________________________________________________________________________

    Australian Government Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________