[mapserver-users] Mapscript BINDING constants

Tamas Szekeres szekerest at gmail.com
Mon Jun 16 09:04:58 EDT 2008


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
>


More information about the mapserver-users mailing list