Dashboard > Users Guide > Tasks > Support > Tracing WMS Calls

View Attachments (0) Info

Tracing WMS Calls

Occasionally you will have trouble connecting to a WMS service; here is how to enable tracing.

Traceing WMS Requests

  1. Please use the the provided .options File. The ".options" file should be dropped into you uDig folder to enable additional tracing information.
    • Create the following file:
      .options
      #Master Tracing Options
      #Tue Aug 05 14:56:31 PDT 2008
      net.refractions.udig.catalog.wms/debug=true
      net.refractions.udig.catalog.wms/debug/request=true
      
    • Place it in your uDig folder (next to your udig.exe file):
      C:\Program Files\uDig\1.1\eclipse
  2. Now when you restart uDig additional messages will be added to your log. These messages show the Requests sent to the WMS service.
  3. Check the log for tracing information

Example Tracing Information

When connecting to the JPL server and choosing the blue marble layer the following trace was produced:

The URLs mentioned during tracing can be cut and pasted into a browser to verify an error message, or see the same image that uDig displayed.

Trouble Shooting a WMS Server

Please keep the following in mind when connecting to a WMS. The URL you provide should be a valid GetCapabilities URL with the following elements:

  • REQUEST=GetCapabilities: his is actually a requirement; uDig will supply it for you if needed.
  • SERVICE=WMS: this is also a requirement - many servers speak several protocols
  • VERSION=X.X.X: this is version of the WMS protocol you would like to use

The uDig will enter into "version negotiation" with the server using the above information.

  1. uDig will will request the GetCapabilities document with the above information
  2. The server will respond with a valid capabilities document that contains the "closest" version number the server can produce.
  3. Based on this response uDig may
    • Connect and ask you to choose a layer; or
    • Change the VERSION and try again ...

View Error Log and Configuration Details


Browse Space
- Pages
- Labels
- Attachments
- Mail
- Bookmarks
- News
- Activity
- Advanced

Explore Confluence
- Popular Labels
- Notation Guide

Your Account
Log In

or Sign Up  

Other Features

View a printable version of the current page.

Add Content


Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki.
Bug/feature request - Contact administrators

User-friendly Desktop Internet GIS