[Mapserver-users] problem with mapserver 4 + label + shape

collao_andres collao_andres at hotmail.com
Mon Jan 19 11:14:07 PST 2004


work with mapserver 4 + redhat 9 and I have problems to show the 
originating labels from a layer that uses a SHAPE file
 
when defining labelitem does not show the layer in the map. but when 
quiot the instruction labelitem, the layer appears without problems

some idea???

#INICIO_curvas
  LAYER
    NAME "curvas"
    STATUS OFF
    DATA curvas/curvas_primera
    TYPE LINE
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    METADATA
      "origen"    "e-siir"
    END

    PROJECTION
      "proj=longlat" 
    END
    LABELITEM "CURVAS_ID"
#INICIO_CLASES
    CLASS
	NAME "0"
      LABEL
        TYPE TRUETYPE
        FONT "arial"
        SIZE 8
        MINSIZE 4
        MAXSIZE 8
        POSITION CC
        ANGLE AUTO
        OFFSET 10 10
        COLOR 208 166 108
        OUTLINECOLOR 255 255 255
        ANTIALIAS TRUE
      MINFEATURESIZE AUTO
	      BUFFER 2
      END
      STYLE
        SYMBOL 0
        COLOR 208 166 108
	  OUTLINECOLOR -1 -1 -1
        SIZE 1
        MINSIZE 1
        MAXSIZE 100
      END
    END
#FIN_CLASES
  END
#FIN_CAPA





More information about the MapServer-users mailing list