Skip to content
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

Choice of type of OGC service for single layer in CSW catalog #10272

Closed
dsuren1 opened this issue May 2, 2024 · 0 comments · Fixed by #10304 or #10334
Closed

Choice of type of OGC service for single layer in CSW catalog #10272

dsuren1 opened this issue May 2, 2024 · 0 comments · Fixed by #10304 or #10334

Comments

@dsuren1
Copy link
Contributor

dsuren1 commented May 2, 2024

Description

When loading records from a CSW catalog, in the specific case of a downsteam project, the catalog
service responds with records, represented as layers in MapStore, that can hold more than just the WMS service, for example the
sivep:alberi_da_frutto layer, that publishes both WFS and WMS services see below
284615220-43e1b255-3131-4016-8925-f43468b15d44

At the moment if adding that layer on the map the WMS service is loaded. MS should provide the ability for the user to select before the moment of adding to the map the type of service they want to load for that layer coming from the CSW catalog.

Acceptance criteria

  • Generate layer references from dc to capture all the possible services types present

    • On adding a layer to map when the captured references contains more than one service supported for the record, the user should be able to select the service from which the layer is to be added
    • Support for WMS & WFS (when present) as of this issue
  • However, implementation should allow expansion of support for other service types in the future such that the current implementation is not too restrictive in applying this issue's scope

  • User selection of the type of service from which the layer to be added to map will be a menu button. Clicking add button directly will add layer from WMS by default
    Screenshot 2024-05-03 at 1 55 28 PM

  • Layer added based on the service type selected should be reflected correctly on the map including the layer specific configurations by service type

  • When only one service type is supported the add to map should work as is. Similarly other features tied to add to map should work as is (ex. CRS validation)

Test data
Service URL: https://gn3-rndt.geo-solutions.it/geonetwork/srv/eng/csw
Layer name: Unesco points

Downstream issue

https://github.com/geosolutions-it/MapStore2-C027/issues/179

Note

Catalog in dashboard wizard has multi layer selection hence this feature is currently not applicable which will be handled in a separate issue

@dsuren1 dsuren1 self-assigned this May 2, 2024
@tdipisa tdipisa added this to the 2024.01.01 milestone May 3, 2024
@tdipisa tdipisa added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label May 3, 2024
dsuren1 added a commit to dsuren1/MapStore2 that referenced this issue May 10, 2024
@dsuren1 dsuren1 linked a pull request May 10, 2024 that will close this issue
6 tasks
@ElenaGallo ElenaGallo self-assigned this May 16, 2024
dsuren1 added a commit to dsuren1/MapStore2 that referenced this issue May 16, 2024
MV88 pushed a commit that referenced this issue May 16, 2024
@ElenaGallo ElenaGallo added Accepted and removed BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment