I am running Cesium in sandbox, and trying to access wms layers from geoserver I am running locally on a virtual machine but having trouble returning the wms data.
The request hits the tile image, but I think nothing is being returned, or there is some issue with processing the data on the way back when trying to be processed in Cesium.
- the response headers: Access-Control-Allow-Origin:* Connection:keep-alive Content-Type:application/vnd.ogc.se_xml;charset=UTF-8 Date:Mon, 10 Aug 2015 19:46:08 GMT Server:nginx Strict-Transport-Security:max-age=31536000; includeSubdomains; Transfer-Encoding:chunked X-Frame-Options:SAMEORIGIN X-XSS-Protection:1; mode=block
how do i interpret the type: vnd.ogc.se_xml ?
the errors are: An error occurred in "WebMapServiceImageryProvider": Failed to obtain image tile X: N Y: N Level: N.
The relevant code is as follows:
var viewer = new Cesium.Viewer('cesiumContainer');
var provider = new Cesium.WebMapServiceImageryProvider({ url: 'url_to_wms_server', layers : 'layer_name' }); viewer.imageryLayers.addImageryProvider(provider);
any idea what's going wrong or what to change?
also, when i change the version to 1.3.0, the response type is text/xml but the url does not hit an image when i check.
Service Exception Report XML shall be valid according to the Service Exception DTD in Annex A.3. In an HTTP environment, the MIME type of the returned XML shall be "application/vnd.ogc.se_xml".
srs=epsg:4326&
tocrs=CRS:84&
, for your map to work in Cesium