Mercurial > gemma
annotate style-templates/waterway_axis.sld-template @ 5032:afc242588642
Avoid needless geometry processing
Mangling every geometry in the intersection machinery when importing
as waterway admin leads to slightly different geometries compared
to the same geometries imported by a sys_admin. This would create
artificial history of entries when importing alternately as
waterway admin and sys admin, once history of fairway dimensions is preserved.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 19 Mar 2020 17:36:20 +0100 |
parents | 43c52a2d4f17 |
children |
rev | line source |
---|---|
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
2 <StyledLayerDescriptor version="1.0.0" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
3 xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
4 xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
5 xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
6 <NamedLayer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
7 <Name>waterway_axis</Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
8 <UserStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
9 <Title>A cyan line style</Title> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
10 <FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
11 <Rule> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
12 <Title>cyan line</Title> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
13 <LineSymbolizer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
14 <Stroke> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
15 <CssParameter name="stroke">{{ .waterway_axis_stroke }}</CssParameter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
16 <CssParameter name="stroke-dasharray">5 5</CssParameter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
17 <!--CssParameter name="stroke-opacity">0.5</CssParameter--> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
18 </Stroke> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
19 </LineSymbolizer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
20 </Rule> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
21 </FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
22 </UserStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
23 </NamedLayer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
24 </StyledLayerDescriptor> |