Problem with SIZEITEM
    Pierre Racine 
    racine_pierre at HOTMAIL.COM
       
    Sat Jun 25 13:15:16 PDT 2005
    
    
  
Hi,
Anybody tried the SIZEITEM with Mapserver 4.6?
If I publish the minimal map file with SIZEITEM based on an integer
attribute, the size of the symbol doesn't change. Worse: if I add a LABEL
definition, Mapserver crashes, publishing only half a jpeg.
Here is my mapfile with the LABLE definition:
MAP
  #IMAGETYPE JPEG
  EXTENT 189775 4716305 731662 5472414
  SIZE 400 600
  SHAPEPATH "data\shp"
  FONTSET "D:\ms4w\fonts\fonts.txt"
  SYMBOL
    NAME "circle"
    TYPE ellipse
    FILLED true
    POINTS
      8 8
    END
  END
  PROJECTION
   "init=epsg:102010"
  END
  LAYER # States polygon layer begins here
      NAME escale
      DATA escale
      STATUS DEFAULT
      TYPE POINT
      PROJECTION
        "init=epsg:102010"
      END
      LABELITEM "id"
      CLASS
        STYLE
            SYMBOL "circle"
            SIZEITEM "duration"
            COLOR 1 255 1
            #SIZE 28
            #MINSIZE 12
            OUTLINECOLOR 0 0 0
        END
        LABEL
          COLOR 155 135 0
          TYPE TRUETYPE
          FONT arial
          SIZE 12
          FORCE true
          POSITION uc
        END #LABEL
      END #CLASS
  END #LAYER
END
Pierre Racine
    
    
More information about the MapServer-users
mailing list