Skip to content

Interactive legend for TOC layers [WFS Layer part] #10736

Description

@mahmoudadel54

Description

Technically WFS could follow the same workflow of WMS in relation to filtering even if it’s not the optimal solution in terms of performance and request. It would be better to filter directly content already downloaded but this means a review of the current workflow so we could think just these additional tasks:

This is a summary of the expected implementation steps:

1- For the UI part:

  • handle adding checkbox in catalog and layer settings in TOC for enabling/disabling interactive legend [the part in layer settings in TOC --> common with Vector]
  • handle the same behaviour in WMS of hovering effect on the TOC legend items if they present a filter and implement the select effect as well [Add interactivity to the Vector Legend] --> common with Vector

2- For the logic:

  • Now user can create a style includes rules [classification for example] which is on geostyler format
  • in general for WFS filter layer, it is using cql filter expression to filter the layer into the server sending the CQL
  • It will need a converter from geostyler [which comes from classification style for example] to cql that will be needed when user clicks on legend item to implement filter process
  • change in style/disable interactive legend from layer settings will reset the filter like WMS

Other useful information

Activity

  1. added
    New Feature
    on Jan 7, 2025
  2. self-assigned this
    on Jan 7, 2025
  3. added this to the 2025.01.00 milestone on Jan 7, 2025
  4. added a commit that references this issue on Jan 13, 2025
  5. added 4 commits that reference this issue on Jan 13, 2025
  6. added a commit that references this issue on Jan 27, 2025
  7. allyoucanmap commented on Jan 27, 2025

    @allyoucanmap
    Contributor

    @tdipisa (cc @mahmoudadel54) after merging I noticed there are not documentation for the following parts:

  8. tdipisa commented on Jan 27, 2025

    @tdipisa
    Member

    @allyoucanmap thank you for informing us about that.
    @mahmoudadel54 please create a new issue for the above and connect it to this. Then you can raise a PR for providing what's missing.

  9. self-assigned this
    on Jan 30, 2025
  10. added a commit that references this issue on Feb 3, 2025
  11. added 3 commits that reference this issue on Feb 3, 2025
  12. added a commit that references this issue on Feb 10, 2025
  13. added a commit that references this issue on Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AcceptedNew Featuredone

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions