<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19170"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=500531121-01022012><FONT color=#0000ff 
size=2 face=Arial>you can define a symbol for the hatch in your 
mapfile</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=500531121-01022012><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=500531121-01022012><FONT color=#0000ff 
size=2 face=Arial>&nbsp; SYMBOL<BR>&nbsp;&nbsp;&nbsp; NAME 
"schraffur"<BR>&nbsp;&nbsp;&nbsp; TYPE HATCH<BR>&nbsp; 
END<BR></DIV></FONT></SPAN>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=500531121-01022012>and use this in your sld</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=500531121-01022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=500531121-01022012>An example how it works:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><A 
href="http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServer_SLD_World.asp?mapservLayers=0&amp;SLDsrcIdx=42">http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServer_SLD_World.asp?mapservLayers=0&amp;SLDsrcIdx=42</A></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>A<SPAN 
class=500531121-01022012>rnd</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> mapserver-users-bounces@lists.osgeo.org 
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Paul 
Edwards<BR><B>Gesendet:</B> Dienstag, 31. Januar 2012 20:37<BR><B>An:</B> 
mapserver-users@lists.osgeo.org<BR><B>Betreff:</B> [mapserver-users] Style a 
polygon with Horizontal, Vertical,or Diagonal Lines using 
SLD?<BR></FONT><BR></DIV>
<DIV></DIV>Hi All!<BR><BR>I'm wondering if anyone has experience styling maps 
with horizontal, vertical, or diagonal lines when using MapServer WMS and a 
custom provided SLD? The documentation states:
<DIV><BR></DIV>
<DIV><A 
href="http://mapserver.org/ogc/sld.html#named-styles-support">http://mapserver.org/ogc/sld.html#named-styles-support</A></DIV>
<DIV><BR></DIV>
<DIV><SPAN 
style="LINE-HEIGHT: 19px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: Arial,sans-serif; COLOR: rgb(62,67,73); FONT-SIZE: 13px">"A 
Fill can be a solid fill or be a Graphic Fill, which is either a well-known Mark 
symbol (e.g., square, circle, triangle, star, cross, x) or an ExternalGraphic 
element (e.g., gif, png) available through a URL"</SPAN></DIV>
<DIV><SPAN 
style="LINE-HEIGHT: 19px; BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: Arial,sans-serif; COLOR: rgb(62,67,73); FONT-SIZE: 13px"><BR></SPAN></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px"><BR></SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px">This pretty clearly states that the way to accomplish 
my goal is by tiling an externally referenced image that has the line oriented 
the way I want, but then we lose the coloring options. GeoServer has some cool 
SLD extensions that are outside the spec (see link below) and I was wondering if 
MapServer had anything similar?</SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px"><BR></SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px"><A 
href="http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html#the-shape-symbols">http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html#the-shape-symbols</A></SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px"><BR></SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px">Thanks!<BR>Paul</SPAN></FONT></DIV>
<DIV><FONT color=#3e4349 face="Arial, sans-serif"><SPAN 
style="LINE-HEIGHT: 19px"><BR></SPAN></FONT></DIV></BODY></HTML>