[Geoserver-devel] [jira] (GEOS-6959) Make summary data available to header/footer templates

Nik Sands created an issue

GeoServer / ImprovementGEOS-6959

Make summary data available to header/footer templates

Issue Type:

ImprovementImprovement

Affects Versions:

2.7.0

Assignee:

Andrea Aime

Created:

26/Mar/15 5:49 PM

Priority:

MinorMinor

Reporter:

Nik Sands

Templates (FreeMarker) used for formatting query results (such as from GetFeatureInfo requests) should be able to include summary information in the header or footer templates.

Suggestion is to make data model available to header.ftl and footer.ftl that includes either a precalculated list of summary data, OR a complete list of all features that are included in the results (ie, each list of features that is sent to each invocation of content.ftl would be inclluded in this list - ie, a list of feature lists). From here the data to be displayed to the user can be calculated using FreeMarker directives in the templates.

Information that would be good to display in header/footer includes:
• Total number of results (across all feature types).
• Number of feature types (layers) with matching results.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo