-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legend filtering for GeoServer WMS layers #10684
Comments
With the interactive legend filter (as shown in the video below):
If not, could you clarify what the expected behavior should be in this scenario? legend-filtering.mp4 |
@dsuren1 @tdipisa this comment is part of the interactive legend so it should be discussed in #10241, and it has a similar inconsistency described in #10236. In the video we are in a situation where the legend filter applied to the layer are not valid anymore so I think we should implement the warning described in this comment #10236 (comment):
Note: With inline warning we mean an Alert component with bsStyle warning implemented directly in the json legend component if possible |
Updated: |
Description
The GetLegendGraphic request for a WMS GeoServer layer allow to filter the legend items based on the map extension and additional filters applied to the layer (eg. CQL filters). When a WMS layer has a filter applied the legend should update and show only the filtered legend items entries. This task includes following actions:
improve the WMS legend component (*) of the TOC to support layer filters and bounding box filter based on the map extension (both 2D and 3D maps)
improve the Print request for WMS layers to configure correctly the GetLegendGraphic request including layer filters and map extension filters.
The WMS legend component has two different type of format json and image, both should be implemented
The aim of this issue is to have consistency on the legend and the content visualized on the map and print output.
In this comment there is a working configuration for GeoServer GetLegend graphic request. We should apply this configuration only when the serverType property of the layer is undefined or geoserver
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information
The text was updated successfully, but these errors were encountered: