On mardi 17 mars 2020 05:57:54 CET san619 wrote: > But in some cases im not getting the extent of the layer.What could be the > reason.I tried in both versions 2.3.2 and 3.0.4.But still same,extent is > empty in the output. > > WMS layer : > http://services.ga.gov.au/gis/services/NEXIS_Agricultural_Exposure/MapServer > /WMSServer?request=GetCapabilities&service=WMS > > JSON output:
This service exposes 2 WMS layers, which are reported as 2 GDAL subdatasets by the top-level GDAL dataset. So you need to open then the dataset names pointed by SUBDATASET_1_NAME or SUBDATASET_2_NAME to get datasets with raster content. -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
