[mapserver-dev] RE: [mapserver-users] PHP mapscript -
how toaddlabel style
Alan Boudreault
aboudreault at mapgears.com
Tue Oct 25 08:39:10 EDT 2011
Andrew,
Are you saying that "new styleObj()" is not allowed? I haven't modified
that part of swig... and checking the code parent_class==NULL is
supposed to be allowed.
Alan
On 11-10-24 12:04 PM, Andrew Monteiro wrote:
> Looks like the C# bindings did not get updated.
>
> I downloaded the latest daily build binaries from
> http://vbkto.dyndns.org/sdk/.
>
> MSVC2010 (Win32)
> release-1600-gdal-1-8-mapserver-6-0
> finished at 2011.10.24. 8:12:20,18
> r12689, r23275
>
> I am using c# .Net4, and the only option I have for creating a Style
> object is
>
> new styleObj(classObj parent_class)
>
>
> Cheers,
>
> Andy
>
>
>
> -----Original Message-----
> From: mapserver-dev-bounces at lists.osgeo.org
> [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Andrew
> Monteiro
> Sent: October 18, 2011 10:54 AM
> To: mapserver-dev at lists.osgeo.org
> Subject: RE: [mapserver-dev] RE: [mapserver-users] PHP mapscript - how
> toaddlabel style
>
> I'll try to get to the C# test later this week. I'm unfortunately out of
> the office most of today and tomorrow.
> Andy
>
> -----Original Message-----
> From: mapserver-dev-bounces at lists.osgeo.org
> [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Alan
> Boudreault
> Sent: October 17, 2011 4:56 PM
> To: mapserver-dev at lists.osgeo.org
> Subject: Re: [mapserver-dev] RE: [mapserver-users] PHP mapscript - how
> toadd label style
>
> 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
>
> _______________________________________________
> 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
> _______________________________________________
> 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