Open MapInfo Professional

WMS Table

Note the additional Image Format that has come from MapServer (mode=24bit)

Our Map Sources are WMS and WFS compatible but MapInfo has a tough time of connecting to them; our best guess is some sort of MapInfo patch. Anyhow, the trick is to create the WMS connection as normal and then modify the XML. The original XML file looked like this:


<MI_WMS_MapDefinition version="1.0" wms_version="1.3.0">
<HTTP GetCapabilities="http://inspire.my_council.gov.uk/getows.ashx?mapsource=MyCouncil/Inspire" 
GetMap="http://inspire.my_council.gov.uk/getows.ashx?mapsource=MyCouncil/Inspire&amp;"/>
<Exception format="XML"/>
<SRS>EPSG:27700</SRS>
<Image bgcolor="16777215" transparent="true" format="image/png"/>
<Layer><Name>Overlays</Name><Style></Style><LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90"/><BoundingBox SRS="EPSG:27700" minx="410000" miny="180000" maxx="500000" maxy="210000"/>
</Layer>
</MI_WMS_MapDefinition>


The new one looks like this:


<MI_WMS_MapDefinition version="1.0" wms_version="1.3.0">
<HTTP GetCapabilities="http://inspire.my_council.gov.uk/getows.ashx?mapsource=MyCouncil/Inspire&SERVICE=WMS" GetMap="http://inspire.my_council.gov.uk/getows.ashx?mapsource=MyCouncil/Inspire&SERVICE=WMS"/>
<SRS>EPSG:27700</SRS>
<Image bgcolor="16777215" transparent="true" format="image/png"/>
<Layer><Name>Overlays</Name><Style></Style><LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90"/><BoundingBox SRS="EPSG:27700" minx="410000" miny="180000" maxx="500000" maxy="210000"/>
</Layer>
</MI_WMS_MapDefinition>


As you can see we have added SERVICE=WMS to the two URLs and removed the Exception format line.



Example

WFS Table

Example