Multiple FeatureTypeStyle in a UserStyle

Jackey Cheung cheung.jackey at GMAIL.COM
Sun Apr 1 21:15:09 EDT 2007


Greetings!
 
I'm try the SLD on ms4w 4.10 now, and got a problem.
 
I've put 2 <FeatureTypeStyle> blocks in a userstyle:
 
 <NamedLayer>
  <Name>test</Name>
  <UserStyle>
   <FeatureTypeStyle>
    <Rule>
     <LineSymbolizer>
      <Stroke>
       <CssParameter name="stroke">#666666</CssParameter>
       <CssParameter name="stroke-width">7</CssParameter>
      </Stroke>
     </LineSymbolizer>
    </Rule>
   </FeatureTypeStyle>
   <FeatureTypeStyle>
    <Rule>
     <LineSymbolizer>
      <Stroke>
       <CssParameter name="stroke">#FFFFFF</CssParameter>
       <CssParameter name="stroke-width">4</CssParameter>
      </Stroke>
     </LineSymbolizer>
    </Rule>
   </FeatureTypeStyle>
  </UserStyle>
 </NamedLayer>
</StyledLayerDescriptor>
 
But it seems that MapServer only draws the second FeatureTypeStyle only.
 
Why's that?



More information about the mapserver-users mailing list