Ticket #305 (closed defect: worksforme)
symbol SIZE in CLASS is not exact (one pixel too small)
|Reported by:||havard.tveite@…||Owned by:||sdlime|
Description (last modified by tbonfort) (diff)
When rendering point and polygon symbols (I have not tested lines), I have discovered that the SIZE parameter of a CLASS specifies: "the rendered vertical size of the symbol in pixels" - 1. This applies to both vector and raster symbols. 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 3.7/4 are already significant I hope it will be possible to make the change.
Note: See TracTickets for help on using tickets.