Troubleshooting the ArcMap OGC Interoperability Add-on - GIS Tutorial
Troubleshooting the ArcMap OGC Interoperability Add-on

Summary

This document is a list of frequently asked questions and error articles that can be used to answer and troubleshoot common ArcMap OGC Interoperability add-on issues.

Topics

  • Why am I unable to see features of layers that are checked on in the table of contents?
    Web Map Service (WMS) and Web Feature Service (WFS) servers often host data that is only visible at certain scales. There are situations where ArcMap does not know a layer’s visible scale range. If the scale range is unknown, the layer’s visibilit...
  • Can ArcReader read PMF files that were created from a MXD file that contains references to WMS, WFS, or GML data?
    No. ArcReader does not support Web Map Service (WMS), Web Feature Service (WFS), or Geography Markup Language (GML) layers. These layers can be added to ArcMap using the ArcGIS OGC Interoperability Add-on.
  • Can an .MXD file that contains references to WMS, WFS, or GML data be published in an ArcMap Image Service?
    ArcMap Server does not support Web Map Service (WMS), Web Feature Service (WFS), or Geography Markup Language (GML) layers that are added to ArcMap using the OGC Interoperability Add-on for ArcGIS 8.3.
  • How does the ArcMap Interoperability Add-on handle projections or Spatial Reference Systems?
    Web Map Service (WMS) or Web Feature Service (WFS) layers are requested using the Spatial Reference System (SRS) code for the first ArcMap-supported coordinate system it finds in the GetCapabilties response. This SRS code is used when requesting d...
  • How does the ArcMap Interoperability Add-on handle projections or Spatial Reference Systems?
    Web Map Service (WMS) or Web Feature Service (WFS) layers are requested using the Spatial Reference System (SRS) code for the first ArcMap-supported coordinate system it finds in the GetCapabilties response. This SRS code is used when requesting d...
  • Why does the ArcMap status bar display “The server has not yet responded to your request… click Cancel to interrupt and try again”?
    This message displays after ArcMap has waited for 30 seconds for a GetCapabilities response from a Web Map Service (WMS) or Web Feature Service (WFS) server. ArcMap continues to wait for a response if Cancel is not clicked. The message persists...
  • DOQ Target Resolution ‘0’ cannot be less than 1 meter per pixel
    Viewing the USGS Digital Ortho-Quadrangles layer from Microsoft’s Web Map Service (WMS) (http://terraserver.microsoft.com/ogccapabilities.ashx?) returns the error: “DOQ Target Resolution ‘0’ cannot be less than 1 meter per pixel”
  • DRG Target Resolution ‘0’ cannot be less than 2 meter per pixel
    Viewing the USGS Raster Graphics Topo Maps layer from Microsoft’s Web Map Service (WMS) server (http://terraserver.microsoft.com/ogccapabilities.ashx?) returns the error: “DRG Target Resolution ‘0’ cannot be less than 2 meter per pixel”
  • Can ArcMap edit WMS, WFS, or GML layers?
    No. However, Web Feature Service (WFS) or Geography Markup Language (GML) layers can be saved to a shapefile or geodatabase, and these can be edited.
  • Enable Logging for Requests Sent to WMS Servers
    When logging is enabled, HTTP requests that the OGC Interoperability Add-on generates and sends to Web Map Service (WMS) servers are printed to the corresponding log files: - When clicking Get List, a GetCapabilities request is sent to the ser...
  • What does 'logging' allow?
    If logging is enabled, the requests that the Add-on generates and sends to WMS servers are printed to the corresponding log file: - When clicking Get List, a GetCapabilities request is sent to the server, these requests are printed to the Get...
  • Unable to read GML file
    While loading a layer from an ArcIMS Web Feature Service (WFS) using the WFS Connector for ArcIMS, the following error message is returned: "Unable to read GML file"
  • Why can’t I use the Select Features tool to select features from a WMS layer?
    Web Map Service (WMS) layers are raster layers. ArcMap does not support selection sets on raster layers. In addition, the WMS specifications do not include selection requests.
  • Unable to read GML file
    When adding a Geography Markup Language (GML) file to ArcMap, the following error message occurs: “Unable to read GML file”

FAQ:  Can ArcMap edit WMS, WFS, or GML layers?

Answer

No. However, Web Feature Service (WFS) or Geography Markup Language (GML) layers can be saved to a shapefile or geodatabase, and these can be edited.

 

Error:  DRG Target Resolution ‘0’ cannot be less than 2 meter per pixel

Error Message

Viewing the USGS Raster Graphics Topo Maps layer from Microsoft’s Web Map Service (WMS) server (http://terraserver.microsoft.com/ogccapabilities.ashx?) returns the error:
“DRG Target Resolution ‘0’ cannot be less than 2 meter per pixel”

Cause

This error displays at the layer’s full extent and indicates that ArcMap is zoomed out too far to view the layer.

Solution or Workaround

Zoom to at least 1:10,000,000 and completely within the bounds of the U.S. to avoid errors.

 

Error:  DOQ Target Resolution ‘0’ cannot be less than 1 meter per pixel

Error Message

Viewing the USGS Digital Ortho-Quadrangles layer from Microsoft’s Web Map Service (WMS) (http://terraserver.microsoft.com/ogccapabilities.ashx?) returns the error:
“DOQ Target Resolution ‘0’ cannot be less than 1 meter per pixel”

Cause

This error displays at the layer’s full extent and indicates that ArcMap is zoomed out too far to view the layer.

Solution or Workaround

Zoom to at least 1:10,000,000 and completely within the bounds of the U.S to avoid errors.

FAQ:  Why does the ArcMap status bar display “The server has not yet responded to your request… click Cancel to interrupt and try again”?

Answer

This message displays after ArcMap has waited for 30 seconds for a GetCapabilities response from a Web Map Service (WMS) or Web Feature Service (WFS) server. ArcMap continues to wait for a response if Cancel is not clicked.

The message persists if you connect to the Internet using an authenticating proxy server and you list layers from a WMS server that performs a server-side redirect. This is a proxy server limitation.

Two examples of WMS servers that do server-side redirects are:

- http://www.cubewerx.com/demo/cubeserv/cubeserv.cgi?
- http://www.mapinfo.com/miwms?

 

FAQ:  How does the ArcMap Interoperability Add-on handle projections or Spatial Reference Systems?

Answer

Web Map Service (WMS) or Web Feature Service (WFS) layers are requested using the Spatial Reference System (SRS) code for the first ArcMap-supported coordinate system it finds in the GetCapabilties response. This SRS code is used when requesting data. If the ArcMap data frame is in a coordinate system that differs from the coordinate system of the requested data, ArcMap reprojects the data on the fly. When WMS data is reprojected, its reprojected image can appear grainy and warped. WFS and GML layers display more clearly when reprojected by ArcMap because they are vector based layers.

 

FAQ:  How does the ArcMap Interoperability Add-on handle projections or Spatial Reference Systems?

Answer

Web Map Service (WMS) or Web Feature Service (WFS) layers are requested using the Spatial Reference System (SRS) code for the first ArcMap-supported coordinate system it finds in the GetCapabilties response. This SRS code is used when requesting data. If the ArcMap data frame is in a coordinate system that differs from the coordinate system of the requested data, ArcMap reprojects the data on the fly. When WMS data is reprojected, its reprojected image can appear grainy and warped. WFS and GML layers display more clearly when reprojected by ArcMap because they are vector based layers.

 

FAQ:  Can an .MXD file that contains references to WMS, WFS, or GML data be published in an ArcMap Image Service?

Answer

ArcMap Server does not support Web Map Service (WMS), Web Feature Service (WFS), or Geography Markup Language (GML) layers that are added to ArcMap using the OGC Interoperability Add-on for ArcGIS 8.3.

 

FAQ:  Can ArcReader read PMF files that were created from a MXD file that contains references to WMS, WFS, or GML data?

Answer

No. ArcReader does not support Web Map Service (WMS), Web Feature Service (WFS), or Geography Markup Language (GML) layers. These layers can be added to ArcMap using the ArcGIS OGC Interoperability Add-on.

 

FAQ:  Why am I unable to see features of layers that are checked on in the table of contents?

Answer

Web Map Service (WMS) and Web Feature Service (WFS) servers often host data that is only visible at certain scales. There are situations where ArcMap does not know a layer’s visible scale range. If the scale range is unknown, the layer’s visibility checkbox is checked and not grayed out in the table of contents, but the layer only displays on the map when the map is zoomed to a valid scale. Either zoom around the map until the layer in question displays, or contact the service provider to obtain the visible scale ranges.

 

Error:  Adding a Geography Markup Language file to ArcMap returns 'Unable to read GML file'

Error Message

When adding a Geography Markup Language (GML) file to ArcMap, the following error message occurs:

“Unable to read GML file”

Cause

The ArcGIS OGC Interoperability Add-on supports the ESRI GML profile, and is a subset of the GML 2.1.2 specification. The file being loaded includes elements unsupported by the ESRI GML profile.

Solution or Workaround

Load only GML files that support the ESRI GML profile.

 

FAQ:  Why can’t I use the Select Features tool to select features from a WMS layer?

Answer

Web Map Service (WMS) layers are raster layers. ArcMap does not support selection sets on raster layers. In addition, the WMS specifications do not include selection requests.

 

Error:  Unable to read GML file

Error Message

While loading a layer from an ArcIMS Web Feature Service (WFS) using the WFS Connector for ArcIMS, the following error message is returned:

"Unable to read GML file"

Cause

The layer ID in the WFS service’s AXL file is a numeric value, for example: 0, 1, 2.

Solution or Workaround

Change the layer ID in the AXL file to a non-numeric value and refresh the map service. The layer now loads into ArcMap.

 

FAQ:  What does 'logging' allow?

Answer

If logging is enabled, the requests that the Add-on generates and sends to WMS servers are printed to the corresponding log file:

- When clicking Get List, a GetCapabilities request is sent to the server, these requests are printed to the GetCapabilities.log file.

- When clicking Add Data, a GetMap request is sent to the server, so these requests get printed to the GetMap.log file.


Technical Article GetMap requests are also sent and logged every time you navigate a map that has a WMS layer in it.

- When identifying features from a WMS layer, a GetFeatureInfo request is sent to the server, these request are printed to the GetFeatureInfo.log file.

- If problems occur with a particular WMS server or layer, a troubleshooting technique is to copy these requests into a Web browser. All requests to WMS servers return data in either xml, html, or plain text format, so the response that comes back can be displayed directly in the browser. Each request is time-stamped, and new requests are appended to the end of the log files.

 

Error:  Adding a Geography Markup Language file to ArcMap returns 'Unable to read GML file'

Error Message

When adding a Geography Markup Language (GML) file to ArcMap, the following error message occurs:
“Unable to read GML file”

Cause

The ArcGIS OGC Interoperability Add-on supports the ESRI GML profile, and is a subset of the GML 2.1.2 specification. The file being loaded includes elements unsupported by the ESRI GML profile.

Solution or Workaround

Load only GML files that support the ESRI GML profile.

 

HowTo:  Enable Logging for Requests Sent to WMS Servers

Summary

When logging is enabled, HTTP requests that the OGC Interoperability Add-on generates and sends to Web Map Service (WMS) servers are printed to the corresponding log files:

- When clicking Get List, a GetCapabilities request is sent to the server. Requests are printed to the GetCapabilities.log file.

- When clicking Add Data, a GetMap request is sent to the server. Requests are printed to the GetMap.log file.

Enable Logging for Requests Sent to WMS Servers GetMap requests are also sent and logged every time a navigation operation is performed in a map that contains a WMS layer.

- When identifying features from a WMS layer, a GetFeatureInfo request is sent to the server. Requests are printed to the GetFeatureInfo.log file.

If problems occur with a particular WMS server or layer, a troubleshooting technique is to copy these requests into a Web browser. All requests to WMS servers return data in xml, html, or plain text format, so the response can be displayed directly in the Web browser. Each request is time-stamped and new requests are appended to the end of the log files.

Procedure

  1. Open the log_conf.xml file in a text editor. The log_conf.xml file is located in C:\arcgis\arcexe83\bin\InteroperabilityExtension.
  2. Change the log_mode value to 'on'.


    Log files are written to the C:\arcgis\arcexe83\bin\InteroperabilityExtension\ directory. Change this directory by setting a value for the Logfile_directory setting in the log_conf.xml file.
  3. Save the file.
  4. Restart ArcMap for the changes to register.

Source: http://resources.arcgis.com