28 #ifndef __TERRALIB_WS_OGC_WCS_CLIENT_WCS_H
29 #define __TERRALIB_WS_OGC_WCS_CLIENT_WCS_H
38 #include "../../../../dataaccess/dataset/DataSet.h"
39 #include "../../../../common/progress/TaskProgress.h"
40 #include "../../../../core/uri/URI.h"
41 #include "../../../core/CurlWrapper.h"
69 WCSClient(
const std::string usrDataDir =
"",
const std::string uri =
"",
const std::string version =
"2.0.1");
139 std::shared_ptr<te::ws::core::CurlWrapper>
m_curl;
This class can be used to inform the progress of a task.
A class to store the proxy information that must be used to access data located in URIs.
An abstraction to Lib Curl functions.
A class to retrieve information and data from a Web Coverage Service.
te::ws::ogc::wcs::XMLParser m_parser
std::map< std::string, te::ws::ogc::wcs::CoverageDescription > m_descriptionMap
te::ws::ogc::wcs::Capabilities m_capabilities
~WCSClient()
Default destructor.
std::shared_ptr< te::ws::core::CurlWrapper > m_curl
te::ws::ogc::wcs::CoverageDescription describeCoverage(const std::string coverage)
Method to get the information about a coverage in the WCS server.
std::string getCoverage(const te::ws::ogc::wcs::CoverageRequest coverageRequest, te::common::TaskProgress *taskProgress=0) const
Method to get the coverage from the WCS server.
std::string getFileExtension(const std::string &format) const
void updateCapabilities()
Method to get the capabilities from a WCS server and store in m_capabilities member.
std::string makeFileRequest(const std::string url, const std::string fileName, te::common::TaskProgress *taskProgress=0) const
Executes a request on a WCS server.
WCSClient(const std::string usrDataDir="", const std::string uri="", const std::string version="2.0.1")
Class constructor. It initializes the m_uri and m_version class members.
const te::ws::ogc::wcs::Capabilities & getCapabilities() const
Return the m_capabilities member.
void setCurlWrapper(te::ws::core::CurlWrapper *curlWrapper)
Sets the TerraLib CurlWrapper to be used internally.
A class responsible to parse WCS XML files to WCS TerraLib data types.
A struct to set the parameters of requested coverage.
#define TEOGCWCSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Specifies containers for WMS data types.