<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)">
<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";
color:black;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{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 bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Last entry on this</span></b><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>….I can get this to work
ALTHOUGH ONLY in the map file<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In the map file I am pointing to the folder that contains the
.sym file but cant get the sym file to work<o:p></o:p></span></p>
<p class=MsoNormal><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";
color:#1F497D'>I cannot get the SYMBOLSET to load the sym file. As Seen below
it only works when I have the symbol set declared in the map file…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What can I be doing wrong?<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><b><span style='font-size:9.5pt;
font-family:Consolas;color:#0D0D0D'>MAP<o:p></o:p></span></b></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:red'># THIS DOES NOT WORK<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> # DECLARE LOCATION OF THE SYMBOL
SET<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> #SYMBOLSET
'../../../htdocs/symbolsets/symbolset.sym' <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:red'># THIS WORKS<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> SYMBOL<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> NAME 'bike'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> TYPE pixmap<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> IMAGE
'../../../htdocs/symbolsets/symbol_images/bike.png'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> TRANSPARENT 50<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> END<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> <o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span
style='font-size:9.5pt;font-family:Consolas;color:windowtext'>LAYER<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> NAME Burglaries<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> DATA './Burglaries.shp'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> STATUS ON<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> TYPE POINT<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> CLASS<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> NAME 'Last Weeks'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> STYLE<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> SYMBOL
"bike"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> COLOR 0 0 0<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> OUTLINECOLOR 0 0 0<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> END <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> END<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>#…..snip<o:p></o:p></span></p>
<p class=MsoNormal><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";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#0D0D0D'>SYM FILE<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'>SYMBOLSET<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> SYMBOL<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> NAME 'bike'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> TYPE pixmap<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> IMAGE 'symbol_images/bike.png'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> TRANSPARENT 2<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'> END<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;
font-family:Consolas;color:windowtext'>END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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 [<a href="mailto:michael.smith@usace.army.mil">mailto:michael.smith@usace.army.mil</a>]
<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> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] Symbology</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;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 11:20 AM, "Jay Kapalczynski" <<a
href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>>
wrote:</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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>
<br>
DO I HAVE THIS RIGHT? <br>
<br>
1. BUT how do I define the symbol set or point to the .sym file from the
map file ?????<br>
<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>
NAME 'bike'<br>
TYPE pixmap<br>
IMAGE '/home/mapserv/proj/pmap/bike.png' <br>
TRANSPARENT 2<br>
END<br>
SYMBOL<br>
NAME 'church'<br>
TYPE pixmap<br>
IMAGE '/home/mapserv/proj/pmap/church.png' <br>
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>
STYLE<br>
SYMBOL "bike"<br>
COLOR 0 0 0<br>
OUTLINECOLOR 0 0 0<br>
END<br>
END<br>
<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>
<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>
<br>
David.<br>
<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>
<br>
Ok that seems to make sense...but where do I place the image SYMBOL (your
example below)? DO I place that in the map file as well?<br>
Little confused there....<br>
<br>
Thanks Michael and Adam for your return replys.<br>
<br>
<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>
<br>
Hi,<br>
<br>
yes, you have to define an image symbol in your symbolset and use that:<br>
<br>
SYMBOL<br>
NAME 'church'<br>
TYPE pixmap<br>
IMAGE 'church.gif'<br>
TRANSPARENT 5<br>
END<br>
<br>
then use<br>
SYMBOL 'church' in your style.<br>
<br>
Cheers, Michael<br>
<br>
2010/9/16 Jay Kapalczynski <<a href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>>:<br>
> In a map file...Is there a way to use an image (jpg, bmp, png) instead of
a<br>
> marker symbol (star, circle etc) when symbolizing points<br>
> <br>
> <br>
> <br>
> LAYER<br>
> <br>
>
DUMP
TRUE<br>
> <br>
>
NAME
'Firestations'<br>
> <br>
>
DATA
'firestations'<br>
> <br>
>
TYPE
POINT<br>
> <br>
>
STATUS
ON<br>
> <br>
>
CLASS<br>
> <br>
>
NAME
'Fire Stations'<br>
> <br>
>
COLOR
254 0 0<br>
> <br>
>
INSTEAD
OF STAR PLACE AN IMAGE<br>
> <br>
>
SYMBOL
"star"<br>
> <br>
>
SIZE
8<br>
> <br>
>
END<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
> <br>
> <br>
<br>
<br>
</span><o:p></o:p></p>
</div>
<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapserver-users mailing list<o:p></o:p></pre><pre><a
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></pre><pre> <o:p></o:p></pre>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>