Trouble returning wms tile in Cesium, from geoserver, vnd.ogc.se_xml

المشرف العام

Administrator
طاقم الإدارة
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.

ex: the request url: https://192.168.99.100/geoserver/ge...:4326&bbox=-180,0,-90,90&width=256&height=256

reaches an image/tile:

  • the response headers:Access-Control-Allow-Origin:*Connection:keep-aliveContent-Type:application/vnd.ogc.se_xml;charset=UTF-8Date:Mon, 10 Aug 2015 19:46:08 GMTServer:nginxStrict-Transport-Security:max-age=31536000; includeSubdomains;Transfer-Encoding:chunkedX-Frame-Options:SAMEORIGINX-XSS-Protection:1; mode=block
how do i interpret the type: vnd.ogc.se_xml ?

the associated xml I believe is this:

java.lang.NumberFormatException: For input string: "256:"For input string: "256:"
  • 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: 'https://192.168.99.100/geoserver/geonode/wms', layers : 'ne_50m_airports'});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.



أكثر...
 
أعلى