MapInfo Pro

 View Only
  • 1.  public data sets

    Posted 20 days ago

    Many maps are publicly available in the Netherlands as a webservice or as a dataset.

    When trying to use a webservice, WMS, WFS, or WMTS results in a message : The service issued the following exception: Missing key SERVICE.

    It is not clear where an by whom this meaasge is generateb, but it carries a mapinfo label.

    I contacted the provider PDOK.nl a]n thris position is that it looks like a plugin of Mapinf and they refer us to you.

    I raised this point before; the funny thing is it has worked; since I try to use this service irregulary I cannot  be specifis as to when this stopped,

    PDOK.nl van be reached globally; I would extremely grateful if anyone could try to replicate this. Hopefully followed by a solution.



    ------------------------------
    Ad van Ooststroom
    Bergen op Zoom, NL
    ------------------------------


  • 2.  RE: public data sets

    Employee
    Posted 20 days ago

    Hey Ad

    Are you using a Service that comes included in MapInfo Pro?

    Can you try to add this to the service URL in the Server dialog: ";Service=WMS". This is for a WMS service. For the other two use "WFS" and "WMTS" respectively.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: public data sets

    Posted 4 days ago

    Dear Peter,

    These are resp the URL  and the servername tht I get on the WMS Server details.

    Is it possible that you try to replicate with this URL and see what you get?

    https://service.pdok.nl/rws/actueel-hoogtebestand-nederland/wms/v1_0?request=GetCapabilities&service=WMS

    Actueel Hoogtebestand Nederland (AHN) WMS



    ------------------------------
    Ad van Ooststroom
    Bergen op Zoom, NL
    ------------------------------



  • 4.  RE: public data sets

    Employee
    Posted 4 days ago
      |   view attached

    This seems to be another example of a server that doesn't keep the parameters sent when building out the Service URLs in the Capabilities document.

    I opened the XML file created and added the Service parameter to the URL and now it works:

    <MI_WMS_MapDefinition version="1.0"
                          wms_version="1.3.0">
    	<HTTP GetCapabilities="https://service.pdok.nl/rws/ahn/wms/v1_0?Service=WMS"
    	      GetMap="https://service.pdok.nl/rws/actueel-hoogtebestand-nederland/wms/v1_0?Service=WMS&amp;language=dut&amp;"/>
    	<Exception format="XML"/>
    	<SRS OverrideCoordinateOrder="true">EPSG:4326</SRS>
    	<TokenUrl Url=""/>
    	<Image bgcolor="16777215"
    	       transparent="true"
    	       format="image/png"/>
    	<Layer>
    		<Name>dtm_05m</Name>
    		<Style/>
    		<LatLonBoundingBox minx="1.985912"
    		                   miny="50.695818"
    		                   maxx="7.820625"
    		                   maxy="55.707565"/>
    		<BoundingBox SRS="EPSG:4326"
    		             minx="50.695011"
    		             miny="1.986035"
    		             maxx="55.706159"
    		             maxy="7.819814"/>
    	</Layer>
    </MI_WMS_MapDefinition>

    It's this line where I added the text in red:

    GetMap="https://service.pdok.nl/rws/actueel-hoogtebestand-nederland/wms/v1_0?Service=WMS&amp;language=dut&amp;"/>

    I have attached the table with the fix.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------

    Attachment(s)

    zip
    dtm_05m.zip   1021 B 1 version