[mapserver-users] Mapscript BINDING constants

Tamas Szekeres szekerest at gmail.com
Mon Jun 16 09:24:43 EDT 2008


Rob,

Added a patch that should be a fix for it:
http://trac.osgeo.org/mapserver/attachment/ticket/2643/mapserver.h.patch

Best regards,

Tamas


2008/6/16 Rob <gis at vanbooth.com>:
> I've raised Ticket #2643.
>
> In the meantime, how would I hack my way around this issue?  At the
> end of the day, the JNI will be expecting some kind of integer value,
> but I have no way of knowing what that value is.
>
> 2008/6/16 Tamas Szekeres <szekerest at gmail.com>:
>> Hi Rob,
>>
>> These constants haven`t been exposed to the SWIG interface, however
>> I`m not aware of any compelling reason why not to do so.
>> You can submit a ticket with this problem.
>>
>> Best regards,
>>
>> Tamas
>>
>>
>> 2008/6/16 Rob <gis at vanbooth.com>:
>>> Hi
>>>
>>> I'm trying to migrate from 4.8.6 to 5.0.2 and have a query regarding
>>> Mapscript constants.
>>>
>>> Given the change from LABELANGLEITEM to a binding on the Label, I'm
>>> struggling to see how this would work in Mapscript/Java.
>>>
>>> If I understand it correctly (and I'm not a Java developer by any
>>> means) to replace
>>>
>>> LABEL
>>>     ANGLE [ATTRIBUTE]
>>>     ....
>>> END
>>>
>>>
>>> I need a line like
>>>
>>> labelObj.setBinding(MS_LABEL_BINDING_ANGLE, "ATTRIBUTE");
>>>
>>> However, there doesnt seem to be anything defining the
>>> MS_LABEL_BINDING_ANGLE constant anywhere for me to compile against.
>>> Do I need to build my own constants?
>>>
>>> MTIA
>>>
>>> Rob
>>> _______________________________________________
>>> 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
>


More information about the mapserver-users mailing list