Setting HTML as Preferred GetFeatureInfo Format - 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

You can specify that the preferred format for GetFeatureInfo is HTML, provided the format is supported by the server. MapInfo Pro will launch the returned HTML data using the default Browser on your system. This data is formatted by the server in a manner that may be easier to read compared to the data in the Info tool.

MapBasic Syntax

You must enter a MapBasic command in the MapBasic window after the WMS table is created to specify that HTML is the preferred format when using the Info tool.

Set Table tablename Info Tool Prefer HTML { On | Off }
Note: The table must be of type WMS.

Specify On to make the preferred format HTML. Specify Off to return the default behavior.

Note: Changing the table setting to Prefer HTML On does not guarantee that the HTML format will be used. The WMS server must support this format.

This command will change the XML associated with the .TAB file for this WMS server. This is a one time task as long as you continue to use the file.