Setting the WMS Server Preferences - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Help
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:39:16.995549

MapInfo Pro has software preferences that let you:

  • Set the default WMS timeout values (in seconds) for the WMS servers you use.
  • Set the maximum number of pixels (in width/height) that a map request is limited to.

You can set default values for a specific WMS server in the Override Timeout Values and GetMap Pixel Limits sections of the WMS Server Information dialog box.

To set your WMS Server preferences:

  1. On the PRO tab, click Options, and Web Services to open the Web Services Preferences dialog box.
  2. On the WMS tab, set your WMS timeout values:
    • Connect Timeout - Use this setting to indicate the amount of time to establish an Internet connection to the service. If the request takes longer than this value, a timeout occurs. The default connect time out is 60 seconds.
    • Send Timeout - Use this setting to indicate the amount of time to send an Internet request to the service. If the request takes longer than this value, a timeout occurs. The default send time out is 60 seconds.
    • Receive Timeout - Use this setting to indicate the amount of time begin to receive a response from a request to the service. The download can take longer than the time out, but the response has to occur within the timeout setting. The default receive time out is 300 seconds.
  3. Set your GetMap pixel limits:
    • Max Width - Max Width specifies the maximum number of pixels for a GetMap request in the X direction.
    • Max Height - Max Height specifies the maximum number of pixels for a GetMap request in the Y direction.

    The GetMap request is designed to retrieve the highest resolution map image as is necessary to render the image on the screen, for a printer, or for an export file. This option prevents the request from going higher than the specified values. Different servers have different limits, so you can set the limit that works best for your environment.

    Note: You can also use this option to shorten the WMS map retrieval time, but remember that the resulting image will display at a lower resolution.
  4. Click Servers to open the WMS Servers List dialog box, where you can add, edit, and delete WMS servers.
  5. Click OK to close the dialog and save your settings.

Unfortunately, servers do not report their limits to us, so if the GetMap request fails, it means that you have entered a value that is too large. There are large GetMap requests when you are printing or exporting windows containing WMS images. This happens because printing and exporting occurs at larger sizes and/or higher resolutions than on-screen display requires.

See Also:

Setting Your Directory Preferences