<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi Guys,<br><br>I'm relatively new to Mapserver and MapScript, and am having some issues with the applySLD(String, String) function. I am writing a small Java utility that reads a WMC context file with GML and SLD and returns an image. I can read the context and GML just fine, but when i call the apply SLD function it doesn't seem to recognize the <Fill> tag. The <Stroke> tag gets styled correctly, leaving a properly style border and a grey fill on all my polygons. As an example, here's the SLD i'm passing through the function:<br><br><StyledLayerDescriptor version="1.0.0"><br> <NamedLayer><br> <Name>inline_geometry</Name><br> <UserStyle><br> <Title>xxx</Title><br> <FeatureTypeStyle><br> <Rule><br> <PolygonSymbolizer><br><span style="font-weight: bold;"> <Fill></span><br style="font-weight: bold;"><span style="font-weight: bold;"> <CssParamater name="fill">#ee9900</CssParamater></span><br style="font-weight: bold;"><span style="font-weight: bold;"> <CssParameter name="fill-opacity">0.4</CssParameter></span><br style="font-weight: bold;"><span style="font-weight: bold;"> </Fill></span><br> <Stroke><br> <CssParameter name="stroke">#ee9900</CssParameter><br> <CssParameter name="stroke-opacity">1</CssParameter><br> <CssParameter name="stroke-width">2</CssParameter><br> </Stroke> <br> </PolygonSymbolizer><br> </Rule><br> </FeatureTypeStyle><br> </UserStyle><br> </NamedLayer><br></StyledLayerDescriptor><br><br>I've attached the resulting image, and while I expect there to be a dark orange border with a lighter orange fill I'm clearly not getting that.<br><br>Cheers,<br><br>Bill Zborowski<br><br><br><br><br></div><br /><hr />Get your information fix on your phone. With MSN Mobile you get regular news, sports and finance updates. <a href='http://www.msnmobile.ca' target='_new'>Try it today!</a></body>
</html>