[mapserver-users] Re: How to change the line width

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Aug 28 16:08:00 PDT 2002


On 28 Aug 2002 at 18:45, Zhang, William wrote:

> 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]/ 
       SYMBOL 'circle'
>     SIZE 5
>     COLOR 255 0 0   
>   END # end of class object
> 
>   CLASS
>     NAME "MajorStreets"
>     EXPRESSION /A[2-3][0-9]/
       SYMBOL 'circle'
>     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