Problem with SIZEITEM

Jeff McKenna jmckenna at DMSOLUTIONS.CA
Mon Jun 27 12:05:55 PDT 2005


I've filed a bug about this, because i get the same response that you do 
on a point file (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1398).

jeff





Pierre Racine wrote:
> 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
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the MapServer-users mailing list