I want to use parameter substitution via the env function to specify the label
field (or possibly even fields) via the env parameter of the GetMap request
I've tried:
<Label>
<ogc:ParameterName>
<ogc:Function name="env">
<ogc:Literal>labelField</ogc:Literal>
</ogc:Function>
</ogc:ParameterName>
</Label>
but that results in both validation and rendering errors.
I've also tried:
- Just the ogc:Function element block inside the Label element
- string concatenation function to concatenate the ogc:ParameterName tags to
the results of the env function
- Passing the entire urlencoded
<ogc:ParameterName>MYLABELFIELD</ogc:ParameterName> string as the value of the
env=labelField: parameter
- Using CQL parameter notation <Label> { <ogc:Function
name="env"> ... </ogc:Function> } </Label>
None of the above syntaxes worked for me.
Is there a way to do env function based parameter substitution for the Label
element?
Thanks
Matt Priour
Kestrel Computer Consulting
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users