Hi,
you get a centered label which does not move around when panning with LABEL:
POSITION cc and LAYER: PROCESSING "LABEL_NO_CLIP=ON", as for example:
---schnipp--------------------------------------------------
LAYER
NAME "Country"
CONNECTIONTYPE postgis
CONNECTION "..."
DATA "..."
PROCESSING "LABEL_NO_CLIP=ON"
STATUS on
TYPE POLYGON
LABELCACHE on
LABELITEM "name"
LABELMAXSCALEDENOM 100000
PROJECTION
"init=epsg:31466"
END
CLASS
STYLE
OUTLINECOLOR 255 0 0
END
LABEL
TYPE truetype
FONT "arial"
#wrap " "
SIZE 10
OUTLINECOLOR 255 255 255
COLOR 255 0 0
POSITION cc
PARTIALS true
END
END
END
---schnapp--------------------------------------------------
Regards
Ludwig
>
>Message: 2
>Date: Mon, 23 Nov 2009 13:51:42 -0600
>From: Jose Antonio Arce <[email protected]>
>Subject: [mapserver-users] LABELS
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi people, I hope you are doing well.
>
>How can I center a label in every country of the map.
>
>Thanks,
>
>JOSE ARCE
>from Costa Rica
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users