<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Jay,<br>
<br>
all pathes in the mapfile are relative to the mapfile.<br>
<br>
e.g.<br>
<br>
mapfile.map<br>
<subfolder-symbols>/symbset.sym<br>
<br>
leads to the reference<br>
<br>
<subfolder-symbols>/symbset.sym<br>
<br>
This is true to all references in the mapfile AND included files such
as symbset.sym!<br>
<br>
Regards<br>
<br>
<span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Once
again guys….thanks…VERY Appreciated<o:p></o:p></span>
<blockquote
cite="mid:D7A5EAC385604446AB1DD24BF4F5A918B7CD8BA857@MG-Mail.ci.maple-grove.mn.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">I
am having one last problem…the path…if the map file is in the
police folder (as seen below) how do I write the path to get to the
.sym file.
I am having a hard tiem trying to figure out were is the root to start
my URL
path….<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Hope
this does not seem to stupid a question…when I am trying to
create a path…do I think of it from the location of the .map file to
the .sym
file and then create the path between them. OR do I always start from
one
location?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif";">SYMBOLSET
/path/to/symbolset_file</span><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Folder
structure:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Ms4w<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Apps<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">maplegrove<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent: 0.5in;"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Htdocs<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">
Symbolset folder <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">
</span><b><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: red;">.sym
file<o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-indent: 0.5in;"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">maps<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">
maple_grove<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">
police<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">
</span><b><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: red;">.map
files<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Smith,
Michael D
ERDC-CRREL-NH [<a class="moz-txt-link-freetext" 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 class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] Symbology<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"><span
style="font-size: 11pt; 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 moz-do-not-send="true"
href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</a>>
wrote:</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10pt; 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: 8pt; font-family: Consolas; color: rgb(148, 54, 52);">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: 10pt; font-family: Consolas;"><br>
<b><br>
MAP FILE: I would simply call them?<br>
</b><br>
</span><span
style="font-size: 8pt; font-family: Consolas; color: rgb(148, 54, 52);">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: 10pt; font-family: Consolas;"><br>
-----Original Message-----<br>
From: Fawcett, David (MPCA) [<a moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true"
href="mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>
[<a moz-do-not-send="true"
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 moz-do-not-send="true" 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 moz-do-not-send="true" href="mandschulz@googlemail.com">mandschulz@googlemail.com</a>
[<a moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true" href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a moz-do-not-send="true"
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 wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>