-
Notifications
You must be signed in to change notification settings - Fork 381
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
Add filter to CSW Catalog to request only layers #6813
Comments
One note: http://gn3-rndt.geo-solutions.it/geonetwork/srv/eng/csw doesn't seems to be compatible, so you can skip this test. |
please @MuhweziDeo backport this fix to https://github.com/geosolutions-it/MapStore2/tree/geonode-mapstore-client-2.1.x |
can be related to georchestra/mapstore2-georchestra#257 |
@offtherailz is it possible to configure this filter? |
No, it is not configurable. The only improvement is that the generated filter now is a little more specific, to get only dataset type contents (not other types), avoiding some results. |
@offtherailz it should be configurable so that the filter can be set up depending on the use case and context where MS is used. By default we expected to have the catalog tool to browse all metadata available in a CSW catalog, with the possibility to add a layer to the map if WMS resources are connected to the metadata. Can you please open a new dedicate issue for this enhancement? We should consider also the case of the application contexts. |
Description
The CSW requests include all the resources available so the Catalog cards will show an error when the record item is not a layer. An example is the geonode mapstore client that using the CSW catalog of GeoNode shows all other contents such as maps, documents, ... with an error
To avoid listing these additional resources inside the MapStore client catalog a filter must be always included:
Below screenshot of the current Catalog showing resources different from layers.
The CSW catalog must continue working on:
Showing only datasets, not services.
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: