color yes, width not with GD.

--
thomas

On Thu, Sep 22, 2011 at 17:10, Bistrais, Bob <[email protected]> wrote:
> Yes, I think I see a white outline about 1 pixel.  Do I have any control over 
> that at all? (width and/or color)
>
> -----Original Message-----
> From: thomas bonfort [mailto:[email protected]]
> Sent: Wednesday, September 21, 2011 9:18 PM
> To: Bistrais, Bob
> Cc: Stephen Woodbridge; [email protected]
> Subject: Re: [mapserver-users] Text outline not working on line features
>
> The GD driver does not support the OUTLINEWIDTH keyword on labels, but
> you should see a hard 1-pixel outline be applied to the text.
>
> --
> thomas
>
> On Tue, Sep 20, 2011 at 22:56, Bistrais, Bob <[email protected]> wrote:
>> This is an older version of MapServer, MS4W 2.3.1, MapServer 5.2.1.
>>
>> Using a global file with the outputformat params:
>>
>>        OUTPUTFORMAT
>>                NAME 'agg/png'
>>                DRIVER AGG/PNG
>>                IMAGEMODE RGBA
>>                FORMATOPTION "TRANSPARENT=TRUE"
>>        END
>>
>>        OUTPUTFORMAT
>>                NAME 'print'
>>                DRIVER "GD/GIF"
>>                MIMETYPE "image/gif"
>>                IMAGEMODE PC256
>>                EXTENSION "gif"
>>                TRANSPARENT ON
>>        END
>>
>> -So we're going to gif on the printout.
>>
>> Not sure what you meant by label output.  But here's what I see- on the
>> web application, the labels are as they should be- they have the
>> background halo.  On the printed map, the label text itself appears, but
>> no background halo.
>>
>> Yes, I'm absolutely sure that's the code being used in the .map file.
>>
>>
>> -----Original Message-----
>> From: Stephen Woodbridge [mailto:[email protected]]
>> Sent: Tuesday, September 20, 2011 1:49 PM
>> To: [email protected]
>> Subject: Re: [mapserver-users] Text outline not working on line features
>>
>> Bob,
>>
>> Also, what are you getting for label output in you case? More info would
>>
>> help diagnose this.
>>
>> Thanks,
>> -Steve W
>>
>> On 9/20/2011 1:47 PM, thomas bonfort wrote:
>>> what mapserver version, what outputformat?
>>> regardless, it should work with any version, are you sure that this is
>>> the actual mapfile snippet that is being used ?
>>>
>>> --
>>> thomas
>>>
>>> On Tue, Sep 20, 2011 at 18:45, Bistrais, Bob<[email protected]>
>> wrote:
>>>> I'm trying to draw and label road features from a shapefile.  I'd
>> like to
>>>> include an outline of the road name text as a halo.  This works fine
>> on
>>>> polygon and point features, but is not working for me with the line
>>>> features.
>>>>
>>>>
>>>>
>>>> Here is the code block:
>>>>
>>>>
>>>>
>>>>                  LABEL
>>>>
>>>>                    ANGLE auto
>>>>
>>>>                    PARTIALS false
>>>>
>>>>                    FORCE false
>>>>
>>>>                    MINDISTANCE 250
>>>>
>>>>                    POSITION uc
>>>>
>>>>                    COLOR 200 0 0
>>>>
>>>>                    OUTLINECOLOR 255 255 255
>>>>
>>>>                    OUTLINEWIDTH 5
>>>>
>>>>                    FONT "verdana"
>>>>
>>>>                    SIZE 12
>>>>
>>>>                    TYPE truetype
>>>>
>>>>                  END
>>>>
>>>>                  TEXT ([RDNAME])
>>>>
>>>> _______________________________________________
>>>> mapserver-users mailing list
>>>> [email protected]
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> mapserver-users mailing list
>>>> [email protected]
>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to