[mapserver-dev] Problem with label angle since v5.0

Steve Lime Steve.Lime at dnr.state.mn.us
Fri May 23 14:35:59 EDT 2008


Ah, I get it. Let me ponder that and get back to you.

Steve

>>> On 5/23/2008 at 2:22 AM, in message <17419520.post at talk.nabble.com>, tommyr
<nerkeilenemon at gmail.com> wrote:

> In fact I want to get back the value of the angle of the label i mean this :
> angle [THIS].
> I set a value into it with $oLabelObj->setBinding(MS_LABEL_BINDING_ANGLE,
> 'THIS'), and then I wan't to get the value of the angle I put to the label.
> 
> How can I do this ?
> 
> Thank you.
> 
> Tommy
>  
> 
> Steve Lime wrote:
>> 
>> Hi Tommy: I guess I'm not clear on what you're after. Bindings are
>> evaluated on a feature by feature basis
>> during rendering so the value for the label will change repeatedly. In
>> what context would you want to see
>> the angle? 
>> 
>> Steve
>> 
>>>>> On 5/22/2008 at 10:42 AM, in message
>> <7b2d12b90805220842wb1c7c9dm6d9065040f1d8709 at mail.gmail.com>, "Tommy
>> Roughol"
>> <nerkeilenemon at gmail.com> wrote:
>>> Hello,
>>> 
>>> I have a problem since the release of Map Server 5. I now set the angle
>>> of
>>> my LabelObj with $oLabelObj->setBinding(MS_LABEL_BINDING_ANGLE, ...) .
>>> Nevertheless, I can't get the value of my LabelObj, because
>>> $oLabelObj->angle is a double, with value = 0, and there is no method
>>> getBinding(). Is there a way to get the value of the angle string in my
>>> label ? A method, a void, or anything else ?
>>> 
>>> Thank You.
>> 
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev 
>> 
>> 



More information about the mapserver-dev mailing list