Bug 31 - [Chameleon]Class Status ON/OFF & Class Grouping Definisions
: [Chameleon]Class Status ON/OFF & Class Grouping Definisions
Status: NEW
: Chameleon
Core
: 1.99
: PC Windows 2000
: P4 enhancement
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-07-30 16:24 by
Modified: 2004-08-10 16:03 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-07-30 16:24:41
... snipped by bugzilla administrator ...
------- Comment #1 From 2003-07-30 16:53:36 -------
Please ignore first comment I copied the wrong thing into this bug, sorry....



This enhancement request will be better defined during SLD development. This bug
was entered to have this issue visibly documented.

In an effort to have more complete Legend Templates automatically generated from
map files, either by using the LegendTemplate Widget, ContextSelect Widget or
future developed Widgets; a serious limitation has been noted.  

As most people know ;) the HTML Legend Template allows the user to display
within a legend either: groups, layers or classes. Since, the parameter STATUS
"ON/OFF/DEFAULT" is only used at the Layer level. The applications can only
allowing the user to turn on/off groups of layers at once, or single layers
within the map file. While in the ContextSelect Widget only Layers or groups of
layers can be displayed in a legend.

Since the enhancement of mapscript to have min/max zoom levels defined in the
class, there has been a shift in how we define our layers. Meaning that the
Class Objects can be considered more as the Layer definition, while Layer Object
is used to define the different Data sets.   

So logically, the enhancement request would be to have Classes to be just as
flexible as Layers. 
1)	CLASSSTATUS -> Turn ON/OFF parameter
2)	GROUPCLASS -> To group class when building a legend and to have the ability
to turn ON and OFF the layer(s) in the legend. 

There may be other enhancements required related to this Legend/Class issues.
------- Comment #2 From 2004-04-07 12:13:38 -------
is this a MapServer enhancement or a Chameleon enhancement?
------- Comment #3 From 2004-04-08 08:38:25 -------
updated version to 1.99
------- Comment #4 From 2004-04-14 10:26:21 -------
Yes this sounds like a mapserver enhancement, but it is also related to all
legend widgets.

Will this be an enhancement to mapserver?
------- Comment #5 From 2004-04-14 11:12:33 -------
What a long bug, I almost missed the point. 
Here is what it's about in 2 lines:
 - We would like to have STATUS ON/OFF on classes
 - We would like to have the ability to GROUP classes

With respect to this being added to MapServer, my opinion is:

- Class STATUS may be added some day if we have a good real life use case for
it. (There is already a STATUS member in the classObj in MapServer but it is
unused at the moment.)
- Class GROUPs are unlikely to ever be added unless we have a real life use for
that. It seems to me that a layer *is* a group of classes and should be used for
that.
------- Comment #6 From 2004-04-15 12:57:10 -------
My agrument is that a Layer should only define the data it is pointing to. That
since we have applied min scale max scale to classes, the status of a class
should be configurable.

For group classes, this would also make sense to have since classes are
technically the true sense of a mapserver layer, that the only way to create a
new group of classes of the same layer you would have to create a new layer,
duplicating the information. 

Having the option to reducing the number of layers in a single mapfile is the
point of my argument. 
------- Comment #7 From 2004-07-07 17:09:09 -------
Changed target milestone to 2.1.
------- Comment #8 From 2004-08-10 16:03:24 -------
Changed Target Milestone to FUTURE. (Enhancements may be moved from this target 
to specific "versioned" targets after product design review cycles.)