[Mapserver-users] centering labels

Daniel Morissette morissette at dmsolutions.ca
Fri Jan 31 11:10:55 EST 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