Opened 15 years ago
Closed 15 years ago
#2993 closed defect (fixed)
Label position AUTO should position labels consistently for ANNOTATION layers with markers
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.4.1 release |
Component: | MapServer C Library | Version: | 5.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
Presently, the labeling code will choose a different set of AUTO positions based on the underlying geometry type. Polygons start at CC, points UL and so on. Works fine when there is no accompanying marker. In that case the annotation is basically a point symbol and you don't want to obscure it. (If you do you should use CC explicitly.)
Fix is to treat all annotation layers like points IF there is an accompanying marker. Two small changes to mapdraw.c in the label cache code will suffice.
Steve
Change History (2)
comment:1 by , 15 years ago
Milestone: | 6.0 release → 5.4.1 release |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 5.4 branch in r9056 and trunk in r9057. Closing...
Steve