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.
--Steve From: Luca Delucchi [mailto:[email protected]] Sent: Monday, April 16, 2018 11:44 PM To: Lime, Steve D (MNIT) <[email protected]> Cc: MapServer <[email protected]> Subject: Re: [mapserver-users] LABELITEM in TEMPLATE or dynamic template Il lun 16 apr 2018, 22:09 Lime, Steve D (MNIT) <[email protected]<mailto:[email protected]>> ha scritto: I don’t get what you mean by template - are you really talking about a query template (either via TEMPLATE or a template-driven output format) or something else? --Steve A query template, in the template it is required to set [item name="column_name"] I would like to set [item LABELITEM] or something similar Thanks Luca
_______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
