Mercurial > gemma
view style-templates/waterway_area.sld-template @ 5318:ef07b81d3305
PDFTool: Changed layout rendering of bottleneck infobox.
Rationale:
There is a conditional warning for bottlenecks necessary
which have a ZPG Exception for their respective survey data.
This line has to be added to the existing information in the
bottleneck infobox. Therefore the layout has to be a bit more
dynamic - depending on status of said condition having
this exception.
The existing code was enhanced to take this fact into account.
A spacer variable was used for spacing between bottleneck info
and the according legend.
The layout of the bottleneck info grows dynamically.
The overall optics where a bit streamlined.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 29 Jun 2021 13:47:10 +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>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>