Closed t83714 closed 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
closed via PR: https://github.com/magda-io/magda/pull/3459 & https://github.com/magda-io/magda-preview-map/pull/20
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
?&
in the urlNeed 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