Occasionally you will have trouble connecting to a WMS service; here is how to enable tracing.
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
org.locationtech.udig.catalog.wms/debug=true
org.locationtech.udig.catalog.wms/debug/request=true
C:\Program Files\uDig\1.1\eclipse
Now when you restart uDig additional messages will be added to your log. These messages show the Requests sent to the WMS service.
Check the log for tracing information
When connecting to the JPL server and choosing the blue marble layer the following trace was produced:
!ENTRY org.locationtech.udig.catalog.internal.wms 4 0 2008-09-05 08:26:15.561
!MESSAGE GetCapabilities: `http://wms.jpl.nasa.gov/wms.cgi?REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS`_
!ENTRY org.locationtech.udig.catalog.internal.wms 4 0 2008-09-05 08:26:24.781
!MESSAGE GetMap: `http://wms.jpl.nasa.gov/wms.cgi?SERVICE=WMS&LAYERS=BMNG&EXCEPTIONS=application/vnd.ogc.se\_xml&FORMAT=image/png&HEIGHT=357&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=-180.0,-90.0,180.0,90.0&WIDTH=714&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1 <http://wms.jpl.nasa.gov/wms.cgi?SERVICE=WMS&LAYERS=BMNG&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=357&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=-180.0,-90.0,180.0,90.0&WIDTH=714&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1>`_
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.
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:
The uDig will enter into “version negotiation” with the server using the above information.
You can either review the application logs located (from the about udig screen); or start the application from the command line with:
udig.app/Contents/MacOS/udig_internal -consoleLog
Related tasks