[mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

Astrid Emde astrid.emde at wheregroup.com
Tue Jan 7 06:47:47 PST 2014


Hello thomas,

thanks for the info.

I tested it. It works fine. But true, I have different sizes accross my
mapfile.

Astrid

Am 07.01.2014 15:36, schrieb thomas bonfort:
> You /should/ be able to get a straight line if you set your legend keysize height to the same value as your line width. Of course if you have different line widths/sizes across your different classes then that won't work for all of them.
> For reference, this is why we're doing this: https://github.com/mapserver/mapserver/issues/2636
>
> --
> thomas
>
>
>
>
> On 07 Jan 2014, at 15:03, Astrid Emde <astrid.emde at wheregroup.com> wrote:
>
>> Hello Thomas,
>>
>> I thought rolling line is the right translation.
>>
>> For better demonstration I uploaded two legend images
>>
>> Straight line with MB 5.x
>> http://picpaste.com/pics/MS_5_legend_straight_line_keysize_30_1-xpoVeAbb.1389103182.png
>>
>> "rolling" Line
>> http://picpaste.com/pics/MS_6_legend_straight_line_keysize_30_1-WwGwsjcX.1389103196.png
>>
>> Astrid
>>
>> Am 07.01.2014 14:52, schrieb thomas bonfort:
>>> Astrid,
>>> What do you mean by "the line is rolling" , do you have example outputs?
>>>
>>> --
>>> thomas
>>>
>>>
>>>
>>>
>>> On 07 Jan 2014, at 14:50, Astrid Emde <astrid.emde at wheregroup.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> with MapServer 5.x it was possible to set the KEYSIZE 40 1 to get
>>>> straight lines as legend images.
>>>>
>>>> Now with MapServer 6.x the line is rolling although KEYSIZE is set to
>>>> KEYSIZE 40 1.
>>>>
>>>> Is it a feature? Or is there a way to get a straight line as legendimage.
>>>>
>>>> Thanks for your help.
>>>>
>>>> -- 
>>>>
>>>> Best regards
>>>>
>>>> Astrid Emde
>>>>
>>>> _______________________________________________
>>>> mapserver-users mailing list
>>>> mapserver-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list