[gdal-dev] WMS supported SRS

Even Rouault even.rouault at spatialys.com
Tue Sep 10 06:00:23 PDT 2024


Michał,

Le 10/09/2024 à 14:14, Michał Kowalczuk via gdal-dev a écrit :
> 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.

That sounds useful. However I'm wondering if users won't be overwhelmed 
by a tons of possible SRS. WMS GetCapabilities tend sometimes to list 
tons of possible SRS. With WMTS, as you need to provide TileMatrixSet 
definitions, that's less likely to happen. So perhaps add a 
LIST_ALL_SRS=YES/NO open option, possibly defaulting to NO.

Even

-- 

http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240910/02c1985f/attachment.htm>


More information about the gdal-dev mailing list