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 <[EMAIL PROTECTED]>: > 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 <[EMAIL PROTECTED]>: >> 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 <[EMAIL PROTECTED]>: >>> 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 >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
