Thanks Andrea, will find a workaround :)

On Thu, 2020-04-16 at 07:50 +0200, Andrea Aime wrote:
> Hi Tobias,nope, the template does not have access to the symbology.
> The source ingredients are there, but logic would
> be needed to determine the (possible multiple) symbolizer(s) applied
> to that feature during a render, collect them,
> associate them to the feature list given to the template, probably in
> the feature "user map", 
> and provide methods to access them from the template. Overall, quite
> a bit of work on the GeoServer java side.
> 
> Cheers
> Andrea
> 
> 
> 
> On Wed, Apr 15, 2020 at 11:17 PM Tobias Schulmann <
> [email protected]> wrote:
> > Hi
> > I'm wondering whether GeoServer's freemarker templates for
> > `GetFeatureInfo` responses allow direct access to a feature's
> > associated symbol, so that the symbol can be displayed alongside
> > attribute data in the `GetFeatureInfo` response. Has anyone tried
> > doing this before? I couldn't really find anything obvious in the
> > docs, but I'm hoping for ways to avoid making further requests from
> > the template itself. 
> > CheersTobias
> > 
> > 
> > _______________________________________________
> > 
> > Geoserver-users mailing list
> > 
> > 
> > 
> > Please make sure you read the following two resources before
> > posting to this list:
> > 
> > - Earning your support instead of buying it, but Ian Turton: 
> > http://www.ianturton.com/talks/foss4g.html#/
> > 
> > - The GeoServer user list posting guidelines: 
> > http://geoserver.org/comm/userlist-guidelines.html
> > 
> > 
> > 
> > If you want to request a feature or an improvement, also see this: 
> > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> > 
> > 
> > 
> > 
> > 
> > [email protected]
> > 
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > 
> 
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to