[gdal-dev] Grep gdalinfo subdataset
1520 gis
juliermeopensourcedeveloper at gmail.com
Fri Nov 27 10:14:20 PST 2020
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
"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201127/b60a44b5/attachment.html>
More information about the gdal-dev
mailing list