Hi,
I'm trying to integrate some Copernicus open data in Cesium but my attempt failed so far.
This is the data I want to use : http://marine.copernicus.eu/web/69-myocean-interactive-catalogue.php?option=com_csw&view=details&product_id=GLOBAL_ANALYSIS_FORECAST_PHYS_001_002
See services for WMS access, here is the capabilities : http://atoll.mercator-ocean.fr/opendap-mercator-myocean/thredds/wms/global-analysis-forecast-phys-001-002?version=1.3.0&request=GetCapabilities&service=WMS
I'm not very accointed with WMS service, so I might do thing the wrong way, but here what looks like my code :
var viewer = new Cesium.Viewer('cesiumContainer');
// Add a WMS imagery layer
var imageryLayers = viewer.imageryLayers;
imageryLayers.addImageryProvider(new Cesium.WebMapServiceImageryProvider({
url : ‘http://atoll.mercator-ocean.fr/opendap-mercator-myocean/thredds/wms/global-analysis-forecast-phys-001-002’,
layers : ‘temperature’,
parameters : {
version : ‘1.3.0’,
format : ‘image/png’,
CRS : ‘EPSG:4326’
}
}));
So here is what would look like one request :
If you try it, you'll see the image corectly in your browser.
But Cesium does not want to load it.
The network developer tab of firefox indicate a '200 OK' response from these requests, but when I hover my mouse over it I have something that say "impossible to load the image", and no thumbnails.
Any hint why this is not working properly ?
Thanks
Olivier