<DIV>Dear all !</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to display different symbols for different types of locations, represented by point features... such as Schools, Police Stations, Clinics&nbsp;....etc</DIV>
<DIV>&nbsp;</DIV>
<DIV>All the symbols that I am planning to use are in PNG format... and the <U><STRONG>symblos.sym</STRONG></U> file code looks like below<BR></DIV>
<DIV>Symbol<BR>Name 'square'<BR>Type VECTOR<BR>Filled TRUE<BR>Points<BR>0 1<BR>0 0<BR>1 0<BR>1 1<BR>0 1<BR>END<BR>END <BR><BR>SYMBOL <BR>NAME 'police'<BR>TYPE PIXMAP<BR>IMAGE 'C:\Program Files\Apache Group\Apache2\htdocs\als\SS\police.png'<BR>END<BR>END</DIV>
<DIV>
<P>SYMBOL <BR>NAME "ayudhya"<BR>TYPE PIXMAP<BR>IMAGE 'C:\Program Files\Apache Group\Apache2\htdocs\als\ss\ayudhya.png'<BR>END<BR>END</P>
<P>SYMBOL <BR>NAME "bangkok"<BR>TYPE PIXMAP<BR>IMAGE 'C:\Program Files\Apache Group\Apache2\htdocs\als\ss\bangkok.png'<BR>END<BR>END</P>
<P>SYMBOL <BR>NAME "clinic"<BR>TYPE PIXMAP<BR>IMAGE 'C:\Program Files\Apache Group\Apache2\htdocs\als\ss\clinic.png'<BR>END<BR>END<BR><STRONG>:<BR>:<BR><BR>But I could display only the first PIXMAP symbol in the file... if I try to use other symbols by specifying its name&nbsp;I get following error...</STRONG></P>
<P>msLoadMap(): General error message. Undefined overlay symbol "office" in class 0, style 0 of layer community. <BR>msAddImageSymbol(): Unable to access file. Error opening image file C:/Program Files/Apache Group/Apache2/htdocs/als/office. <BR><BR><STRONG>But if I use its number eg the symbol clinic is at 5th position...&nbsp;then in the&nbsp;MAP file the SYMBOL parameter of&nbsp;CLASS object will have value 5 <BR>No error is thrown but it will not display any&nbsp;symbol as well...<BR></STRONG><STRONG><BR>Can Anybody HELP me please...<BR><BR>Thanks in Advance...</STRONG></P>
<P><STRONG>Bye for now<BR>Mann</P></STRONG></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com