When world wind makes getMap requests it is using a WMS version = 1.3 that is invalid. Based on the specification http://portal.opengeospatial.org/fil...ifact_id=14416 the correct URL request must use version=1.3.0 instead of 1.3. My customer has a custom WMS server that is rejecting World wind getMap requests because of this issue with the invalid version.
Fix:
In Worldwind 2.0:
Go to line 160 of the gov/nasa/worldwind/terrain/BasicElevationModel class and make the following change:
protected static final String MAX_VERSION = "1.3";
to
protected static final String MAX_VERSION = "1.3.0";
Go to line 159 of the gov/nasa/worldwind/wms/WMSTileImageLayer class and make the following change:
protected static final String MAX_VERSION = "1.3";
to
protected static final String MAX_VERSION = "1.3.0";
Fix:
In Worldwind 2.0:
Go to line 160 of the gov/nasa/worldwind/terrain/BasicElevationModel class and make the following change:
protected static final String MAX_VERSION = "1.3";
to
protected static final String MAX_VERSION = "1.3.0";
Go to line 159 of the gov/nasa/worldwind/wms/WMSTileImageLayer class and make the following change:
protected static final String MAX_VERSION = "1.3";
to
protected static final String MAX_VERSION = "1.3.0";
Comment