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 <joseantonioa...@gmail.com>
>Subject: [mapserver-users] LABELS
>To: mapserver-users@lists.osgeo.org
>Message-ID: <4b0ae7ce.1060...@gmail.com>
>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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to