MapInfo Pro

 View Only
  • 1.  Error message when trying to access Mapping (WMS) Server

    Posted 09-26-2017 02:57
      |   view attached

    Hi,

    Today I have been trying to use the Mapping (WMS) but keep getting this error message. Even if I click OK or the X, as soon as I try to do anything it comes back. It also causes my program to not respond and crash. What do I do to fix this?See Attachment?



  • 2.  RE: Error message when trying to access Mapping (WMS) Server

    Posted 09-25-2017 23:01
      |   view attached

    I get this one first when I try to Open WMS Mapping See Attachment ?



  • 3.  RE: Error message when trying to access Mapping (WMS) Server

    Employee
    Posted 09-26-2017 05:01

    @Jemima Bargery?, can you share the link to the GetCapabilities document (that is the link you used when setting up access to the server in the first place)?

    Are you using it from MapInfo Pro? If so, what version?

    One thin worth trying is to remove the first "request=GetCapabilites" string from the URL. As you can see it is there twice in the request. MapInfo Pro prefers to add that parameter to the URL itself so you do not have to do it.



  • 4.  RE: Error message when trying to access Mapping (WMS) Server

    Posted 09-26-2017 18:51

    Hi Peter,

    I am using MapInfo Pro Version 16.0.2.

    The link I am trying to use is the NSW Imagery link which I have successfully connected too before. I used to have it along with others all saved in WMS but must have lost these when upgrading to newer versions. The Link is http://maps.six.nsw.gov.au/arcgis/services/public/NSW_Base_Map/MapServer/WmsServer?

     

    As soon as I open MapInfo the following happens.

    1. I click on WMS
    2. MapInfo goes through some temporary "Not Responding"
    3. The following error appears
    4. See Attachment
    5.  
    6. I press OK
    7. It still launches the WMS Table
    8. I click servers... I add the above link and click TEST URL
    9. MapInfo goes through "Not Responding" again
    10. I receive this error.
    11.   See Attachment

    Even when I try to change the WMS Server to the default Pitney Bowes Software Global WMS Server I still get errors

    See Attachment

     



  • 5.  RE: Error message when trying to access Mapping (WMS) Server

    Employee
    Posted 09-27-2017 02:15

    Hi,

    I had a play with it and managed to get it working using this URL in the WMS Server Information dialog: http://maps.six.nsw.gov.au/arcgis/services/public/NSW_Base_Map/MapServer/WmsServer

    See Attachment

    So you need to modify the server information for this WMS server and you will probably also have to overwrite the table(s) that you have created connecting to the server.

    The map I got from the service looks like this:

    See Attachment



  • 6.  RE: Error message when trying to access Mapping (WMS) Server

    Posted 01-22-2018 00:10
      |   view attached

    Thanks Jemima for asking the question and Thanks Peter for answering it.

    Further to this I just thought I'd add that the QSpatial (The DNRM for Queensland , Australia) uses the following link that doesn't work with MapInfo (12.0):

    https://gisservices.information.qld.gov.au/arcgis/services/Economy/MinesPermitsCurrent/MapServer/WMSServer?request=GetCapabilities&service=WMS

    This WMS URL link does work though:

    https://gisservices.information.qld.gov.au/arcgis/services/Economy/MinesPermitsCurrent/MapServer/WMSServer

    Saved me some grief, I hope it saves others.

     

    I do have a question though:Is there a way to select multiple layers or All layers in one "Add>>"

    See Attachment

     

    Cheers,

    Nick



  • 7.  RE: Error message when trying to access Mapping (WMS) Server

    Employee
    Posted 01-23-2018 02:00

    Hi Nicholas

    This might a good candidate for an improvement idea for MapInfo Pro.

    You can't currently select multiple layers in the list and then add all these with a single click.

    You can however double click on the individual layers and in this way move them wihtout using the "Add>>" button.



  • 8.  RE: Error message when trying to access Mapping (WMS) Server

    Posted 01-23-2018 17:10

    Thanks Peter,

    That's a bit faster.

    I look forward to those improvements.

    Cheers,

    Nick



  • 9.  RE: Error message when trying to access Mapping (WMS) Server

    Posted 05-08-2018 22:19

    Folks,

    I might have something to add after similar struggling. I'm using a much older version of Mapinfo but i believe the issue may be the same.

    When you configure a connection in Mapinfo and access data a temporary table is created. Along with this is an XML file with the connection parameters.

    When I opened the XML for this service I found two issues. Below is an image highlighting the issues.

    You will note the the line highlighted in blue describes a "superset" bounding box e.g. the entire world from long -180 to 180 and lat -90 to 90. Note well the Mapinfo standard order of X=Longitude and Y=Latitude.

    Now note the Bounding box for the data extent. See a problem? You may notice the second bounding box is defined X=Latitude and Y=Longitude. Mapfnfo will not recognise this order and subsequently not display anything.

    I manually edited these values just by swapping the X and Y values in the XML and saving. Opening the TAB file directly, not via the WMS menu, then displays the data. I don't know if this a Mapinfo issue but my suspicion is it's a WMS service configuration issue as the Superset bounding box is correctly defined.

    Also note i modified the version of the WMS service to 1.1 rather than 1.3. I've had some issues with published versions not matching the published data. This may or may not affect the result.

    Before See Attachment

    After

    See Attachment



  • 10.  RE: Error message when trying to access Mapping (WMS) Server

    Employee
    Posted 05-09-2018 03:22

    Thank you for your input, @Andrew Williams? !

    That's a very good point and the "problem" is related to the OGC standard where they at some point decided to allow the reversed order of Lat/Long coordinates - or maybe they decided that they earlier had used the lat/long in a reversed order and therefor tried to fixed this.

    This can for sure lead to problems. We added a fix to this in one of the later versions of MapInfo Pro where you will see a checkbox where you can see if the order is reversed.

    Thanks for the work around!