PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/edl-scripts/SLDs/restricted.sld

http://alageospatialportal.googlecode.com/
Unknown | 33 lines | 30 code | 3 blank | 0 comment | 0 complexity | c255f4e30f134d8ea033dd2e3b90de61 MD5 | raw file
 1<?xml version="1.0" encoding="ISO-8859-1"?>
 2<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
 3  xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4  xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
 5  <NamedLayer>
 6    <Name>Restricted areas</Name>
 7    <UserStyle>
 8      <Title>Red, translucent style</Title>
 9      <Abstract>A sample style that just prints out a transparent red interior with a red outline</Abstract>
10
11      <FeatureTypeStyle>
12        <!--FeatureTypeName>Feature</FeatureTypeName-->
13        <Rule>
14          <Title>RedFill RedOutline</Title>
15          <Abstract>70% opaque red fill with a darker 1px red outline</Abstract>
16
17          <!-- like a linesymbolizer but with a fill too -->
18          <PolygonSymbolizer>
19            <Fill>
20              <CssParameter name="fill">#FF0000</CssParameter>
21              <CssParameter name="fill-opacity">0.7</CssParameter>
22            </Fill>
23            <Stroke>
24              <CssParameter name="stroke">#AA0000</CssParameter>
25              <CssParameter name="stroke-width">1</CssParameter>
26            </Stroke>
27          </PolygonSymbolizer>
28        </Rule>
29
30        </FeatureTypeStyle>
31    </UserStyle>
32  </NamedLayer>
33</StyledLayerDescriptor>