Ticket #2856 (closed defect: duplicate)
Enhance polygon labeling
|Reported by:||woodbri||Owned by:||sdlime|
|Component:||MapServer C Library||Version:||unspecified|
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