Class status use should be used/defined
|Reported by:||assefa||Owned by:||sdlime|
|Component:||MapServer C Library||Version:||unspecified|
As part of the RFC-39, there is a need to define properly the intention of the class status (ON/OFF) use.
Looking into the code, the class status seems to be only in few places and I am not sure what the current interpretation the classes's status is. For example:
- a shape the could be drawn with a class A and a class B (class A being defined before class B), if Class A has a status OFF and class B with a STATUS ON, the shape will not be drawn at all. I would have assumed that if a class A is OFF, the shape would be draw with class B.
- I have not seen any tests for class status in such places as legend, checking if the layer is visible, queryable and such. I would have assumed here again that the class status should be tested when doing these operations.