[mapserver-users] force labels to centroid only

Richard Greenwood richard.greenwood at gmail.com
Thu Dec 29 23:36:12 EST 2011


When labeling Public Land Survey polygons I would like to force the
label to stay at the center of the polygon, and if the center of the
polygon is not visible in the map view (only a portion of the poly is
visible) then I do not want the label to be drawn. The way that I'm
currently doing this is with a separate point layer for labeling,
which works fine. I'm just wondering if there is a label directive
that I am overlooking that could be applied to the poly layer?

Thanks,
Rich

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the mapserver-users mailing list