[mapserver-users] Fixed labels for polygons
Oliver Tonnhofer
olt at omniscale.de
Wed Jun 8 01:29:54 PDT 2011
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
More information about the MapServer-users
mailing list