Mercurial > gemma
diff style-templates/waterway_area.sld-template @ 4481:43c52a2d4f17
Add style-templates for geoserver
* Add a new directory for `style-templates`.
* Adjust README.md:
* to explain about the style templates and how to insert them.
* to mention that default system configs are already imported
with install-db.sh
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 26 Sep 2019 11:38:42 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/style-templates/waterway_area.sld-template Thu Sep 26 11:38:42 2019 +0200 @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<StyledLayerDescriptor version="1.0.0" + xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" + 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"> + <NamedLayer> + <Name>waterway_area</Name> + <UserStyle> + <Title>A yellow polygon style</Title> + <FeatureTypeStyle> + <Rule> + <Title>yellow polygon</Title> + <PolygonSymbolizer> + <Stroke> + <CssParameter name="stroke">{{ .waterway_area_stroke }}</CssParameter> + <CssParameter name="stroke-width">1</CssParameter> + </Stroke> + </PolygonSymbolizer> + </Rule> + </FeatureTypeStyle> + </UserStyle> + </NamedLayer> +</StyledLayerDescriptor>