Open seanh opened 9 years ago
To install Belgian WMS preview.
A few things that have been picked up:
1. The preview doesn’t always load in; however an F5 (or a Ctrl + F5) sometimes fixes
2. Seem to always get a JavaScript error: qa.js:1 Uncaught TypeError: undefined is not a function
https://salforddataquay.uk/js/vendor/openlayers2/img/layer-switcher-maximize.png 404 (Not Found)
5. Is it possible to use the WMS GetFeatureInfo function as on DGU (see screen cap below)?
1 The preview doesn’t always load in; however an F5 (or a Ctrl + F5) sometimes fixes
I can't reproduce it I'm afraid. It's worth noting that the map is built doing a GetCapabilities
request to the remote WMS server, which is proxyed through CKAN, so if there are connectivity or timeout issues there might be problems with rendering the viewer.
2 Seem to always get a JavaScript error: qa.js:1 Uncaught TypeError: undefined is not a function
That was caused by an unrelated extension, it's now fixed
3 Also noted a couple of 404 for some icon image files https://salforddataquay.uk/js/vendor/openlayers2/img/layer-switcher-minimize.png 404 (Not Found)
Fixed now
4 The first “Overlay” in the list is always selected “On”, could this be changed?
I've added this functionality now, see eg:
5 Is it possible to use the WMS GetFeatureInfo function as on DGU (see screen cap below)?
It is, but it would require significant development time :) So not supported out of the box right now.
Only query is on number 4, on the link provided (https://salforddataquay.uk/dataset/land-and-property-assets/resource/d782dc08-b5b5-4719-9d7a-13f6795ec596) the “Minerals DPD Datasets” is still always “switched on” on load.
Can we do anything about that.
@jobarratt sorry, I misinterpreted the original issue on 4. Yes, we can turn off the overlays by default, but it would require some work to pass config options to the viewer (~1 hour work should be all right)
We need to set this so that the overlays are turned off by default.
Find out what spatial metadata and features Salford's datasets on DGU are using, import the data into the Salford site and install ckanext-spatial to enable the spatial features