[fusion-users] More than two hierarchy levels in the legend (with MapServer)

Bernhard Schneider bernhard.schneider at ilu.ch
Tue Jun 10 08:54:26 EDT 2008


Hello everyone,

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 "parent is always not set for mapserver since we can't have nested groups" in the code.

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 "client side". 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?

Just wondering.
Bernhard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080610/d521870c/attachment.html


More information about the fusion-users mailing list