[Chameleon] SYMBOLSET PROBLEM MAPSERVER 5.4

Julien-Samuel Lacroix jlacroix at mapgears.com
Tue Jan 5 13:03:48 EST 2010


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/


More information about the Chameleon mailing list