Opened 17 years ago
Closed 17 years ago
#2223 closed defect (fixed)
ANGLE FOLLOW for labels doesn't handle short strings properly
Reported by: | cnieman | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: |
Description
I have noticed that using ANGLE FOLLOW for labels along lines when the text is 3 or fewer characters long leads to incorrect character orientation.
Attachments (1)
Change History (6)
by , 17 years ago
Attachment: | angleFollow.zip added |
---|
comment:1 by , 17 years ago
Milestone: | → 5.0 release |
---|---|
Status: | new → assigned |
This is a known bug (see #2020) that I hope to fix before 5.0 final. The path following code is a bit hard to understand though which is why it's taking so long. The problem has to do with the smoothing kernel that is being applied.
Steve
comment:3 by , 17 years ago
comment:4 by , 17 years ago
I've tested the problem thoroughly and I can confirm that it is indeed specific to 3 or fewer characters. If I pad the beginning of the string with spaces so that there are at least 4 characters the labels follow the line properly.
contains test case displaying the problem.