style size vs width?

Steve Lime steve.lime at DNR.STATE.MN.US
Thu Jan 12 12:46:21 EST 2006


It's a bit convoluted to be sure, but that lies more in the history of MapServer than anything else. In
general:

  - SIZE refers to the maximum dimension of a marker, tile or brush (image, truetype or vector)
  - WIDTH refers to the thickness of simple lines (typcially no symbol is defined)

Both are necessary (and used differently) for things like hatching symbols where SIZE controls the
spacing of the hatching and WIDTH controls the thickness of the lines used in the hatching. Another
example where you might use both is with vector symbols are markers where SIZE refers to the overall
size of the marker and width the thickness of the line used to render the symbol.

Steve


>>> Sean Gillies <sgillies at FRII.COM> 01/11/06 5:49 PM >>>
Steve,

In which cases do they apply, and how are they to be used? Size is  
both marker size and brush width, right? Where does width fit in?

Sean



More information about the mapserver-dev mailing list