[Chameleon] Label feature Probelm

Rajan Man Bajracharya rbajracharya at icimod.org.np
Wed Jun 1 16:39:24 EDT 2005


Dear All,

Is there any quick way to label the feature? One in the chameleon sample 
doesn't work for my application.

Below is the code from map file
LAYER
   GROUP "Point"
   NAME residence2
   METADATA
     "DESCRIPTION"   "Mapping"
     "RESULT_FIELDS" "name"
     "GROUP" "Point"
     "LAYER" "residence2"
   END
   TYPE POINT
   STATUS ON
   DATA residence2
   LabelItem "name"
   CLASSITEM "myattribute"
   CLASS
     EXPRESSION "1"
     SYMBOL 2
     SIZE 8
     NAME "staff"
     LABEL
       COLOR  255 0 0
       FONT fritqat-italic
       TYPE truetype
       SIZE 8
       POSITION AUTO
       PARTIALS FALSE
       OUTLINECOLOR 255 255 255
     END
     COLOR 0 0 0
   END
    TOLERANCE 5
END
END # Layer

Any help is highly appreciated.

Regards,
-rajan.



More information about the Chameleon mailing list