[Qgis-developer] WMTS capabilities error

Richard Duivenvoorde rdmailings at duif.net
Tue May 29 02:37:06 PDT 2012


Hi Devs,

testing the our national WMTS service with the WMTS branch of jef a 
couple of weeks ago, I was able to retrieve the capabilities and show 
the map.

But in current RC1 version (I have both versions parallel running here), 
I get an error for the getcapabilities request in QGIS:

Could not understand the response.  The wms provider said:
Could not get WMS capabilities in the expected format (DTD): no 
WMS_Capabilities or WMT_MS_Capabilities found.
This might be due to an incorrect WMS Server URL.
Tag:Capabilities
Response was:
<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" 
xsi:schemaLocation="http://www.opengis.net/wmts/1.0 
http://geowebcache.org/schema/opengis/wmts/1.0.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
....

Is RC1 more strict in it's validation of the schema?
What is the easiest way to check what the problem is here?

If somebody wants to test:

The service url is:

http://geodata.nationaalgeoregister.nl/tiles/service/wmts?

BUT be aware that it is serving tiles in EPSG:28992 , maybe that is the 
problem?

If you use this url as service url in QGIS you will see the tiles as 
WMS-C  (also in EPSG:28992):
http://geodata.nationaalgeoregister.nl/wmsc?tiled=true

Regards,

Richard Duivenvoorde


More information about the Qgis-developer mailing list