[mapserver-users] Still impossible to force labels inside their polygons?

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Sep 4 07:28:50 PDT 2012


Yes, still impossible. POSITION CC + MINFEATURESIZE AUTO will get you close. However, MINFEATURESIZE AUTO uses bounding box checks and doesn't intersect a feature geometry with its label geometry.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Tuesday, September 04, 2012 9:17 AM
To: 'Mapserver-Users (mapserver-users at lists.osgeo.org)'
Subject: [mapserver-users] Still impossible to force labels inside their polygons?

Hi,

Is the short answer by Stephen Woodbridge "No" in the tread http://osgeo-org.1560.n6.nabble.com/force-labels-to-fit-in-polygons-td4549296.html
still valid?

I have been trying to label a polygon dataset with Mapserver 6.2 beta2 and some labels keep on falling outside their polygons.  By the way, the thread contains an advice that does not work for me:
" By the way, PROCESSING "LABEL_NO_CLIP=ON" will fix the label point at the polygon center.
-SteveW "

Is the solution to create a new layer with point-on-surface function and label then this point layer?

-Jukka Rahkonen-
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list