[Mapserver-users] 50 classes and thicker lines
Oliver Wesp
wesp at gdv.com
Tue Apr 8 07:30:53 PDT 2003
At 15:56 08.04.2003 +0200, Strobl, Christian wrote:
>excuse me for the simple question but i found no description or reference in
>the internet. is there any restriction of the number of classes in mapserver
>3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows
>Binary Download).
There is a maximum of 50 classes per Layer. You'll have to change
MS_MAXCLASSES in map.h to whatever value you want, then
recompile mapserver.
>p.s. is it possible to get thicker lines with mapserver? the size-parameter
>doesn't work.
It's possible. The trick is to use a symbol for displaying lines. With the
use of a symbol it's possible to use the size-paramter for changing the
thickness of a line.
For example you can define a simple circle symbol in your symbol-file
SYMBOL
name "circle"
TYPE ellipse
FILLED true
POINTS
1 1
END
END
Within the class of your line-layer your referencing the symbol
CLASS
SYMBOL 'circle'
SIZE 14
NAME '...'
EXPRESSION /./
END
Something like that.
regards
Oliver
--
Dipl.-Geogr. Oliver Wesp
Gesellschaft für geografische Datenverarbeitung
Binger Strasse 49-51
D-55218 Ingelheim
fon: +49 6132 714818
fax: +49 6132 714828
http: <http://www.gdv.com>www.gdv.com
More information about the MapServer-users
mailing list