[Mapserver-users] centering labels

Daniel Morissette morissette at dmsolutions.ca
Fri Jan 31 08:10:55 PST 2003


> Jim Burnett wrote:
> 
> I'm trying to get my labels to center on my parcel layer. The layer is
> a polygon layer.
> Here is my layer def. And a screenshot of what is happening.
> 
> LAYER
>   NAME ParcelLabels
>   TYPE line

You write that the layer is a polygon layer but your LAYER defn uses
TYPE LINE, so the labels are placed along the lines (polygon
boundaries).  Changing to TYPE POLYGON will probably do what you need:
place the labels at the polygon centers.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list