[Chameleon] SYMBOLSET PROBLEM MAPSERVER 5.4

Andreas Douvalis anddreas2 at yahoo.gr
Wed Jan 6 11:24:15 EST 2010


I found the solution! (finally is chameleon issue)
 
The problem was that I changed my Symbol.sym file to start with  "SYMBOLSET" and finish with "END" but I didnt changed the Default Symbol.sym file ( /ms4w/apps/chameleon/cwc2/etc/symbols.sym)  which I have declared in cwc2.xml file.
 
However I have declared in my Map file as SYMBOLSET my  symbols.sym (and not the default file) and before installing Mapserver 5.4 there was no problem. 
 
Now I have declared my Symbol file as default and everything is OK.
 
Thanks
 

--- Στις Τρίτ., 05/01/10, ο/η Julien-Samuel Lacroix <jlacroix at mapgears.com> έγραψε:


Από: Julien-Samuel Lacroix <jlacroix at mapgears.com>
Θέμα: Re: [Chameleon] SYMBOLSET PROBLEM MAPSERVER 5.4
Προς: "Andreas Douvalis" <anddreas2 at yahoo.gr>
Κοιν.: chameleon at lists.maptools.org
Ημερομηνία: Τρίτη, 5 Ιανουάριος 2010, 20:03


Hi,

You would probably get a better answer from the MapServer mailing-list, but here's some tips anyway.

The symbol in a polygon are ony used for the polygon filling. See the polygon examples here:
http://mapserver.org/mapfile/symbology/construction.html#complex-symbols

To answer your question see this link:
http://mapserver.org/faq.html#how-do-i-have-a-polygon-that-has-both-a-fill-and-an-outline-with-a-width

Julien

Andreas Douvalis wrote:
> I test chameleon 2.6 with Mapserver 5.4 and I have problem with Polygons Symbols.
>  I have already  altered my Symbol.sym file to start with  "SYMBOLSET" and finish with "END".
>   In fact  I have problem only with polygons. Lines and points works perfect.
>  it seems like mapserver can not read Symbol.sym  for polygons.
>  Here is a part of Layer section in map file:   //------------------------------------------------------------------------------------------
>  LAYER
>     NAME "Perifereies"
>     GROUP "Διοικητικά Όρια"
>     STATUS OFF
>     DATA "C:\ms4w\apps\chameleon\samples\dataGreek\Dioikitika\Perifereies"
>     TYPE POLYGON
>     UNITS METERS
>     LABELITEM "NAME"        METADATA
>       wms_name "Περιφέρειες"
>       wms_title  "Περιφέρειες"
>       SPATIALSEARCH "NAME,Έδρα_Περιφ,POP_1991_,POP_2001_,Embad_km2"
>       SPATIALSEARCHLIST "NAME,Έδρα_Περιφ,POP_1991_,POP_2001_,Embad_km2"
>     END       TEMPLATE "Perifereies.dbf"
>     CLASS
>       NAME "Perifereies"
>       STYLE
>         SYMBOL "circle"
>         SIZE 3          COLOR 12 112 255                 OUTLINECOLOR 0 112 255              WIDTH 5       END
>     END
> END
>  //------------------------------------------------------------------------------------------
>  If I dont use '..........SYMBOL "circle".........' and I write :
>    STYLE
>         COLOR 12 112 255            OUTLINECOLOR 0 112 255              WIDTH 5       END
> then I everything is ok  but then  I cannot control outline width.
>   FINALLY MY QUESTION IS THAT:
>  HOW I CAN RENDER POLYGONS  WITH OUTLINE WHICH I CAN CHANGE THE WIDTH?
>  When I use Mapserver 5.2 everything was ok.
>          Regarding the outputformat here is the part of my map file:
>  OUTPUTFORMAT
>     NAME 'AGG_Q'
>     DRIVER AGG/PNG
>     IMAGEMODE RGB
>     FORMATOPTION "QUANTIZE_FORCE=ON"
>     FORMATOPTION "QUANTIZE_DITHER=OFF"
>     FORMATOPTION "QUANTIZE_COLORS=256"
> END
> 
>  
>  
> ANY HELP PLEASE???
> 
>  
> 
> ------------------------------------------------------------------------
> Χρησιμοποιείτε Yahoo!
> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/



      
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20100106/18ed8571/attachment-0001.htm 


More information about the Chameleon mailing list