TdkCorbaWMSServiceServant Class Reference
[TdkServerServices]

#include <TdkCorbaWMSServiceServant.h>

List of all members.

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).


Detailed Description

WMS Services corba servant class. This class manages the WMS TDK Server services. The instances of this class are accessible through the manager service.


Constructor & Destructor Documentation

TdkCorbaWMSServiceServant::TdkCorbaWMSServiceServant ( TdkConDescriptor desc,
std::string  url 
)

Constructor.

Parameters:
Database connection information.
Servlet URL.

TdkCorbaWMSServiceServant::~TdkCorbaWMSServiceServant (  )  [virtual]

Virtual destructor.


Member Function Documentation

char * TdkCorbaWMSServiceServant::GetCapabilities ( CORBA::Long  projectId,
CORBA::Long  viewId 
) [virtual]

Implements the WMS get capabilities functionality.

Parameters:
ID of the desired TDK project.
ID of the desired TDK project's view. This must belong to the project whose id is projectId.
Returns:
Server's WMS capabilities in a XML string.

char * TdkCorbaWMSServiceServant::GetProjectsInfo ( const char *  url  )  [virtual]

Builds a XML string with information about the projects and views in the current database.

Returns:
XML string with information about projects and views.

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.

Parameters:
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.
Returns:
Byte array representing the generated image.

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.

Parameters:
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 (?)
Returns:
A XML string of the themes' features (attributes of the themes' objects).


Member Data Documentation

WMSGetCapabilities* TdkCorbaWMSServiceServant::_wmsGetCapabilities [private]

Pointer to the object that implements the GetCapabilities.

WMSGetMap* TdkCorbaWMSServiceServant::_wmsGetMap [private]

Pointer to the object that implements the GetMap.

WMSGetFeatureInfo* TdkCorbaWMSServiceServant::_wmsGetFeatureInfo [private]

Pointer to the object that implements the GetFeatureInfo.

TdkConDescriptor& TdkCorbaWMSServiceServant::_descriptor [private]

Database connection information.

std::string TdkCorbaWMSServiceServant::_url [private]

Caller servlet URL. (check).


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:33 2007 for TDK by  doxygen 1.5.2