<div dir="ltr">I think this change is related to this commit:<div><br></div><div><a href="https://github.com/mapserver/mapserver/commit/18b51c4a36e6447793a48744f64adcb7c20585e2">https://github.com/mapserver/mapserver/commit/18b51c4a36e6447793a48744f64adcb7c20585e2</a><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-18 2:40 GMT+02:00 Lime, Steve D (MNIT) <span dir="ltr"><<a href="mailto:steve.lime@state.mn.us" target="_blank">steve.lime@state.mn.us</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
Since symbol scale is applied to the label size and corresponding symbols it seems reasonable to scale the buffer accordingly. The old computation seems insufficient too. Problem is that you can't control the min/max buffer size. That could lead to some odd
 behavior. Could use min/max labels sizes to constrain buffer values.<br>
<br>
Did you happen to identify the commit that accompanied the change? There were some some broad label refactoring RFCs where this probably happened.<br>
<br>
Steve<br>
<hr style="display:inline-block;width:98%">
<div id="m_-5447420574191630830divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> mapserver-dev <<a href="mailto:mapserver-dev-bounces@lists.osgeo.org" target="_blank">mapserver-dev-bounces@lists.<wbr>osgeo.org</a>> on behalf of Tamas Szekeres <<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>><br>
<b>Sent:</b> Monday, July 17, 2017 4:17:52 PM<br>
<b>To:</b> <a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-dev] LABEL BUFFER behavior changes</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hi Devs,
<div><br>
</div>
<div>Was that intentional that the BUFFER paramerer for the label depends on SYMBOLSCALE in mapserver 7?</div>
<div><br>
</div>
<div>For mapserver 6.x the buffer has been calculated as follows (in mapdraw.c):</div>
<div><br>
</div>
<div>label_buffer = (labelPtr->buffer*image-><wbr>resolutionfactor); <br>
</div>
<div><br>
</div>
<div>For mapserver 7.x we use this formula:</div>
<div><br>
</div>
<div>textSymbolPtr->label->buffer * textSymbolPtr->scalefactor<br>
</div>
<div><br>
</div>
<div>where textSymbolPtr->scalefactor is in fact the layer->scalefactor</div>
<div><br>
</div>
<div>According to the documentation the buffer should be interpreted in pixels so the 7.x behaviour is incorrect I think, where the buffer depends on the actual scale/zoom.</div>
<div><br>
</div>
<div>I'm not aware of an RFC which would explain this change.</div>
<div><br>
</div>
<div>Let me know if I missed anything in this regard.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Tamas</div>
<div><br>
</div>
</div>
</div>
</div></div></div>

</blockquote></div><br></div>