-
Notifications
You must be signed in to change notification settings - Fork 113
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
GeoNode CSW catalog requires the dc:type=dataset filtert #103
Comments
@allyoucanmap as confirmed by @etj we can safely adopt this filter upstream in MapStore. |
connected to geosolutions-it/MapStore2#6813 |
@giohappy @etj testing this filter in Mapstore
It seems not to be working because responses received do not change I also noticed that the records returned even non-layers have
one of the records which are not layer includes the one below and you can see |
@MuhweziDeo can you please report the CSW service URL that you used in your example? |
@giohappy this is the URL hit on GeoServer |
@MuhweziDeo so the record you are reporting is something in your local GeoNode. You say it's not a layer, what is it then? |
it's a Map @giohappy |
checking with @etj |
The fact that resources different from layers are returned by the CSW Catalogue is a regression / side effect of a recent change to GeoNode. When this will be fixed you should only get layers. |
@giohappy just to point this out. Within Mapstore2 the CSW catalog using this URL https://gs-stable.geo-solutions.it/geoserver/csw?service=CSW&version=2.0.2&request= returns empty response on applying the filter So in conclusion for Mapstore2 this filter works okay |
I see @MuhweziDeo. |
@giohappy With the latest fixes in the stable branch. Currently, all the responses are being returned without the non-layers. I applied the new filter but with or without the responses returned only have layer data. I believe no further is required even on https://master.demo.geonode.org/maps/1855/view#/ the responses only have layers from the catalog. |
Yes @MuhweziDeo that's expected, since with a normal configuration GeoNode's CSW only returns layers. BTW there are contexts where services are also returned. |
Okay @giohappy Should we proceed to close this issue without any further action |
Probably I didn't explain myself clearly @MuhweziDeo. |
okay |
@MuhweziDeo We should make a PR to geonode-mapstore-client branch 2.1.x with the MapStore2 submodule updated pointing to branch geonode-mapstore-client-2.1.x as soon as this fix has been backported and merged on the branch geonode-mapstore-client-2.1.x of MapStore2 |
…e submodule (#185) * rename permissionsList to perms * update submodule to include csw filter for layer * update submodule to include unique interval classification in visual style editor
Services and maps are going to be exposed by the CSW catalogue.
To avoid listing these resources inside the MapStore client catalog a filter must be always included:
This must be positioned after
csw:ElementSetName
elementThe expected results in catalog should be only layers (dc:type equal to dataset) but currently other resources are visible.
Below screenshot of the current Catalog showing resources different from layers.
Note: This issue needs to be fixed on MapStore first probably so we should do a quick investigation to understand which part of the code need to be fixed.
The text was updated successfully, but these errors were encountered: