Hi,
I have created the following line style that uses a tile image to create a
line:
   <FeatureTypeStyle>
    <Rule>
     <Name>Consultation Area 2</Name>
     <LineSymbolizer>
      <Stroke>
       <GraphicStroke>
        <Graphic>
         <ExternalGraphic>
          <OnlineResource xlink:type="simple" xlink:href="tile.gif"/>
          <Format>image/gif</Format>
         </ExternalGraphic>
         <Size>15</Size>
        </Graphic>
       </GraphicStroke>
      </Stroke>
     </LineSymbolizer>
    </Rule>
   </FeatureTypeStyle>
Here is the tile image: http://demo.jdi-consult.net/tile.gif
and here is how the style looks when applied to my layer:
http://demo.jdi-consult.net/LineImage.gif
Is there any reason why there are black blocks along the line? I have tried
different size tiles, different image formats and different coloured tiles
and there is always black squares on the layer.

This is the example where I got the style from:
http://geoserver.org/display/GEOSDOC/SLD+Snippets#SLDSnippets-Showexternalgraphicalongaline
-- 
View this message in context: 
http://old.nabble.com/Black-squares-when-using-GraphicStroke-tp30651702p30651702.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to