I found that there was a similar issue in 2021 without any specific answer: https://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg35549.html
I wonder if getting SUBDATASETS shouldn't return the result in a similar way as it does for WMTS service, where GDAL generates paths to all layer/tilematrix/tilematrixset combination. 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. In my opinion, GDAL should use the same approach for WMS. Does anyone object? I will then submit a new feature request/bug report. Best regards and have a nice day Michał Kowalczuk pon., 9 wrz 2024 o 16:17 Michał Kowalczuk <michkowalc...@gmail.com> napisał(a): > Hi, > Does GDAL provides a method to get supported spatial reference systems by > WMS service? > *GDALGetMetadata(SUBDATASETS) *generate links only for the first > (default) SRS from GetCapabilities, so this won't be helpful. > Working with WFS I can get supported SRS using OGR > *OGR_L_GetSupportedSRSList *function. > Does GDAL offers something similar for WMS, or should I get this > information from GetCapabilities XML by myself? > > Regards, > Michal >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev