Hi, Thanks for your quick reply. No, I did'nt try this simple command. Here is the output (I removed some of them, keeping just the one I want to use but the whole output is attached to the message) Regards, Hug
gdalinfo "WMTS:http://wxs.ign.fr/{KEY}/geoportail/wmts?SERVICE=WMTS&REQUEST=GetCapabilities"Driver: WMTS/OGC Web Mab Tile ServiceFiles: none associatedSize is 512, 512Coordinate System is `'Origin = (0.000000000000000,0.000000000000000)Pixel Size = (1.000000000000000,1.000000000000000)Subdatasets: SUBDATASET_89_NAME=WMTS:http://wxs.ign.fr/{KEY}/geoportail/wmts?SERVICE=WMTS&REQUEST=GetCapabilities,layer=GEOGRAPHICALGRIDSYST SUBDATASET_89_DESC=Layer PYRAMIDE SCANEXPRESS STANDARDCorner Coordinates:Upper Left ( 0.0000000, 0.0000000)Lower Left ( 0.000, 512.000)Upper Right ( 512.000, 0.000)Lower Right ( 512.000, 512.000)Center ( 256.000, 256.000) ----- Mail d'origine ----- De: Even Rouault <even.roua...@spatialys.com> À: gdal-dev@lists.osgeo.org Cc: hugfr <hugues.franc...@irstea.fr> Envoyé: Fri, 05 May 2017 17:19:27 +0200 (CEST) Objet: Re: [gdal-dev] WMTS "No zoom level found" p, li { white-space: pre-wrap; } On vendredi 5 mai 2017 08:09:30 CEST hugfr wrote:> Hello,>> I try to create an xml file suitable for gdal wmts but I got this error "no> zoom level found" (when I try a gdalinfo) and I don't understand where does> the problem come from. I found this post about zoom level management :> http://osgeo-org.1560.x6.nabble.com/WMTS-Need-TileLevel-option-Servers-respo> nding-with-bad-capabilities-td5298089.html>> I tried the xml with gdalinfo and it runs perfectly. I compared with mine> and I didn't noticed major differences. I also took a comparative look at> servers capabilities which seems similars. The main difference lays in the> TileMatrix content.>> Here is "mine":> <TileMatrixSetLimits>> <TileMatrixLimits>> <TileMatrix>10</TileMatrix>> <MinTileRow>340</MinTileRow>> <MaxTileRow>400</MaxTileRow>> <MinTileCol>493</MinTileCol>> <MaxTileCol>546</MaxTileCol>> </TileMatrixLimits> Did you just trygdalinfo "WMTS:http://wxs.ign.fr/{KEY}/geoportail/wmts?SERVICE=WMTS&REQUEST=GetCapabilities" If it does not, then attaching the response to this GetCapabilities requestmight help investigating the issue. Even --Spatialys - Geospatial professional serviceshttp://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev