<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [fusion-users] More than two hierarchy levels in the legend (with MapServer)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello everyone,<BR>
<BR>
Digging a bit further, I realised that the code in LoadMap.php (fusion/MapServer/php/) is responsible for restricting the nesting depth to 2. It retrieves the information from MapScript which itself read it from the map file. There is the comment &quot;parent is always not set for mapserver since we can't have nested groups&quot; in the code.<BR>
<BR>
Is it the MapServer (MapScript) that imposes the limitation? I wonder whether it isn't just a matter of interpreting the map file from a &quot;client side&quot;. The map rendering engine should not worry about nesting levels, it only needs to know which layers are visible and in which order they should be drawn. Aren't the groups mainly (only) there for organising the layers in the legend?<BR>
<BR>
Just wondering.<BR>
Bernhard<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>