#include <TdkCorbaWMSServiceServant.h>
Public Member Functions | |
TdkCorbaWMSServiceServant (TdkConDescriptor &desc, std::string url) | |
virtual | ~TdkCorbaWMSServiceServant () |
Virtual destructor. | |
virtual char * | GetCapabilities (CORBA::Long projectId, CORBA::Long viewId) |
virtual char * | GetProjectsInfo (const char *url) |
virtual tdkserver::ImageData * | GetMap (const char *srs, const tdkserver::Styles &style, const char *formato, const char *bgcolor, const tdkserver::ExceptionsFormat &excecoes, const tdkserver::WMSMapsList &mapas, CORBA::Long width, CORBA::Long height, CORBA::Double xmin, CORBA::Double ymin, CORBA::Double xmax, CORBA::Double ymax, CORBA::Long viewId) |
virtual char * | GetFeatureInfo (const char *srs, const tdkserver::Styles &style, const char *formato, const char *bgcolor, CORBA::Long width, CORBA::Long height, CORBA::Double xmin, CORBA::Double ymin, CORBA::Double xmax, CORBA::Double ymax, const tdkserver::WMSMapsList &query_layers, const char *info_format, CORBA::Long feature_count, CORBA::Long x, CORBA::Long y, const tdkserver::ExceptionsFormat &excecoes) |
Private Attributes | |
WMSGetCapabilities * | _wmsGetCapabilities |
Pointer to the object that implements the GetCapabilities. | |
WMSGetMap * | _wmsGetMap |
Pointer to the object that implements the GetMap. | |
WMSGetFeatureInfo * | _wmsGetFeatureInfo |
Pointer to the object that implements the GetFeatureInfo. | |
TdkConDescriptor & | _descriptor |
Database connection information. | |
std::string | _url |
Caller servlet URL. (check). |
TdkCorbaWMSServiceServant::TdkCorbaWMSServiceServant | ( | TdkConDescriptor & | desc, | |
std::string | url | |||
) |
Constructor.
Database | connection information. | |
Servlet | URL. |
TdkCorbaWMSServiceServant::~TdkCorbaWMSServiceServant | ( | ) | [virtual] |
Virtual destructor.
char * TdkCorbaWMSServiceServant::GetCapabilities | ( | CORBA::Long | projectId, | |
CORBA::Long | viewId | |||
) | [virtual] |
Implements the WMS get capabilities functionality.
ID | of the desired TDK project. | |
ID | of the desired TDK project's view. This must belong to the project whose id is projectId. |
char * TdkCorbaWMSServiceServant::GetProjectsInfo | ( | const char * | url | ) | [virtual] |
Builds a XML string with information about the projects and views in the current database.
tdkserver::ImageData * TdkCorbaWMSServiceServant::GetMap | ( | const char * | srs, | |
const tdkserver::Styles & | style, | |||
const char * | formato, | |||
const char * | bgcolor, | |||
const tdkserver::ExceptionsFormat & | excecoes, | |||
const tdkserver::WMSMapsList & | mapas, | |||
CORBA::Long | width, | |||
CORBA::Long | height, | |||
CORBA::Double | xmin, | |||
CORBA::Double | ymin, | |||
CORBA::Double | xmax, | |||
CORBA::Double | ymax, | |||
CORBA::Long | viewId | |||
) | [virtual] |
Implements the WMS get map functionality.
Encoded | projection to be used. | |
Style | to be used. | |
Format | of the image that will be generated. (currently this is ignored and a GIF image is returned.) | |
Background | color of the image. | |
String | sequence of the client's expected exceptions. | |
List | of the maps of whom will be generated an image. | |
Width | of the image. | |
Height | of the image. | |
x | coordinate of the bounding box's lower corner. | |
y | coordinate of the bounding box's lower corner. | |
x | coordinate of the bounding box's higher corner. | |
y | coordinate of the bounding box's higher corner. |
char * TdkCorbaWMSServiceServant::GetFeatureInfo | ( | const char * | srs, | |
const tdkserver::Styles & | style, | |||
const char * | formato, | |||
const char * | bgcolor, | |||
CORBA::Long | width, | |||
CORBA::Long | height, | |||
CORBA::Double | xmin, | |||
CORBA::Double | ymin, | |||
CORBA::Double | xmax, | |||
CORBA::Double | ymax, | |||
const tdkserver::WMSMapsList & | query_layers, | |||
const char * | info_format, | |||
CORBA::Long | feature_count, | |||
CORBA::Long | x, | |||
CORBA::Long | y, | |||
const tdkserver::ExceptionsFormat & | excecoes | |||
) | [virtual] |
Implements the WMS get feature info functionality.
Encoded | projection to be used. | |
Style | to be used. | |
Format | of the image that will be generated. (currently this is ignored and defaults to a GIF image.) | |
Background | color of the image. | |
Width | of the image. | |
Height | of the image. | |
x | coordinate of the bounding box's lower corner. | |
y | coordinate of the bounding box's lower corner. | |
x | coordinate of the bounding box's higher corner. | |
y | coordinate of the bounding box's higher corner. | |
List | of the theme ID's that the user wish to be rendered on the image. | |
ignored | (?) | |
The | number of features to return at most. [if a value of zero is used (0), all the found features are returned.] | |
x | coordinate of the area's center. | |
y | coordinate of the area's center. | |
ignored | (?) |
Pointer to the object that implements the GetCapabilities.
WMSGetMap* TdkCorbaWMSServiceServant::_wmsGetMap [private] |
Pointer to the object that implements the GetMap.
Pointer to the object that implements the GetFeatureInfo.
Database connection information.
std::string TdkCorbaWMSServiceServant::_url [private] |
Caller servlet URL. (check).