<div class="message-text">Hello! <br>I wonder if anybody can help me to resolve a problem with html legend group block tags issue. <br>I have a simple mapfile with a couple of layers using simplify names, because of the Portuguese language I have some troubles causes by encoding. <br>
I declare in the layer metadata the name that I want to show in the layer name and layer group. <br><br>##### Mapfile ##### <br>LAYER <br>  NAME "erpva_1" <br>  GROUP "erpva" <br>... <br>  METADATA <br>
        "layer_group" "ESTRUTURA REGIONAL DE PROTECÇÃO E VALORIZAÇÃO AMBIENTAL" <br>        "layer_name" "Corredores Ecológicos" <br>        "legend_order" "1" <br>
  END <br>...   <br>END <br><br>LAYER <br>  NAME "erpva_2" <br>  GROUP "erpva" <br>... <br>  METADATA <br>        "layer_group" "ESTRUTURA REGIONAL DE PROTECÇÃO E VALORIZAÇÃO AMBIENTAL" <br>
        "layer_name" "Áreas Núcleares" <br>        "legend_order" "2" <br>  END <br>... <br>END <br>############## <br><br>To compose the legend I use this HTML code: <br><br>[leg_group_html] <br>
<tr><br>    <td><b>[metadata name=layer_group]</b></td><br></tr><br>[/leg_group_html] <br>... <br>[leg_layer_html] <br><tr><br>    <td><b>[metadata name=layer_name]</b></td>        <br>
</tr ><br>[/leg_layer_html] <br><br>The problem is in the group tag, instead of using [metadata name=layer_group] if I use [leg_group_name] appear the simplified group name “erpva”, but instead of that I want to show the metada “layer group”… <br>
Someone can help me to resolve this issue?!?! <br><br>Best regards, <br>João Duarte <br></div>