Opened 15 years ago

Closed 15 years ago

#2856 closed defect (duplicate)

Enhance polygon labeling

Reported by: woodbri Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc:

Description

Enhance polygon labeling so that it is possible to label a polygon multiple times along its border and control whether is it inside or outside the polygon. This would be used to label country or polygon borders. The labels would use ANGLE property. FOLLOW would be along the polygons polyline, and OFFSET would be used to indicate inside the polygon or outside the polygon. MINDISTANCE would be used to indicate distance between multiple label point along the border. PARTIALS would also apply.

LABEL
  FONT arial
  SIZE 10
  TYPE TRUETYPE
  ANGLE FOLLOW
  METHOD "border"
  OFFSET -10  # label 10 units inside the polygon, + is outside
  MINDISTANCE 200
  PARTIALS FALSE
END

Change History (1)

comment:1 by woodbri, 15 years ago

Resolution: duplicate
Status: newclosed

Sorry this is covered in #1592

Note: See TracTickets for help on using tickets.