Opened 12 years ago

Last modified 12 years ago

#4127 assigned defect

Adding multi-label support to classes (RFC 77).

Reported by: sdlime Owned by: sdlime
Priority: normal Milestone: 6.2 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: jmckenna

Description

Ticket to track the implementation of RFC 77- adding multiple label support to class objects. -Steve

Change History (9)

comment:1 by sdlime, 12 years ago

Initial implementation merged from the sandbox into trunk in r13138. -Steve

comment:2 by sdlime, 12 years ago

Status: newassigned

comment:3 by jmckenna, 12 years ago

Cc: jmckenna added

Steve,

I'm trying to compile trunk (r13142) with Windows (VC2008) and I get the following error:

mapkmlrenderer.cpp
mapkmlrenderer.cpp(44) : warning C4100: 'color' : unreferenced formal parameter
mapkmlrenderer.cpp(44) : warning C4100: 'format' : unreferenced formal parameter
mapkmlrenderer.cpp(236) : error C2039: 'label' : is not a member of 'class_obj'
        d:\build\mapserver-buildkit-2008\mapserver-trunk\mapserver.h(995) : see declaratio
n of 'class_obj'
mapkmlrenderer.cpp(236) : error C2228: left of '.position' must have class/struct/union
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"'
: return code '0x2'
Stop.

Could that be related to your recent changes? (if I try with r13137 I don't have a problem)

comment:4 by sdlime, 12 years ago

Definitely related, I'll fix asap. If you compile without KML you should be able to work around it.

Steve

comment:5 by tamas, 12 years ago

The related mapscript functions are missing from trunk. I also miss the reference counting approach just like for the styles has already been added within the scope of RFC24.

in reply to:  4 comment:6 by sdlime, 12 years ago

Replying to sdlime:

Definitely related, I'll fix asap. If you compile without KML you should be able to work around it.

Steve

Fixed in r13146. -Steve

in reply to:  5 comment:7 by sdlime, 12 years ago

Replying to tamas:

The related mapscript functions are missing from trunk. I also miss the reference counting approach just like for the styles has already been added within the scope of RFC24.

Will do. The MapScript stuff was an oversight- will mimic styleObj support on all counts.

Steve

comment:8 by jmckenna, 12 years ago

thanks Steve, the mapkmlrenderer error is gone.

comment:9 by rouault, 12 years ago

r13198 /trunk/mapserver/mapogroutput.c: Fix mapogroutput.c after changes related to RFC 77 (#4127)

Note: See TracTickets for help on using tickets.