Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: v5.1.1.0
    • Fix Version/s: v5.2.0
    • Labels:
      None

      Description

      As requested in https://github.com/MapWindow/MapWinGIS/issues/44

      I have got my application working well against 2 WMS services. One of the issues I came across was that the 1 WMS system needed an extra parameter passed to it. So a GetCapabilities would look like this:

      http://506CMR/WMS/wms.asp?WMS=WorldMap&WMTVER=1.0.0&REQUEST=GetCapabilities

      I needed the WMS=WorldMap parameter passed always. There is no way to do this in the current version of MapWinGIS because the base URL is always appended with a "?" and then GetCapabilities or GetMap etc. Then you get 2x "?" in the URL that goes to the WMS and it fails. So currently the base URL cannot contain any parameters of its own.

      As a suggestion why don't you check if there is already a "?" in the base URL and then if it is present then use a "&" with GetCapabilities or GetMap for the extra parameters. So then my base URL would be:

      http://506CMR/WMS/wms.asp?WMS=WorldMap

        Attachments

          Activity

            People

            • Assignee:
              admin Paul Meems
              Reporter:
              admin Paul Meems
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: