<div dir="ltr"><div>Elena,</div><div><br></div><div>I'm not exactly sure what is causing the issue but if you look at the capabilities of the 4326 tilematrixset compared to the InspireCRS84Quad the topleftcorner coordinates are reversed. My guess gdal is expecting a X Y order. <br></div><div><br></div><div><TileMatrixSet><br><ows:Identifier>InspireCRS84Quad</ows:Identifier><br><ows:SupportedCRS><a href="http://www.opengis.net/def/crs/OGC/1.3/CRS84">http://www.opengis.net/def/crs/OGC/1.3/CRS84</a></ows:SupportedCRS><br><TileMatrix><br><ows:Identifier>0</ows:Identifier><br><ScaleDenominator>2.79541132014358E8</ScaleDenominator><br><TopLeftCorner>-180.0 90.0</TopLeftCorner><br><TileWidth>256</TileWidth><br><TileHeight>256</TileHeight><br><MatrixWidth>2</MatrixWidth><br><MatrixHeight>1</MatrixHeight><br></TileMatrix></div><div><br></div><div><TileMatrixSet><br><ows:Identifier>EPSG:4326</ows:Identifier><br><ows:SupportedCRS>EPSG:4326</ows:SupportedCRS><br><!-- crs="urn:ogc:def:crs:EPSG::4326" --><br><TileMatrix><br><ows:Identifier>EPSG:4326:0</ows:Identifier><br><ScaleDenominator>2.795411320143589E8</ScaleDenominator><br><TopLeftCorner>90.0 -180.0</TopLeftCorner><br><TileWidth>256</TileWidth><br><TileHeight>256</TileHeight><br><MatrixWidth>2</MatrixWidth><br><MatrixHeight>1</MatrixHeight><br></TileMatrix></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Feb 2021 at 11:51, Elena Ruiz <<a href="mailto:eruiz@aplitop.com">eruiz@aplitop.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" lang="ES">
<div class="gmail-m_-3777624170446979760WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello, I´m trying call web services (WMTS and WMS) using GDAL 3.0.2, but I have a problem with this example:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">gdal_translate "WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4326" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4326</a>" d://wmts_bm.xml -of WMTS<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">ERROR 1: Invalid dataset dimensions : -135056383 x -167901439<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">gdal_translate "WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:25830" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:25830</a>" d://wmts_bm.xml -of WMTS<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Input file size is 20616192, 26817505<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">In this server <a href="http://www.ign.es/wmts/pnoa-ma" target="_blank">
http://www.ign.es/wmts/pnoa-ma</a> have available the next SRS :<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">SUBDATASET_1_NAME=WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=InspireCRS84Quad" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=InspireCRS84Quad</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">SUBDATASET_2_NAME=WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4326" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4326</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">SUBDATASET_3_NAME=WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4258" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4258</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">SUBDATASET_4_NAME=WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:25830" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:25830</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">SUBDATASET_5_NAME=WMTS:<a href="http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=GoogleMapsCompatible" target="_blank">http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=GoogleMapsCompatible</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">But when I want Know the information or download a image in certain coordinates with EPSG:4326, it returns an error “ERROR 1: Invalid dataset dimensions : -135056383 x -167901439”, with EPSG:25830 works fine. I don`t
understand this error, someone could help me?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thank you and regards<u></u><u></u></span></p>
</div>
<hr>
<table style="height:50px;width:473px">
<tbody>
<tr>
<td>
<p style="font-size:10pt;font-family:Arial" align="right"><img src="https://www.aplitop.com/descargas/firma1.jpg" border="0"></p></td>
<td style="font-size:12pt;height:25px;font-family:Times New Roman;width:330px" valign="top">
<div style="line-height:13px" align="left"><span style="font-size:9pt;font-family:Myriad Pro,Open Sans,Arial"><strong>Elena Ruiz </strong></span><br><span style="font-size:7pt;font-family:Myriad Pro,Open Sans,Arial">Sofware Development & Technical Support<br></span><span style="font-size:7pt;font-family:Myriad Pro,Open Sans,Arial">Tel.
+34 952 43 97 71 <br><a href="mailto:eruiz@aplitop.com" target="_blank">eruiz@aplitop.com</a><br>Sumatra, 9 - 29190 Málaga (Spain)<br></span><span style="font-size:7pt;font-family:Myriad Pro,Open Sans,Arial"><strong><a href="http://www.aplitop.com" target="_blank">www.aplitop.com</a><br><br><a href="https://www.facebook.com/AplitopSL/" target="_blank"><img style="height: 15px; width: 15px;" src="cid:177928218c346ea9a501" width="15" height="15" border="0"></a> <a href="https://twitter.com/aplitop" target="_blank"><img style="height: 15px; width: 15px;" src="cid:177928218c397f04d0a2" width="15" height="15" border="0"></a> <a href="https://www.linkedin.com/company/aplitop" target="_blank"><img style="height: 15px; width: 15px;" src="cid:177928218c3dbe1ae413" width="15" height="15" border="0"></a> <a href="https://www.youtube.com/user/aplitop" target="_blank"><img style="height: 15px; width: 15px;" src="cid:177928218c3ca49fca84" width="15" height="15" border="0"></a></strong></span></div></td></tr></tbody></table>
<p style="font-size:10pt;font-family:Arial"><span style="font-size:6pt;font-family:Myriad Pro">In accordance with the
provisions of the European Regulation of Data Protection 2016/679 (Reglamento
Europeo de Protección de Datos 2016/679), we inform you that the data and the
information you provide us through this medium will be used by APLITOP, S.L.,
with C.I.F. B-92543396 and with address at C / Sumatra, 9, Malaga, 29190, in
order to answer your questions and inform you about our products. The data
provided will be kept as long as it does not request its cessation and will not
be transferred to third parties except in cases where there is a legal
obligation. You have the right to access your personal data, correct inaccurate
data or request its deletion when the data is no longer necessary for the
purposes that were collected, as well as any rights recognized in the RGPD
2016/679<br><br><a title="" href="https://www.aplitop.com/Event/en/358/intergeo-2019" target="_blank"></a><br><br></span></p></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>