Go to the documentation of this file.
   28 #ifndef __TERRALIB_WS_OGC_WCS_CLIENT_WMS_H 
   29 #define __TERRALIB_WS_OGC_WCS_CLIENT_WMS_H 
   38 #include "../../../../core/uri/URI.h" 
   39 #include "../../../core/CurlWrapper.h" 
   68       WMSClient(
const std::string& usrDataDir = 
"",
const std::string& uri = 
"", 
const std::string& version = 
"1.3.0");
 
  125       std::string 
makeFileRequest(
const std::string& url, 
const std::string& fileName) 
const;
 
  168       std::shared_ptr<te::ws::core::CurlWrapper>      
m_curl;
 
  169       std::unique_ptr<te::ws::ogc::wms::XMLParser>    
m_parser;
 
  176 #endif //__TERRALIB_WS_OGC_WCS_CLIENT_WMS_H 
  
 
void setCapabilities(const te::ws::ogc::wms::WMSCapabilities &capabilities)
 
Specifies containers for WMS data types.
 
The WMSGetMapResponse WMS 1.3.0 struct.
 
const std::string saveGetMap(const te::ws::ogc::wms::WMSGetMapRequest &request, const std::string &filename)
It execute a WMS GetMap and save the result image on disk. The request will be based on WMSGetMapRequ...
 
The WMSGetMapRequest WMS 1.3.0 struct.
 
std::string makeFileRequest(const std::string &url, const std::string &fileName) const
Executes a request on a WMS server.
 
std::shared_ptr< te::ws::core::CurlWrapper > m_curl
 
#define TEOGCWMSEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
std::string build111GetMapRequestURL(const te::ws::ogc::wms::WMSGetMapRequest &request) const
 
const te::ws::ogc::wms::WMSGetFeatureInfoResponse getFeatureInfo(const te::ws::ogc::wms::WMSGetFeatureInfoRequest &request) const
It execute a WMS GetFeatureInfo and returns a WMSGetFeatureInfoResponse with the result.
 
std::string buildGetMapRequestURL(const te::ws::ogc::wms::WMSGetMapRequest &request) const
 
std::string build130GetMapRequestURL(const te::ws::ogc::wms::WMSGetMapRequest &request) const
 
The Capability WMS 1.3.0 struct.
 
std::string build111GetFeatureInfoURL(const te::ws::ogc::wms::WMSGetFeatureInfoRequest &request) const
 
const te::ws::ogc::wms::WMSCapabilities & getCapabilities() const
Return the WMSCapabilities member.
 
te::da::DataSourceCapabilities capabilities
 
The WMSGetFeatureInfoRequest WMS 1.3.0 struct.
 
void updateCapabilities()
Method to get the capabilities from a WMS server and store in m_capabilities member.
 
A class to store the proxy information that must be used to access data located in URIs.
 
const te::ws::ogc::wms::WMSGetMapResponse getMap(const te::ws::ogc::wms::WMSGetMapRequest &request) const
Return the WMSGetMapResponse member.
 
void setCurlWrapper(te::ws::core::CurlWrapper *curlWrapper)
Sets the TerraLib CurlWrapper to be used internally.
 
std::string makeRequest(const std::string &url) const
Executes a request on a WMS server.
 
The WMSGetMapResponse WMS 1.3.0 struct.
 
~WMSClient()
Default destructor.
 
A class to retrieve information and data from a Web Map Service.
 
std::string buildGetFeatureInfoURL(const te::ws::ogc::wms::WMSGetFeatureInfoRequest &request) const
 
te::ws::ogc::wms::WMSCapabilities m_capabilities
 
Proxy configuration file for TerraView (see terraview_config.h).
 
std::unique_ptr< te::ws::ogc::wms::XMLParser > m_parser
 
An abstraction to Lib Curl functions.
 
WMSClient(const std::string &usrDataDir="", const std::string &uri="", const std::string &version="1.3.0")
Class constructor. It initializes the m_uri and m_version class members.
 
std::string build130GetFeatureInfoURL(const te::ws::ogc::wms::WMSGetFeatureInfoRequest &request) const