[Mapserver-users] Metadata access via templates
Michael Schulz
mschulz@webgis.de
Thu, 30 Jan 2003 11:23:08 +0100
Hi,
is it correct, that metadatakey substitution( [layername_metadatakey])
in templates is only happening when that specific layer is drawn?
Otherwise the substituion is empty?!
mapfile snip:
LAYER
NAME "ffh"
METADATA
"l_name" " "
"infofile" "ffh.html"
END
template snip:
<td class="cmd"><a href="./[ffh_infofile]" target="_new">FFH</a></td>
processed html when layer drawn:
<td class="cmd"><a href="./ffh.html" target="_new">FFH</a></td>
processed html when layer not drawn:
<td class="cmd"><a href="./" target="_new">FFH</a></td>
I am using this in the layer selection part, where the layers appear
even if they are not drawn on the map, is there a way that the
substitution will happen in every case? Thanks,
Michael
--
-----------------------------------------------------------
Michael Schulz in medias res
Dipl.-Geologe Gesellschaft für
Informationstechnologie mbH
Sautierstr. 38, 79104 Freiburg
0761 55695-95 (Fax 96)
mschulz@webgis.de www.webgis.de
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users