polygon_graphicfill.sld 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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>Graphic fill</Name>
  10. <UserStyle>
  11. <Title>SLD Cook Book: Graphic fill</Title>
  12. <FeatureTypeStyle>
  13. <Rule>
  14. <PolygonSymbolizer>
  15. <Fill>
  16. <GraphicFill>
  17. <Graphic>
  18. <ExternalGraphic>
  19. <OnlineResource
  20. xlink:type="simple"
  21. xlink:href="colorblocks.png" />
  22. <Format>image/png</Format>
  23. </ExternalGraphic>
  24. <Size>93</Size>
  25. </Graphic>
  26. </GraphicFill>
  27. </Fill>
  28. </PolygonSymbolizer>
  29. </Rule>
  30. </FeatureTypeStyle>
  31. </UserStyle>
  32. </NamedLayer>
  33. </StyledLayerDescriptor>