<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>Re: [mapserver-users] Symbology</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Once again guys&#8230;.thanks&#8230;VERY Appreciated<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I am having one last problem&#8230;the path&#8230;if the map file is in the
police folder&nbsp; (as seen below) how do I write the path to get to the .sym file.&nbsp;
I am having a hard tiem trying to figure out were is the root to start my URL
path&#8230;.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hope this does not seem to stupid a question&#8230;when I am trying to
create a path&#8230;do I think of it from the location of the .map file to the .sym
file and then create the path between them.&nbsp; OR do I always start from one
location?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>SYMBOLSET
/path/to/symbolset_file</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Folder structure:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ms4w<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Apps<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>maplegrove<o:p></o:p></span></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>Htdocs<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Symbolset folder&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'>.sym file<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>maps<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maple_grove<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; police<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'>.map
files<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Smith, Michael D
ERDC-CRREL-NH [mailto:michael.smith@usace.army.mil] <br>
<b>Sent:</b> Thursday, September 16, 2010 10:26 AM<br>
<b>To:</b> Jay Kapalczynski; 'Fawcett, David (MPCA)'; 'Michael Schulz'<br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Symbology<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif"'>Jay,<br>
<br>
A couple of additional steps.<br>
<br>
1). Add SYMBOLSET as the first line in your symbol file<br>
<br>
2). In the mapfile, in the MAP section add a line<br>
<br>
SYMBOLSET /path/to/symbolset_file<br>
<br>
Mike<br>
<br>
<br>
-- <br>
Michael Smith<br>
Remote Sensing/GIS Center<br>
US Army Corps of Engineers<br>
Hanover, NH<br>
<br>
<br>
<br>
On 9/16/10 &nbsp;11:20 AM, &quot;Jay Kapalczynski&quot; &lt;<a
href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>&gt;
wrote:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'>Thanks
guys for your thoughts...still green to this and trying to learn<br>
I would make real sense to me to create the .sym file where I would not have to
redefine the particular symbol sets<br>
&nbsp;<br>
DO I HAVE THIS RIGHT?&nbsp; <br>
&nbsp;<br>
1. &nbsp;BUT how do I define the symbol set or point to the .sym file from the
map file ?????<br>
&nbsp;<br>
<b>SYMBOL FILE: So in the Symbol file I would have this (example of two of
them)<br>
</b><br>
</span><span style='font-size:8.0pt;font-family:Consolas;color:#943634'>SYMBOL<br>
&nbsp; NAME 'bike'<br>
&nbsp; TYPE pixmap<br>
&nbsp; IMAGE '/home/mapserv/proj/pmap/bike.png'&nbsp; <br>
&nbsp; TRANSPARENT 2<br>
END<br>
SYMBOL<br>
&nbsp; NAME 'church'<br>
&nbsp; TYPE pixmap<br>
&nbsp; IMAGE '/home/mapserv/proj/pmap/church.png'&nbsp; <br>
&nbsp; TRANSPARENT 5<br>
END<br>
</span><span style='font-size:10.0pt;font-family:Consolas'><br>
<b><br>
MAP FILE: I would simply call them?<br>
</b><br>
</span><span style='font-size:8.0pt;font-family:Consolas;color:#943634'>CLASS<br>
&nbsp; STYLE<br>
&nbsp;&nbsp;&nbsp; SYMBOL &quot;bike&quot;<br>
&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>
&nbsp; END<br>
END<br>
&nbsp;<br>
</span><span style='font-size:10.0pt;font-family:Consolas'><br>
-----Original Message-----<br>
From: Fawcett, David (MPCA) [<a href="mailto:David.Fawcett@state.mn.us">mailto:David.Fawcett@state.mn.us</a>]
<br>
Sent: Thursday, September 16, 2010 9:50 AM<br>
To: Jay Kapalczynski; 'Michael Schulz'<br>
Cc: <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: RE: [mapserver-users] Symbology<br>
&nbsp;<br>
You can put the symbol definition in your map file, or in a symbols file (e.g.
symbols.sym) and then set SYMBOLSET at the MAP level to point to your
symbols.sym file.<br>
&nbsp;<br>
David.<br>
&nbsp;<br>
-----Original Message-----<br>
From: <a href="mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>
[<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>]
On Behalf Of Jay Kapalczynski<br>
Sent: Thursday, September 16, 2010 9:45 AM<br>
To: 'Michael Schulz'<br>
Cc: <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: RE: [mapserver-users] Symbology<br>
&nbsp;<br>
Ok that seems to make sense...but where do I place the image SYMBOL (your
example below)?&nbsp; DO I place that in the map file as well?<br>
Little confused there....<br>
&nbsp;<br>
Thanks Michael and Adam for your return replys.<br>
&nbsp;<br>
&nbsp;<br>
-----Original Message-----<br>
From: <a href="mandschulz@googlemail.com">mandschulz@googlemail.com</a> [<a
href="mailto:mandschulz@googlemail.com">mailto:mandschulz@googlemail.com</a>]
On Behalf Of Michael Schulz<br>
Sent: Thursday, September 16, 2010 9:27 AM<br>
To: Jay Kapalczynski<br>
Cc: <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: [mapserver-users] Symbology<br>
&nbsp;<br>
Hi,<br>
&nbsp;<br>
yes, you have to define an image symbol in your symbolset and use that:<br>
&nbsp;<br>
SYMBOL<br>
&nbsp; NAME 'church'<br>
&nbsp; TYPE pixmap<br>
&nbsp; IMAGE 'church.gif'<br>
&nbsp; TRANSPARENT 5<br>
END<br>
&nbsp;<br>
then use<br>
SYMBOL 'church' in your style.<br>
&nbsp;<br>
Cheers, Michael<br>
&nbsp;<br>
2010/9/16 Jay Kapalczynski &lt;<a href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>&gt;:<br>
&gt; In a map file...Is there a way to use an image (jpg, bmp, png) instead of
a<br>
&gt; marker symbol (star, circle etc) when symbolizing points<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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IMAGE<br>
&gt; <br>
&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SYMBOL
&quot;star&quot;<br>
&gt; <br>
&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIZE
8<br>
&gt; <br>
&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; mapserver-users mailing list<br>
&gt; <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt; <br>
&gt; <br>
&nbsp;<br>
&nbsp;<br>
&nbsp;</span><o:p></o:p></p>

</div>

</body>

</html>