[mapserver-users] LABEL_NO_CLIP=ON not working for point type feature layers

搜狐右手 teeca at sohu.com
Wed Sep 23 07:32:29 PDT 2009


Hi all.
     recently I try to output  my map into tiled images, so far is O.K, 
Polyline Feature layer duplicate labels can be fixed using PROCESSING 
"LABEL_NO_CLIP=ON", but now I encounter point feature layer's labels 
problem: When I get my tile images output, the label will be clipped out 
at tile image's edge. The directive PROCESSING "LABEL_NO_CLIP=ON" is not 
working for point feature layers ,can anybody give some suggestions?
    the appearance of my clipped label is in the attachment.You can see 
the gray text(polyline feature label) is properly splitted on the two 
images, while red text(point feature label) is clipped.

Snippet from my mapfile
		NAME "POI_01_CityDistName_P"
		TYPE point
		STATUS DEFAULT
		OPACITY 100
		SIZEUNITS pixels

		LABELITEM "poiname"
		LABELCACHE on
		POSTLABELCACHE FALSE
		PROCESSING "LABEL_NO_CLIP=ON"
		TRANSFORM true
		CLASS
			NAME "Untitled class"
			LABEL
				ANGLE auto
				FONT "C_HEI"
				ENCODING "GB18030"
				TYPE truetype
				PRIORITY 1
				SIZE 13
				MAXSIZE 256
				MINSIZE 4
				COLOR 248 67 52
				OUTLINECOLOR 255 251 240
				BACKGROUNDSHADOWSIZE 1 1
				POSITION uc
				ANTIALIAS FALSE
				FORCE FALSE
				PARTIALS TRUE
			END

     
   regards,
   teeca

  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clipped point label.gif
Type: image/gif
Size: 36012 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090923/161d8e8b/attachment.gif>


More information about the MapServer-users mailing list