Skip to content

Smarter match of cross layer filtering allowed layer #2749

@offtherailz

Description

@offtherailz

Description

Now cross layer filtering is allowed only between layers that have exactly the same WFS URL.
Sometimes layers are added from different services
e.g.

  • WMS getCapabilities
  • CSW Catalogs
  • manually edited
  • legacy layers from MapStore1.

Differnces can be:

In those case the cross layer filtering tool may not recognize that 2 layers as coming from the same source. So some layer that can be used as filters may not be shown in the list of available layers for cross filtering.

we could improve the tool to split the URL in parts (protocol, domain, port, path, queryparams) and compare them.

In case of Bug (otherwise remove this paragraph)

Browser Affected
any

Steps to reproduce

  • Add vector layers of the same source from WMS and CSW catalog and/or manually editing the map
  • Try to inspect data using cross layer filtering

Expected Result

  • All layers from the same source are listed as available for cross layer

Current Result

  • Not all the layers may be listed

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions