[gdal-dev] WMS supported SRS
Michał Kowalczuk
michkowalczuk at gmail.com
Tue Sep 10 05:14:46 PDT 2024
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 <michkowalczuk at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240910/40150880/attachment.htm>
More information about the gdal-dev
mailing list