Opened 20 years ago

Closed 18 years ago

#816 closed enhancement (fixed)

Allow STYLE angle to be populated by an attribute.

Reported by: sdlime Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: 4.3
Severity: minor Keywords:
Cc: havard.tveite@…

Description

Another enhancement for the Germans. They functionality identical to 
LABELANGLEITEM but for a STYLE. I propose adding a ANGLEITEM parameter to 
STYLE objects. Code would follow the label code already in place so there's 
not much risk here. Ultimately is would be nice to set other parameters from 
items, especially SIZE. Other things like color and symbol are more discrete 
so straight classes are ok. (ultimately LABELANGLEITEM and LABELSIZEITEM 
should be moved into the LABEL object, then they could share the same 
keywords). Any objections?

Steve

Change History (4)

comment:1 by dmorissette, 20 years ago

I don't see any problem with the new ANGLEITEM and SIZEITEM. 

About moving LABELANGLEITEM and LABELSIZEITEM to the LABEL object, I agree that
would make sense, but I'm worried about backwards compatibility as usual.
They're probably not as widely used as LABELITEM, so it's probably not too big a
deal to move them as long as we document the change in some kind of migration
guide for the users.

comment:2 by havard.tveite@…, 18 years ago

Cc: havard.tveite@… added
Should not this bug be marked as FIXED (sizeitem and angleitem are now available
in the style object)?
Or is it not marked as fixed because it does not work for VECTOR symbols?

comment:3 by sdlime, 18 years ago

Resolution: fixed
Status: newclosed

comment:4 by sdlime, 18 years ago

It should be marked as fixed. It should work for vector symbols- there's no 
reason it shouldn't since rotation of vectors is supported now.

Steve
Note: See TracTickets for help on using tickets.