[Mapserver-users] symbol SIZE in CLASS - misleading

Steve Lime steve.lime at dnr.state.mn.us
Fri Apr 4 11:54:54 EST 2003


I'll have to look into the code itself on this (please file a bug)
before I can
comment further. The conversion of vector symbols to raster images has
not changed between older versions of MapServer and the development
version so results should at least be consistent. The only exception to
that
is TrueType symbols. Changes between FreeType 1 and 2 gave very
different results for the same SIZE value (goes for labels too).

Steve

>>> Havard Tveite <havard.tveite at ikf.nlh.no> 04/04/03 03:35AM >>>
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

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list