processLegendTemplate -> leg_group_html returns "" ?

Clarence Ng neovazjr2 at HOTMAIL.COM
Thu Jun 30 12:58:28 PDT 2005


Hi List,

Currently using PHPMapscript/Chameleon, I couldn't get processLegendTemplate
to return anything whenever i add the pair of leg_group_html tags into my
template document. Without the leg_group_html it works fine. It would still
work if i put the leg_group_html tags after leg_layer_html and have no
content between leg_group_html. Having any content between leg_group_html or
by putting the pair of tags before leg_layer_html will result in
processLegendTemplate returning nothing.

I also tried assigning metadata to the layers for processing, but
oMap->getAllGroupNames() returns nothing. The GetCapabilities request are
correctly showing these WMS layers under different groups.

Maybe someone can point me to the right direction? Any help will be greatly
appreciated.

Clarence Ng



More information about the MapServer-users mailing list