<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 &quot;erpva_1&quot; <br>  GROUP &quot;erpva&quot; <br>... <br>  METADATA <br>
        &quot;layer_group&quot; &quot;ESTRUTURA REGIONAL DE PROTECÇÃO E VALORIZAÇÃO AMBIENTAL&quot; <br>        &quot;layer_name&quot; &quot;Corredores Ecológicos&quot; <br>        &quot;legend_order&quot; &quot;1&quot; <br>
  END <br>...   <br>END <br><br>LAYER <br>  NAME &quot;erpva_2&quot; <br>  GROUP &quot;erpva&quot; <br>... <br>  METADATA <br>        &quot;layer_group&quot; &quot;ESTRUTURA REGIONAL DE PROTECÇÃO E VALORIZAÇÃO AMBIENTAL&quot; <br>
        &quot;layer_name&quot; &quot;Áreas Núcleares&quot; <br>        &quot;legend_order&quot; &quot;2&quot; <br>  END <br>... <br>END <br>############## <br><br>To compose the legend I use this HTML code: <br><br>[leg_group_html] <br>
&lt;tr&gt;<br>    &lt;td&gt;<b>[metadata name=layer_group]</b>&lt;/td&gt;<br>&lt;/tr&gt;<br>[/leg_group_html] <br>... <br>[leg_layer_html] <br>&lt;tr&gt;<br>    &lt;td&gt;<b>[metadata name=layer_name]</b>&lt;/td&gt;        <br>
&lt;/tr &gt;<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>