view style-templates/distance_marks_ashore_geoserver.sld-template @ 4657:a89e4db7980b

Add delta to reference waterlevel to current depth. If the current waterlevel is at LDC the delta is 0 and the profile is drawn unchanged. If the current waterlevel is higher the delta adds to the measured depth. If the current waterlevel is below the delta subtracts from the measured depth.
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 14 Oct 2019 14:44:51 +0200
parents 43c52a2d4f17
children
line wrap: on
line source

<?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>distance_marks_ashore_geoserver</Name>
    <UserStyle>
      <FeatureTypeStyle>
        <Rule>
          <PointSymbolizer>
            <Graphic>
              <Mark>
                <WellKnownName>circle</WellKnownName>
                <Stroke>
		   <CssParameter name="stroke">{{ .distance_marks_ashore_stroke }}</CssParameter>
                </Stroke>
                <Fill>
	           <CssParameter name="fill">{{ .distance_marks_ashore_fill }}</CssParameter>
                  <CssParameter name="fill-opacity">{{ .distance_marks_ashore_fill_opacity }}</CssParameter>
                </Fill>
              </Mark>
              <Size>10</Size>
            </Graphic>
          </PointSymbolizer>
        </Rule>
      </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>