> > At mapbuilder I use a SLD file and send to Geoserver. However geoserver > > still applies the > > default style. What do I have to do?
That's probably an easy one. You need to specify <IsDefault>true</IsDefault> for your UserStyle. Don't know if it works for UserLayer the same way as for NamedLayer, however, if you change this: > > <StyledLayerDescriptor version="1.0.0" > > xmlns="http://www.opengis.net/sld"> > > <UserLayer> > > <Name>topp:tasmania_roads</Name> > > <UserStyle> > > <FeatureTypeStyle> > > [...] > > </FeatureTypeStyle> > > </UserStyle> > > </UserLayer> > > </StyledLayerDescriptor> to: <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"> <NamedLayer> <Name>topp:tasmania_roads</Name> <UserStyle> <IsDefault>true</IsDefault> <FeatureTypeStyle> [...] </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor> it will probably work. Regards, -- -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
