????
Current Path : C:/Users/All Users/GeoServer/styles/ |
Current File : C:/Users/All Users/GeoServer/styles/restricted.sld |
<?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> <NamedLayer> <Name>Restricted areas</Name> <UserStyle> <Title>Red, translucent style</Title> <Abstract>A sample style that just prints out a transparent red interior with a red outline</Abstract> <FeatureTypeStyle> <!--FeatureTypeName>Feature</FeatureTypeName--> <Rule> <Title>RedFill RedOutline</Title> <Abstract>70% opaque red fill with a darker 1px red outline</Abstract> <!-- like a linesymbolizer but with a fill too --> <PolygonSymbolizer> <Fill> <CssParameter name="fill">#FF0000</CssParameter> <CssParameter name="fill-opacity">0.7</CssParameter> </Fill> <Stroke> <CssParameter name="stroke">#AA0000</CssParameter> <CssParameter name="stroke-width">1</CssParameter> </Stroke> </PolygonSymbolizer> </Rule> </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor>