Announcement

Collapse
No announcement yet.

Worldwind is making URL getMap requests using an invalid WMS version.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Worldwind is making URL getMap requests using an invalid WMS version.

    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";

  • #2
    Thanks for pointing this out. We've created an issue for it and plan to fix it within the next few days: http://issues.worldwind.arc.nasa.gov...browse/WWJ-454. We'll post here when we do. The fix is easy, but we need to do a lot of testing to make sure it doesn't break interactions with other servers.

    Comment


    • #3
      This problem has been fixed. The fix will be in the nightly release, and in the public subversion repository in about 15 minutes.

      Comment

      Working...
      X