Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Geoserver 2.1.3

I would like to symbolize a line with a Square but use the <Rotation>45</Rotation> tags to make the symbol look like a diamond.

My sld is below and unfortunately the symbols are not rotated...Is this not possible or is my SLD wrong?



<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation=" StyledLayerDescriptor.xsd"
    <Name>line-symbol rotation</Name>
      <Title>line-symbol rotation</Title>      
          <Name>line-symbol rotation</Name>                          
          <LineSymbolizer >    
               <CssParameter name="fill">#009900</CssParameter>
share|improve this question
This style with geometries can be seen… – Robert Buckley Apr 10 '12 at 11:14
up vote 2 down vote accepted

I'm not sure the linestroke will support rotation but why not take the diamond from wingdings:


Did you see this presentation:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.