Opened 20 years ago

Last modified 15 years ago

#606 closed defect

unexpected polygon label placement — at Initial Version

Reported by: dgadoury@… Owned by: mapserverbugs
Priority: high Milestone: 5.4 release
Component: MapServer C Library Version: 4.1
Severity: normal Keywords:
Cc: warnock@…

Description

When labeling polygons, labels are often placed in unexpected locations
including on the edge or even completely outside the polygon. I will attach two
images to demonstrate.

The first shows Flodida and bordering states, and the FL label falls on the
FL/AL border. AL is not labeled at all even though there would be room for a
label if the FL label was better placed. In this case the label POSITION was set
to CC.

The second image shows Alaska and northwest Canada. The label POSITION in this
case is AUTO and it results in the BC label falling completely outside its
polygon. None of the labels are really where I would want or expect them to be.

From a cartographic viewpoint this is a serious problem.

Chosing a different POSITION may help in this case, but in other areas of the
map it would create new problems. What is really needed is a an assurance that
labels will at least fall completely within the polygon they are associated with.

Change History (2)

by dgadoury@…, 20 years ago

Attachment: cc_labels.png added

image showing FL label

by dgadoury@…, 20 years ago

Attachment: auto_labels.png added

image showing Alaska & northwest Canada

Note: See TracTickets for help on using tickets.