<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Courier, monospace" size="2">
<div>Hi list,</div>
<div>&nbsp;</div>
<div>I'm doing some tests with treeGDE2 in mB 2.5. I try to use the new feature of handling sublayers in treeGDE2.</div>
<div>I obeserved some astonishing things. I think there are still some problems in the code. And I have some questions, using this new feature.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>1. Observation: switchwms = true and ficheckbox = false</div>
<div>=======================================================</div>
<div>Loading a wms with grouped layers (using &quot;WMS_LAYER_GROUP&quot; in mapserver's mapfile) the wms itself has a checkbox for displaying all layers (switchwms). And also all layers have a checkbox. But no group of layers has a checkbox for displaying all layers
of the group.</div>
<div>&nbsp;</div>
<div>1. Question: </div>
<div>============</div>
<div>I think there should be a new var called e.g. switchgroups. If this var is set to true, a checkbox should be offered for all nested groups in the wms. The old switchwms may be set to false. Isn't it ?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>2. Observation: switchwms = false and ficheckbox = true</div>
<div>=======================================================</div>
<div>The ficheckbox is offered for all groups (and layers of course). But, if there is no switchwms also no ficheckbos should be available !</div>
<div>&nbsp;</div>
<div>2. Question</div>
<div>===========</div>
<div>I think this is a real bug. The ficheckbox should not be offered for groups, if switchwms is set to false. (Exception: A new var switchgroups will be established).</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>3. Observation: showstatus = true</div>
<div>==================================</div>
<div>If showstatus = true, the treeGDE shall visualize all wms / groups in which layers are selected. But unfortenately all groups are marked, even if there is no layer selected in this group.</div>
<div>&nbsp;</div>
<div>3. Question</div>
<div>===========</div>
<div>I think this a bug too. Isn't it ?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>4. Question: openfolder = x</div>
<div>===========================</div>
<div>Using the var openfolder, it ist possible to choose the folder which should be openend during initializing the tree. But, of course using grouped layers, it should be possible to open nested groups in the tree. </div>
<div>Now only the first hirarchy may be opened.</div>
<div>&nbsp;</div>
<div>How may I open a group during initializing the tree ?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>5. Observation</div>
<div>==============</div>
<div>I'm using mapserver as wms - server. The mapserver-docu sais, that it is not allowed to use the layer's &quot;GROUP&quot; statement in conjunction with the layer-metadata &quot;WMS_LAYER_GROUP&quot; - statement. </div>
<div>&nbsp;</div>
<div>But how to offer real &quot;GROUPS&quot; of layers to the user in conjunction with &quot;WMS_LAYER_GROUP&quot;?</div>
<div>&nbsp;</div>
<div>So I did some experiments combining these two statements. Mapserver produces a getcapbilities-Document including some Warnings. </div>
<div>This capabilites-document is interpreted by mapbender. All layer &quot;GROUPS&quot; are interpreted correctly as groups by mapbdender. All &quot;WMS_LAYER_GROUPS&quot; are interpreted correctly. Only the layer &quot;GROUPS&quot; are inserted directly behind the root in the tree. This
can be solved by editing the &quot;parent&quot;filed in the table layer of the mapbender-db.</div>
<div>&nbsp;</div>
<div>5. Question</div>
<div>===========</div>
<div>Does anybody know, how to use layer &quot;GROUPS&quot; in combination with &quot;WMS_LAYER_GROUP&quot;, without generating mapserver errors? </div>
<div>Is there another solution in mapbender ?</div>
<div>(My solution is only a workaround (maybe it will no longer be working with a new mapserver - version!). )</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Schoenhammer Herbert</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><font face="Arial, sans-serif">&nbsp;</font></div>
</font>
</body>
</html>