<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] Symbology</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>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></FONT></FONT><FONT FACE="Consolas, Courier New, Courier"><FONT COLOR="#943634"><FONT SIZE="1"><SPAN STYLE='font-size:8pt'>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></FONT></FONT><FONT SIZE="2"><SPAN STYLE='font-size:10pt'> <BR>
<B> <BR>
MAP FILE: I would simply call them?<BR>
</B> <BR>
</SPAN></FONT><FONT COLOR="#943634"><FONT SIZE="1"><SPAN STYLE='font-size:8pt'>CLASS<BR>
STYLE<BR>
SYMBOL "bike"<BR>
COLOR 0 0 0<BR>
OUTLINECOLOR 0 0 0<BR>
END<BR>
END<BR>
<BR>
</SPAN></FONT></FONT><FONT SIZE="2"><SPAN STYLE='font-size:10pt'> <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>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>