[Qgis-developer] WMTS capabilities error

Richard Duivenvoorde rdmailings at duif.net
Wed May 30 06:46:39 PDT 2012


Answer to self for clarity for list.

After little chat on IRC it appears that WMTS will not be available yet 
in 1.8 (jef has a branch if you want to play with it though, or it will 
appear in master after release of 1.8 probably)


On 05/29/2012 11:37 AM, Richard Duivenvoorde wrote:
> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list