[mapserver-dev] RE: [mapserver-users] PHP mapscript - how to add label style

Alan Boudreault aboudreault at mapgears.com
Mon Oct 17 16:55:33 EDT 2011


I have committed a patch in trunk. Feel free to test. I have also fixed 
the SWIG part... but only tested in python. If anyone could test it in 
java,perl or csharp, it would be nice.

Note: to insert a style... it's different for php vs swig bindings. Just 
use the same thing you would have used for the classObj:

- PHP: new styleObj(myLabel)
- SWIG: label.insertStyle(styleObj())

Thanks,
Alan

On 11-10-17 01:15 PM, Alan Boudreault wrote:
> I'm currently looking at this issue.
>
> Alan
>
> On 11-10-16 09:56 PM, Ian Walberg wrote:
>> Folks,
>>
>> Is this something we can help add?
>>
>> Regards
>>
>> Ian
>>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian
>> Walberg
>> Sent: Monday, October 03, 2011 12:26 PM
>> To: Steve Lime
>> Cc: mapserver-users at lists.osgeo.org
>> Subject: RE: [mapserver-users] PHP mapscript - how to add label style
>>
>> http://trac.osgeo.org/mapserver/ticket/4038
>>
>>
>> -----Original Message-----
>> From: Steve Lime [mailto:sdlime at gmail.com]
>> Sent: Wednesday, September 28, 2011 8:30 PM
>> To: Ian Walberg
>> Cc: mapserver-users at lists.osgeo.org
>> Subject: Re: [mapserver-users] PHP mapscript - how to add label style
>>
>> I'm guessing this is a bug, could you quick file a ticket and we'll make
>> sure this is addressed in 6.0.2?
>>
>> Steve
>>
>> On Tue, Sep 27, 2011 at 10:21 AM, Ian Walberg
>> <ian.walberg at airborne.aero> wrote:
>>> Hello,
>>>
>>>
>>>
>>> I am sure it is staring me in the face but we cannot see how to add a
>>> style to a label (Mapserver 6.x) using PHP mapscript.
>>>
>>>
>>>
>>> Works fine via map file and we see the open issue with the save not
>>> including the geotransform line.
>>>
>>>
>>>
>>> What are we missing?
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Ian
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
> _______________________________________________
> 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