Hello,

I´m trying to produce a clean slash with a background. I am using a simple 
polygon symbolizer as coded below, but the slash seems to be cut into little 
segments. Is this a known bug, or can I code the sld differently to eliminate 
this irregularity?

   <PolygonSymbolizer>
<!-- background -->
            <Fill>
              <CssParameter name="fill">#E5FFC6</CssParameter>
              <CssParameter name="fill-opacity">1</CssParameter>
            </Fill>
          </PolygonSymbolizer>   
 
    <!-- foreground --> 
          <PolygonSymbolizer uom="http://www.opengeospatial.org/se/units/metre";>
            <Fill>
              <GraphicFill>
                <Graphic>
                  <Mark>
                    <WellKnownName>shape://slash</WellKnownName>
                    <Stroke>
                      <CssParameter name="stroke">#FF8C00</CssParameter>
                      <CssParameter name="stroke-width">10</CssParameter>
                    </Stroke>
                  </Mark>
                  <Size>30</Size>
                </Graphic>
              </GraphicFill>
            </Fill>

    <!-- outline -->  
            <Stroke>
              <CssParameter name="stroke">#6E6E6E</CssParameter>
              <CssParameter name="stroke-width">0.4</CssParameter>
              <CssParameter name="stroke-opacity">1</CssParameter>
            </Stroke>
          </PolygonSymbolizer>


yours,

Rob

<<attachment: sld_error.png>>

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to