<div dir="ltr">I found that there was a similar issue in 2021 without any specific answer:<div><a href="https://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg35549.html">https://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg35549.html</a></div><div><br></div><div>I wonder if getting SUBDATASETS shouldn't return the result in a similar way as it does for WMTS service,</div><div>where GDAL generates paths to all layer/tilematrix/tilematrixset combination.</div><div>For example if layer is available in 3 SRS, GDAL produces 3 subdatasets, so using only SUBDATASE_NAME property user has access to all map services shared by WMTS server.</div><div>In my opinion, GDAL should use the same approach for WMS. </div><div><br></div><div>Does anyone object?</div>I will then submit a new feature request/bug report.<div><br></div><div>Best regards and have a nice day<br></div><div>Michał Kowalczuk</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pon., 9 wrz 2024 o 16:17 Michał Kowalczuk <<a href="mailto:michkowalczuk@gmail.com">michkowalczuk@gmail.com</a>> napisał(a):<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 dir="ltr">Hi,<div>Does GDAL provides a method to get supported spatial reference systems by WMS service?</div><div><b>GDALGetMetadata(SUBDATASETS) </b>generate links only for the first (default) SRS from GetCapabilities, so this won't be helpful.</div><div>Working with WFS I can get supported SRS using OGR <b>OGR_L_GetSupportedSRSList </b>function.</div><div>Does GDAL offers something similar for WMS, or should I get this information from GetCapabilities XML by myself?</div><div><br></div><div>Regards,</div><div>Michal </div></div>
</blockquote></div>