PIXMAP Symbol display problem

Flavio Hendry flavio at TYDAC.CH
Tue Sep 13 05:52:53 EDT 2005


Hi

remove all the double END after the PIXMAP symbols (just one END, only 
for the PIXMAP).

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC NEWS http://www.tydac.ch/german/index.php?menu=News_actual
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: Mandar sarlashkar <manninside at YAHOO.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Tue, 13 Sep 2005 00:50:44 -0700
Subject: [UMN_MAPSERVER-USERS] PIXMAP Symbol display problem

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



More information about the mapserver-users mailing list