[mapserver-users] Labels are cut at the borders of the tiles
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Jan 10 06:43:22 PST 2011
Hello,
I believe you require a PROCESSING parameter in your LAYER, such as:
PROCESSING "LABEL_NO_CLIP=1"
As this is a common question you can find lots of responses in the
mailing list archives such as:
http://osgeo-org.1803224.n2.nabble.com/Point-annotation-labels-and-tiles-td5419368.html
You might want to search there also for a better response (search the
list at: http://osgeo-org.1803224.n2.nabble.com/MapServer-f1969210.html).
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 11-01-10 8:45 AM, Rudert, Clemens VGD wrote:
> Hello
> I have a problem with a annotation. I tried to write some numbers at
> specified points. I use OpenLayers for rendering. Now when i try to
> render the map i get the lables but at the border oft the tiles the
> lables are cut. Below you see the layer definition in my map file:
> LAYER #Grundstücksnummer
> # Connect to a remote spatial database
> CONNECTIONTYPE X
> CONNECTION X
> PROCESSING X
> DATA X
>
> PROJECTION
> "init=epsg:21781" # EPSG Schweiz!
> END #projection
>
> DEBUG ON
> NAME 'grundstuecknummer'
> GROUP 'grundkarte_farbig'
> TYPE ANNOTATION
> STATUS ON
> MAXSCALE 5000
> SYMBOLSCALEDENOM 3000
> LABELITEM "nummer_m_deko"
>
> CLASS
> NAME "Grundstücksnummern"
> LABEL
> TYPE TRUETYPE
> FONT CadastraIt
> COLOR 0 0 0
> SIZE [groesse]
> MAXSIZE 20
> ANGLE [ori]
> FORCE true
> PARTIALS false
> POSITION cc
> END #label
> END #class
>
> END #layer
> How can i fix the problem of cuting. I dont understand where the problem
> can be. Because i set the PARTIALS to false.
> I hope someone can help me. (sorry for my horrible english)
>
> kindly regards
>
> Clemens Rudert
>
More information about the MapServer-users
mailing list