Why not use 2 rules inside of the same FeatureTypeStyle? That should work. Best regards, Bart
-- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl --------- Oorspronkelijk bericht -------- Van: Jackey Cheung <[EMAIL PROTECTED]> Naar: [email protected] <[email protected]> Onderwerp: [UMN_MAPSERVER-USERS] Multiple FeatureTypeStyle in a UserStyle Datum: 01/04/07 23:25 > 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? > >
