[mapserver-commits] r8768 - trunk/docs/development/rfc

svn at osgeo.org svn at osgeo.org
Tue Mar 10 11:42:26 EDT 2009


Author: dmorissette
Date: 2009-03-10 11:42:26 -0400 (Tue, 10 Mar 2009)
New Revision: 8768

Modified:
   trunk/docs/development/rfc/ms-rfc-55.txt
Log:
Added list of affected parameters

Modified: trunk/docs/development/rfc/ms-rfc-55.txt
===================================================================
--- trunk/docs/development/rfc/ms-rfc-55.txt	2009-03-10 15:31:51 UTC (rev 8767)
+++ trunk/docs/development/rfc/ms-rfc-55.txt	2009-03-10 15:42:26 UTC (rev 8768)
@@ -7,7 +7,7 @@
 :Date: 2009/03/09
 :Authors: Daniel Morissette
 :Contact: dmorissette at mapgears.com
-:Last Edited: 2009/03/09
+:Last Edited: 2009/03/10
 :Status: Draft
 :Version: MapServer 6.0
 :Id: $Id: $
@@ -45,7 +45,33 @@
 More specifically, this is done by multiplying the layer->scalefactor value
 by the resolution/defresolution ratio in msPrepareImage().
 
+The following rendering parameters will be affected:
 
+* size (symbols and labels)
+* width (lines)
+
+The following rendering parameters which were not impacted by scaling in
+the past will also be fixed to follow the scaling from now on:
+
+* offsets (line, point, polygon)
+* pattern (line)
+* gap (line)
+* outlinewidth (labels)
+* shadowsize, background-shadow-size (labels)
+* buffer around labels (collision)
+* minfeaturesize, mindistance (labels)
+
+The case of outlinewidth for line styles is a bit different: it ignores
+the scalefactor so that we get a fixed outline width no matter what we use
+for size units, but we want it to follow the resolution/defresolution factor.
+For this case the line drawing code will need to have a reference to the 
+mapObj passed to msDrawLineSymbol() so that it can access the resolution
+and defresolution parameters and do the right thing.
+
+In the case of pixmap symbols, they will be scaled only if a size is set. 
+If no size is set then no scaling happens.
+
+
 Usage example
 ------------------------------------------------------------------------------
 
@@ -79,6 +105,8 @@
 mapfile which matches the resolution for which all mapfile classes 
 and styles are defined.
 
+The rendering parameters listed above that did not follow scaling in the
+past will be fixed to follow the scaling.
 
 Files Impacted
 ------------------------------------------------------------------------------



More information about the mapserver-commits mailing list