Hi,
GDAL is not made to build a CRS list. See
https://gdal.org/drivers/raster/wms.html
"[CRS] Image projection (optional, defaults to EPSG:4326, WMS version 1.3.0
or above only)"
You can get the full list from GetCapabilities that you fetch by other means
and write one of the supported codes into
Hello, when I run the next command:
gdalinfo
"WMS:http://wms.mapa.es/wms/wms.aspx?service=WMS&request=GetCapabilities";
the request is:
Driver: WMS/OGC Web Map Service
Files: none associated
Size is 512, 512
Subdatasets:
SUBDATASET_1_NAME=WMS:http://wms.mapama.gob.es/wms/wms.aspx?SERVICE=WMS&
Some more information into this issue.
The server at IGN is obviously a GeoServer. GDAL usually does not have any
trouble with GeoServers. Try for example
gdal_translate
"http://demo.geo-solutions.it/geoserver/gwc/service/wmts?REQUEST=GetCapabilities";
-of WMTS geoserver.xml
No errors with that