[mapserver-users] LABELITEM in TEMPLATE or dynamic template
Luca Delucchi
lucadeluge at gmail.com
Mon Apr 23 04:39:21 PDT 2018
On 20 April 2018 at 17:22, Lime, Steve D (MNIT) <steve.lime at state.mn.us> wrote:
> You can’t get at core properties through the template tags. You can get at
> anything you pass in to a request so if you’re dynamically setting the
> labelitem then you could exploit that. I believe you can also get at values
> stored in the metadata block so you could use that. Syntax is
> [layername_meta data key]… It would be interesting to learn a little more
> about your setup to see if there is a more expedient way to do what you’re
> after.
>
Thanks a lot for your support, so I solved my problem using this
syntax in the template
[item name=[metadata_gml_include_items]]
in the metadata section is set
gml_include_items "MYCOLUMN"
>
> --Steve
>
--
ciao
Luca
www.lucadelu.org
More information about the MapServer-users
mailing list