[Mapserver-users] symbol SIZE in CLASS - misleading

Havard Tveite havard.tveite at ikf.nlh.no
Fri Apr 4 04:35:21 EST 2003


When rendering point and polygon symbols, I have discovered
that the SIZE parameter of a CLASS gives the rendered vertical
size of the symbol in pixels - 1.
This is unexpected behaviour and not documented(?). It means
that people who want to have full control of their symbols
appearance will be very confused.

What are the reasons for this strange behaviour (apart from
indexing in C)?

I hope that the semantics of the SIZE parameter can be
changed so that it gives the exact vertical size of the
symbol in pixels. The problem is, of course with legacy
symbol sets and mapfiles, but since the changes that are
made in Mapserver 4 are already significant...


-- 
Håvard Tveite                       Phone:  +47 64948857
Department of Mapping Sciences      Fax:    +47 64948856
Agricultural University of Norway  http://www.nlh.no/ikf
Hogskoleveien 14, POBox 5034, N-1432 Ås, NORWAY




More information about the mapserver-users mailing list