[mapserver-users] How to change the line width

Puneet Kishor pkishor at GeoAnalytics.com
Wed Aug 28 16:50:26 PDT 2002


when you use a SYMBOL "circle" for a line object, it automatically becomes a
line... like taking a circle and pulling one side of linearly.

You can change the width of the resulting line by changing the width of the
circle.

> -----Original Message-----
> From: Zhang, William [mailto:wzhang at c-cor.net]
> Sent: Wednesday, August 28, 2002 5:46 PM
> To: 'mapserver-users at lists.gis.umn.edu'
> Cc: 'woodbri at swoodbridge.com'
> Subject: [mapserver-users] How to change the line width
> 
> 
> Hi,
> 
> I searched the archives and found the similar question has 
> been asked and
> answered several times. But I still can not get clear 
> solution. Here is what
> I try to do. In my shape file, there are highways, major 
> streets and minor
> streets. I like to show them in different line widths and 
> colors. So I write
> the map file 
> .....
> CLASSITEM "CFCC"
>   CLASS
>     NAME "Highways"
>     EXPRESSION /A1[0-9]/ 
>     SIZE 5
>     COLOR 255 0 0   
>   END # end of class object
> 
>   CLASS
>     NAME "MajorStreets"
>     EXPRESSION /A[2-3][0-9]/
>     SIZE 3
>     COLOR 0 255 0
>   END  
>   
>   CLASS
>     NAME "MinorStreets"
>     EXPRESSION /A[4-7][0-9]/
>     SIZE 1
>     COLOR 0 0 255
>   END
> ....
> 
> According to previous answers, SYMBOL 'circle' may need to be 
> used here. But
> I don't know how. Could somebody give me some help on this?
> 
> Thanks,
> 
> William Zhang
> 
> Software Engineer
> C-Cor.net
> Phone: (925) 251-3019
> Fax: (925) 467-0600
> E-Mail: wzhang at c-cor.net
> 
> 
> 



More information about the MapServer-users mailing list