MINFEATURESIZE is used only for labeling and makes sense when a polygons are clipped. It allows you avoid labeling slivers.
Steve -----Original Message----- From: Jackey Cheung [mailto:cheung.jac...@gmail.com] Sent: Thursday, January 19, 2012 6:52 PM To: Lime, Steve D (DNR) Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Labeling behavior at the edge of image Hi Steve, Thanks for you promptly reply. I've definitely try "label_no_clip" out. However, I don't think the MINFEATURESIZE if for me. The polygon as a whole is big enough for labeling, the problem is just that it's sliced into two parts. Having a min size limit on it may render the label gone at the edge, which is not the desire result. On Thu, Jan 19, 2012 at 10:26 PM, Lime, Steve D (DNR) <steve.l...@state.mn.us> wrote: > You can use the "label_no_clip" (I think that's right) PROCESSING parameter > to force label position to be computed on the untransformed geometry. This > results in a stable position regardless of scale or map extent. > > You can also use the label parameter MINFEATURESIZE to limit the size of the > features being labeled. Its value is given in pixel and for polygons its > compared against the narrowest portion of the computed bounding box for the > feature. > > Steve > > ________________________________________ > From: mapserver-users-boun...@lists.osgeo.org > [mapserver-users-boun...@lists.osgeo.org] on behalf of Jackey Cheung > [cheung.jac...@gmail.com] > Sent: Thursday, January 19, 2012 3:49 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] Labeling behavior at the edge of image > > Hi all, > > I've met an issue during my work. There is a polygon right at the edge > of an generated image. By setting position to auto, the label is > rendered, shifted a little bit off. It's as expected I would say. > However, a question arose immediately, what happen to the label of the > other part of the same polygon in the tile right next to this image? > Answer is that it's not render, no label to the other part. It seems > reasonable too. But it does seems a bit odd to viewers, since after > tiles are shown on a browser tile by tile side by side. No one will > notice that there is the edge slicing the polygon right into two > parts, and the label is shifted off from the center of the polygon. > So, if I would like to have the label sits right at the middle > (position cc) of the polygon, then what? > > Not sure if it can be achieved. I've tried allowing partial label, but > doesn't seem working. Anyone have any idea? > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users