[gdal-dev] C++ API for WCS: GetCapabilities and the new cache

Odd Ragnar Lydersen Odd-Ragnar.Lydersen at powel.no
Fri Sep 7 02:57:13 PDT 2018


Hi, I'm struggling to understand the new setup for WCS.

In the documentation it says:
- If the URL does not contain a coverage name, the driver attempts to fetch the capabilities document from the server, parse it, and show the resulting metadata to the user.

How is this  done using the C++ API?
- I would like to get the result from GetCapabilities listed, so that I can parse the result to establish what the coverage names are, for a given wcs.

Also from the documentation:
- Note that when the "WCS:<URL>" syntax for dataset name is used, the contents of the service description file is meant to be modified by using options

Are these options set by calling the GDALOpen function like, GDALOpen("wcs: UserPwd=myPwd; HttpAuth=BASIC; ...",  GA_ReadOnly)?

>Odd-Ragnar<



More information about the gdal-dev mailing list