#4249 closed enhancement (duplicate)
Improve default label placement for "POSITION auto"
Reported by: | olt | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | olt |
Description
With POSITION auto, MapServer tries to place each label at different positions until if finds enough free space. It starts with UL (upper/left) even if there is space for UC (upper/center) which would look much better IMO.
I changed the order to the following and the results are much better, again IMO. Line 2578 in mapdraw.c
positions[0]=MS_UC; positions[1]=MS_LC; positions[2]=MS_UR; positions[3]=MS_CR; positions[4]=MS_LR; positions[5]=MS_UL; positions[6]=MS_CL; positions[7]=MS_LL;
See attached images.
Attachments (2)
Change History (4)
by , 12 years ago
Attachment: | label-placement-auto-new.png added |
---|
by , 12 years ago
Attachment: | label-placement-auto.png added |
---|
comment:1 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Oh, my fault. I searched for "placement" and not "position" when I checked for similar tickets.
Note:
See TracTickets
for help on using tickets.
duplicates #4242