Problem with SIZEITEM
Pierre Racine
racine_pierre at HOTMAIL.COM
Tue Jun 28 10:06:48 PDT 2005
Thanks Jeff,
That's the only way I found to create a proportional symbol map. Is there
any other way to achieve this?
Pierre
>From: Jeff McKenna <jmckenna at dmsolutions.ca>
>To: Pierre Racine <racine_pierre at HOTMAIL.COM>
>CC: MAPSERVER-USERS at lists.umn.edu
>Subject: Re: [UMN_MAPSERVER-USERS] Problem with SIZEITEM
>Date: Mon, 27 Jun 2005 15:05:55 -0400
>
>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