magda-io / magda

A federated, open-source data catalog for all your big data and small data
https://magda.io
Apache License 2.0
496 stars 93 forks source link

Map Preview freeze when process (ill-formatted) CSIRO Marlin GeoServer WMS URLs #3458

Closed t83714 closed 1 year ago

t83714 commented 1 year ago

Describe the bug

Map Preview freeze when process (ill-formatted) CSIRO Marlin GeoServer WMS URLs.

https://uprgade-csw-connector.dev.magda.io/api/v0/registry/records/ds-marlin-c3e1e8d0-ea59-4053-b356-f5746ae224ed?optionalAspect=dcat-dataset-strings&optionalAspect=dcat-distribution-strings&optionalAspect=dataset-distributions&optionalAspect=formats&dereference=true

 dcat-distribution-strings: 
{
            accessURL: "https://www.cmar.csiro.au/geoserver/wms?&CQL_FILTER=SURVEY_NAME%20%3D%20%27KIM197105%27",
            description: "Hydrology data for Kimbla Voyage KIM 5/71",
            format: "OGC:WMS-1.3.0-http-get-map",
            title: "mnf:HYDROLOGY_HEADER_AODN_VIEW"
 },

Need to investigate the followings:

Correct URL should be:

https://www.cmar.csiro.au/geoserver/wms?CQL_FILTER=SURVEY_NAME%20%3D%20%27KIM197105%27&service=WMS&version=1.3.0&request=GetCapabilities&layer=mnf:HYDROLOGY_HEADER_AODN_VIEW

t83714 commented 1 year ago

closed via PR: https://github.com/magda-io/magda/pull/3459 & https://github.com/magda-io/magda-preview-map/pull/20