[mapserver-users] Fixed labels for polygons

Ambrogio Foletti afoletti at gmail.com
Wed Jun 8 04:40:00 EDT 2011


Thanks for the answer and the precious link. That worked perfectly.

Cheers,
A.

2011/6/8 Oliver Tonnhofer <olt at omniscale.de>

>
> On 08.06.2011, at 10:18, Ambrogio Foletti wrote:
> > And here's my problem: I have a lot of contiguous polygons who need to be
> labelled. In general this is no problem, but I need to generate the tiles
> for a WMTS service and the fact that the labels are not fixed but floating
> aroud, rearranging at every pan and zoom, is indeed an issue.
> > I read the documentation but as I understand it the "POSITION" parameter
> only tells mapserver the priority and not the absolute emplacement of the
> label.
> > Is there a way to tell MapServer to always draw the label at a fixed
> position (over the gravity centre?) on the polygon?
>
> As Thomas said, PROCESSING "LABEL_NO_CLIP=ON" is the right option. See
> http://mapproxy.org/docs/nightly/labeling.html for more detailed
> information about labeling for tiled services.
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110608/c91efe9a/attachment-0001.html


More information about the mapserver-users mailing list