<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000170" bgcolor="#FFFFFF">
<p><font size="2" face="Arial">Hi all,<br>
<br>
is there anyone with ideas how to fix the SLD I have below ?<br>
<br>
Cheers<br>
Karsten</font><br>
</p>
<div class="moz-cite-prefix">On 2/16/2025 17:35, Karsten Vennemann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:fe7908ae-0f14-471e-a8c5-1dedf60ddf64@terragis.net">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p data-start="119" data-end="128">Hi All,</p>
<p data-start="130" data-end="315">I have been working on creating
a correct SLD (that I can use as the <code data-start="199"
data-end="204">SLD</code> parameter, referencing it as a file)
in a WMS request.<br data-start="259" data-end="262">
However, I’m struggling to get the desired outcome.</p>
<p data-start="317" data-end="385">I came up with the SLD below
but still have these issues to solve:</p>
<ul data-start="387" data-end="571">
<li data-start="387" data-end="473">The SLD kind of works, but I
get a <span data-start="424" data-end="443">checkered hatch</span>
instead of a simple <span data-start="457" data-end="470">45°
hatch</span>.</li>
<li data-start="474" data-end="571">Increasing the <code
data-start="491" data-end="505">stroke-width</code> to
higher values has <span data-start="527" data-end="540">no
effect</span> on making the hatch thicker.</li>
</ul>
<p data-start="573" data-end="604">Any ideas on how to fix this?</p>
<p data-start="606" data-end="629">Cheers,<br>
<font size="2" style="font-size: 11pt"><font color="#000080"><font
face="Verdana, serif">Karsten Vennemann</font></font></font></p>
<div class="moz-signature">
<p style="line-height: 100%; margin-bottom: 0cm"><font
color="#000080"><font face="Verdana, serif"><font size="2"
style="font-size: 10pt"><b>Terra GIS LTD <br>
</b></font></font><font size="2" style="font-size: 10pt"
face="Courier New, Courier, monospace"><br>
---------------<br>
sample request: <br>
<a class="moz-txt-link-freetext"
href="http://declare.terragis.net/cgi-bin/mapserv?map=/var/mapdata/declare/benin_server.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=true&LAYERS=countries&SLD_VERSION=1.1.0&FEATURE_COUNT=1&WIDTH=1920&HEIGHT=1253&CRS=EPSG%3A3857&BBOX=-173424.68570267071%2C745560.5997697945%2C653569.1115583682%2C1285260.1976698372&SLD=http://declare.terragis.net/tmp/counties3.sld"
moz-do-not-send="true">http://declare.terragis.net/cgi-bin/mapserv?map=/var/mapdata/declare/benin_server.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image%2Fpng&STYLES=&TRANSPARENT=true&LAYERS=countries&SLD_VERSION=1.1.0&FEATURE_COUNT=1&WIDTH=1920&HEIGHT=1253&CRS=EPSG%3A3857&BBOX=-173424.68570267071%2C745560.5997697945%2C653569.1115583682%2C1285260.1976698372&SLD=http://declare.terragis.net/tmp/counties3.sld</a></font><font
face="Verdana, serif"><font size="2"
style="font-size: 10pt"><b><br>
------------------</b></font></font></font></p>
<p style="line-height: 100%; margin-bottom: 0cm"><font
color="#000080" face="Courier New, Courier, monospace"><font
size="2" style="font-size: 10pt"><?xml version="1.0"
encoding="utf-8"?><br>
<StyledLayerDescriptor xmlns=<a
class="moz-txt-link-rfc2396E"
href="http://www.opengis.net/sld" moz-do-not-send="true">"http://www.opengis.net/sld"</a>
xmlns:ogc=<a class="moz-txt-link-rfc2396E"
href="http://www.opengis.net/ogc" moz-do-not-send="true">"http://www.opengis.net/ogc"</a>
xmlns:xlink=<a class="moz-txt-link-rfc2396E"
href="http://www.w3.org/1999/xlink"
moz-do-not-send="true">"http://www.w3.org/1999/xlink"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E"
href="http://www.w3.org/2001/XMLSchema-instance"
moz-do-not-send="true">"http://www.w3.org/2001/XMLSchema-instance"</a>
version="1.0.0"
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E"
href="http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
moz-do-not-send="true">"http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"</a>><br>
<NamedLayer><br>
<Name>countries</Name><br>
<UserStyle><br>
<Title>countries</Title><br>
<FeatureTypeStyle><br>
<Rule><br>
<Name/><br>
<Title/><br>
<se:PolygonSymbolizer><br>
<se:Fill><br>
<se:SvgParameter
name="fill">#f4da9c</se:SvgParameter><br>
</se:Fill><br>
</se:PolygonSymbolizer> <br>
<se:PolygonSymbolizer><br>
<Fill><br>
<GraphicFill><br>
<Graphic><br>
<Mark><br>
<WellKnownName>slash</WellKnownName><br>
<Stroke><br>
<CssParameter
name="stroke">#3d8d95</CssParameter> <!--
stripes --><br>
<CssParameter
name="stroke-width">8</CssParameter> <!--
width --><br>
</Stroke><br>
</Mark><br>
<Size>18</Size> <br>
</Graphic><br>
</GraphicFill><br>
</Fill><br>
</se:PolygonSymbolizer><br>
</Rule><br>
</FeatureTypeStyle><br>
</UserStyle><br>
</NamedLayer><br>
</StyledLayerDescriptor></font><font size="2"
style="font-size: 10pt"><b><br>
</b></font></font></p>
</div>
</blockquote>
<div class="moz-signature">-- <br>
<p
style="font-weight: normal; line-height: 100%; margin-bottom: 0cm">
<font size="2" style="font-size: 11pt"><font color="#000080"><font
face="Verdana, serif">Karsten
Vennemann</font></font></font></p>
<p style="line-height: 100%; margin-bottom: 0cm"><font
color="#000080"><font face="Verdana, serif"><font size="2"
style="font-size: 10pt"><b>Terra
GIS LTD </b></font></font></font><font color="#000080"><font
face="Verdana, serif"><font size="2" style="font-size: 10pt"><br>
</font></font></font><font color="#000080"><font
face="Verdana, serif"><font size="2" style="font-size: 9pt">2119
Boyer Ave E <br>
Seattle, WA 98112<br>
Tel ++1 206 905
1711<br>
</font></font></font><font color="#000080"><u><a
href="http://www.terragis.net/"><font color="#000080"><font
face="Verdana, serif"><font size="2"
style="font-size: 9pt">www.terragis.net</font></font></font></a></u></font></p>
<p style="line-height: 100%; margin-bottom: 0cm"><br>
</p>
</div>
</body>
</html>