<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="font-size:12pt;" face="Courier New,sans-serif" color="#000000" size="3">Hi All,<br><br>I want to know that is there any mechanism by which I can embed SLD based styling in a .map file. <br><br>I believe some mechanism must be there because when I pass SLD file path in WMS request, then in logs I got a message <br><br>"Map file after SLD was applied /tmp/57347d6a_9e9_b1._sld.map[Thu May 12 18:26:10 2016].813240 msDrawMap(): rendering using outputformat named jpeg (AGG/JPEG)"<br><br>This </font><font style="font-size:12pt;" face="Courier New,sans-serif" color="#000000" size="3">"/tmp/57347d6a_9e9_b1._sld.map" map file has styles generated using the passed sld file. I have tested this file and this is exactly what I wanted.<br><br>Is there any way (some api call or converter) to generated a styled .map file using sld without using the above hack ?<br></font><br><font style="font-size:12pt;" face="Arial" color="#000000" size="3">A</font><font style="font-size:12pt;" face="Arial" color="#000000" size="3">shutosh Sharma</font><br> </div></body>
</html>