[mapserver-users] Labeling problem

Kiks enrico.oemi at gmail.com
Thu Mar 25 12:15:58 EDT 2010


Hi, I have a problem labeling in true type.
This is an extract from my WORKING mapfile, using TYPE BITMAP. If I
substitute TYPE BITMAP with TYPE truetype, It still works, but no label is
shown..
Any idea?
thanks,
Kiks

LAYER
     NAME "CG_GEO_TESTI"
     TYPE ANNOTATION
     STATUS OFF
     CONNECTIONTYPE PLUGIN 
     PLUGIN "C:\programmi\ms4w\Apache\specialplugins\msplugin_mssql2008.dll" 
     CONNECTION "Driver={SQL Server Native Client
10.0};Server=localhost\SQLEXPRESS;Database=GIS;Trusted_Connection=yes;" 
     DATA "G_POSIZIONE FROM CG_GEO_TESTI WITH(INDEX(SPATIAL_CG_GEO_TESTI))
USING UNIQUE ID_TESTO USING SRID=3003"
     LABELITEM 'TESTO'
     METADATA 
       "wms_title" "Testi catastali" 
       "gml_include_items" "all" 
     END 
     DUMP TRUE 
     PROJECTION
       "init=epsg:3003"
     END
     OPACITY 100
     MAXSCALEDENOM 10000
     MINSCALEDENOM  2000
     CLASS
       STYLE
         COLOR 0 0 0
         OUTLINECOLOR 255 255 255
	 WIDTH 3
       END
       LABEL 
         COLOR 0 0 0
         OUTLINECOLOR 255 255 255
         TYPE BITMAP
	 OUTLINEWIDTH 5
	 FONT "georgia"
	#  TYPE truetype
	#  SIZE 12
	#  ANGLE [ANGOLO]
	  POSITION AUTO
	  PARTIALS FALSE

       END 
     END
   END  

-- 
View this message in context: http://n2.nabble.com/Labeling-problem-tp4798590p4798590.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list