Advertisement
Guest User

SLD Style

a guest
Feb 2nd, 2014
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.56 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.    <StyledLayerDescriptor version="1.0.0"
  3.       xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
  4.       xmlns="http://www.opengis.net/sld"
  5.       xmlns:ogc="http://www.opengis.net/ogc"
  6.       xmlns:xlink="http://www.w3.org/1999/xlink"
  7.       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  8.      <NamedLayer>
  9.        <Name>Heatmap</Name>
  10.        <UserStyle>
  11.          <Title>Heatmap</Title>
  12.          <Abstract>A heatmap surface showing population density</Abstract>
  13.          <FeatureTypeStyle>
  14.            <Transformation>
  15.              <ogc:Function name="aaa:Decimation">
  16.                <ogc:Function name="parameter">
  17.                  <ogc:Literal>data</ogc:Literal>
  18.                </ogc:Function>
  19.                <ogc:Function name="parameter">
  20.                  <ogc:Literal>pixelSize</ogc:Literal>
  21.                  <ogc:Function name="env">
  22.                    <ogc:Literal>radius</ogc:Literal>
  23.                    <ogc:Literal>8</ogc:Literal>
  24.                  </ogc:Function>
  25.                </ogc:Function>
  26.                <ogc:Function name="parameter">
  27.                  <ogc:Literal>outputBBOX</ogc:Literal>
  28.                  <ogc:Function name="env">
  29.                    <ogc:Literal>wms_bbox</ogc:Literal>
  30.                  </ogc:Function>
  31.                </ogc:Function>
  32.                <ogc:Function name="parameter">
  33.                  <ogc:Literal>outputWidth</ogc:Literal>
  34.                  <ogc:Function name="env">
  35.                    <ogc:Literal>wms_width</ogc:Literal>
  36.                  </ogc:Function>
  37.                </ogc:Function>
  38.                <ogc:Function name="parameter">
  39.                  <ogc:Literal>outputHeight</ogc:Literal>
  40.                  <ogc:Function name="env">
  41.                    <ogc:Literal>wms_height</ogc:Literal>
  42.                  </ogc:Function>
  43.                </ogc:Function>
  44.              </ogc:Function>
  45.            </Transformation>
  46.     <Rule>
  47.           <Name>rule1</Name>
  48.           <Title>Red Square</Title>
  49.           <Abstract>A 6 pixel square with a red fill and no stroke</Abstract>
  50.             <PointSymbolizer>
  51.               <Graphic>
  52.                 <Mark>
  53.                   <WellKnownName>square</WellKnownName>
  54.                   <Fill>
  55.                     <CssParameter name="fill">#FF0000</CssParameter>
  56.                   </Fill>
  57.                 </Mark>
  58.               <Size>6</Size>
  59.             </Graphic>
  60.           </PointSymbolizer>
  61.         </Rule>
  62.          </FeatureTypeStyle>
  63.        </UserStyle>
  64.      </NamedLayer>
  65.     </StyledLayerDescriptor>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement