Few labels placed with ANGLE FOLLOW, and REPEATDISTANCE set #4910

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
@tbonfort
Member

tbonfort commented Apr 25, 2014

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

@tbonfort tbonfort added this to the 7.0 Release milestone Apr 24, 2014

@tbonfort tbonfort self-assigned this Apr 24, 2014

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Apr 25, 2014

Member

@cnieman please have a try at the proposed fixed

Member

tbonfort commented Apr 25, 2014

@cnieman please have a try at the proposed fixed

@cnieman

This comment has been minimized.

Show comment
Hide comment
@cnieman

cnieman Apr 25, 2014

Contributor

@tbonfort that works as expected. Thanks.

Contributor

cnieman commented Apr 25, 2014

@tbonfort that works as expected. Thanks.

@tbonfort

This comment has been minimized.

Show comment
Hide comment
@tbonfort

tbonfort Apr 25, 2014

Member

closed via 793bd36

Member

tbonfort commented Apr 25, 2014

closed via 793bd36

@tbonfort tbonfort closed this Apr 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment