Hi all,

I am trying to grep the SUBDATASET_X_NAME in gdalinfo.
I only need the WCS:url

If I grep the subdataset [1], the string slice "SUBDATASET_5_NAME" comes
together. I would like to know if I can get only WCS:url by using any
gdalinfo options.

I tried running [2] , but no success. Is there any gdalinfo option which
response is the same as in [1]?

Thank you very much for your time in advance.

Kind regards
Julierme


[1]
gdalinfo "WCS:
http://demo.geo-solutions.it/geoserver/ows?service=WCS&version=2.0.1&request=GetCapabilities
" | grep 'nurc__Img_Sample'

[2]

gdalinfo -sd nurc__Img_Sample "WCS:
http://demo.geo-solutions.it/geoserver/ows?service=WCS&version=2.0.1&request=GetCapabilities
"
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to