Opened 16 years ago

Closed 16 years ago

#2643 closed defect (fixed)

Missing MS_LABEL_BINDING constants for Mapscript JAVA

Reported by: gisrob Owned by: tamas
Priority: high Milestone: 5.2 release
Component: MapScript Version: 5.0
Severity: major Keywords:
Cc:

Description

From my email to the mapserver users mailing list:

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, 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.

A reply from Tamas Szekeres was:

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

Attachments (1)

mapserver.h.patch (868 bytes ) - added by tamas 16 years ago.
mapserver.h.patch

Download all attachments as: .zip

Change History (3)

by tamas, 16 years ago

Attachment: mapserver.h.patch added

mapserver.h.patch

comment:1 by tamas, 16 years ago

Component: MapScript-JavaMapScript
Milestone: 5.2 release
Owner: changed from unicoletti to tamas
Status: newassigned

I`ll take over this

comment:2 by tamas, 16 years ago

Resolution: fixed
Status: assignedclosed

Applied in trunk r7687

Note: See TracTickets for help on using tickets.