display label on map

sophie chaveroux sophie.chaveroux at AGRICULTURE.GOUV.FR
Mon Jan 31 10:55:16 EST 2005


I'd like to draw a map of the french districts with the name of each as
label. Infortunatly i don't manage to display the districts' names....I
use a .tab format and the name of each district are grouped in a column
   named Nom_Communes, the mapfile i use is the following:
.....
  LAYER
     NAME "communes"
     STATUS default
     TYPE polygon
     CONNECTIONTYPE OGR
     CONNECTION "/home/mapserverdata/path_to_tab_file/..tab
     UNITS KILOMETERS
     SIZEUNITS PIXELS
     LABELITEM "Nom_Communes"
     STYLEITEM "auto"
     CLASS
        NAME "commune"
        LABEL
           MINFEATURESIZE 40
           MINDISTANCE 150
           POSITION CC
           SIZE TINY
           COLOR 0 0 0
        END
      END
END
END
Where does the problem come??? If someone have an idea...it would help
me a lot....



More information about the mapserver-users mailing list