setup size of lines

Gerry Creager N5JXS gerry.creager at TAMU.EDU
Mon Jul 4 11:39:34 PDT 2005


This is a fairly common question.  And, one I think is in the FAQ.

SYMBOL
   NAME 'circle'
   TYPE ELLIPSE
   POINTS 1 1 END
   FILLED true
END

LAYER
   NAME roads
   METADATA
     "wfs_title"     "NWS Roads"
   END
   TYPE LINE
   STATUS default
   LABELITEM 'ROUTE'
   LABELCACHE on
   DATA data/rd24nv03.shp
   DUMP TRUE
   MAXSCALE 20000000
   CLASS
     EXPRESSION ('[FEATURE]' = "Limited Access Highway" or '[FEATURE]' = 
"Other Through Highway")
     color 240 0 0
     SYMBOL 'circle'
     SIZE 2
...
   END
END

You can change the CLASS SYMBOL SIZE as needed.

Hope this helps.
Gerry

Carlos Timóteo wrote:
> i have 5 line shapes whith roads, rails, boundaries etc. and i want to
> setup different lines sizes to make it more visible,
> 
> because with all sizes equals, only with different collors, is very
> hard to understand the information.
> 
> i have different classes for each feature with 
> 
> different sizes, 
> minfeatsize=1,
> maxfeaturesize=100 
> 
> but all lines are draw equal.
> 
> there is any chance to setup line thickness ??
> 
> Thank you in advance.
> 
> Carlos Timoteo, Portugal
> 

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843



More information about the MapServer-users mailing list