Look at the "LABEL_NO_CLIP" processing option. That tells MapServer to compute 
a label point before clipping to the map view.

Steve

________________________________________
From: [email protected] 
[[email protected]] on behalf of Richard Greenwood 
[[email protected]]
Sent: Thursday, December 29, 2011 10:36 PM
To: mapserver
Subject: [mapserver-users] force labels to centroid only

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
[email protected]
www.greenwoodmap.com
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to