mapserver/mapserver — pull request #4910 by tbonfort (2014-04-25 12:21:52+00:00)
Title: Few labels placed with ANGLE FOLLOW, and REPEATDISTANCE set

I'm using MapServer build from Master that was build today.

I want to have repeating labels placed around a linear feature. For some reason, I need to have a very high MAXOVERLAPANGLE to get something close to what I'm expecting: See here: https://dl.dropboxusercontent.com/u/3219487/label_test.png

The green feature on the left is using the default MAXOVERLAPANGLE value (i.e. it is not set in the label block). For some reason only two labels get placed.

The red feature on the right has MAXOVERLAPANGLE 90, and other than the cramped up labels in the corners, this is more like what I expected for the green feature.

My mapfile for mapserver-6.5 is here: https://dl.dropboxusercontent.com/u/3219487/label_issues.map

With MapServer 6.4 (after adding a fontset and font to the label blocks), I got a better result for the green feature: https://dl.dropboxusercontent.com/u/3219487/test64.png