User Tools

Site Tools


thinkgeo.mapsuite.wmsserveredition.wmshandler

This is an old revision of the document!


ThinkGeo.MapSuite.WmsServerEdition.WmsHandler

<!– Class –> This is an asynchronous HTTP handler which is used to handle web map services.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodWmsHandler This is the default constructor for the WmsHandler class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodBeginProcessRequest HttpContext, AsyncCallback, Object Initiates an asynchronous call to the HTTP handler.
Public MethodEndProcessRequest IAsyncResult Provides an asynchronous process End method when the process ends.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodProcessRequest HttpContext Enables processing of HTTP Web requests by a custom HttpHandler that implements the System.Web.IHttpHandler interface.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodGetCapabilities GetCapabilitiesRequest, HttpContext The purpose of the GetCapabilities WMS operation is to retrieve general information about the service itself and specific information about the available layers.
Protected MethodGetCapabilitiesCore GetCapabilitiesRequest, HttpContext The purpose of the GetCapabilities WMS operation is to retrieve general information about the service itself and specific information about the available layers.
Protected MethodGetFeatureInfo GetFeatureInfoRequest, HttpContext This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from the client.
Protected MethodGetFeatureInfoCore GetFeatureInfoRequest, HttpContext This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client.
Protected MethodGetMap GetMapRequest, HttpContext The GetMap WMS operation is designed to produce a map, which is defined as either a pictorial image or a set of graphical elements.
Protected MethodGetMapCore GetMapRequest, HttpContext The GetMap WMS operation is designed to produce a map, which is defined as either a pictorial image or a set of graphical elements.
Protected MethodMemberwiseClone Object
Protected MethodProcessRequestCore HttpContext This abstract method is called from the concrete public method ProcessRequest. This method processes the request from client.

Public Properties

Name Return DeclaringType Summary
Public PropertyIsReusable Boolean Gets a value indicating whether another request can use the System.Web.IHttpHandler instance.

Protected Properties

Name Return DeclaringType Summary
Protected PropertyCapabilitiesFilePathName String The file path for your capabilites xml document

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

WmsHandler()

This is the default constructor for the WmsHandler class.

Remarks

This is the default constructor for the WmsHandler class.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

BeginProcessRequest(HttpContext, AsyncCallback, Object)

Initiates an asynchronous call to the HTTP handler.

Return Value

Return Type Description
IAsyncResult<!– System.IAsyncResult –> A System.IAsyncResult that contains information about the status of the process.

Parameters

Name Type Description
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.
cb AsyncCallback<!– System.AsyncCallback –> The System.AsyncCallback to call when the asynchronous method call is complete. If cb is null, the delegate is not called.
extraData Object<!– System.Object –> Any extra data needed to process the request.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

EndProcessRequest(IAsyncResult)

Provides an asynchronous process End method when the process ends.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
result IAsyncResult<!– System.IAsyncResult –> A System.IAsyncResult that contains information about the status of the process.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ProcessRequest(HttpContext)

Enables processing of HTTP Web requests by a custom HttpHandler that implements the System.Web.IHttpHandler interface.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetCapabilities(GetCapabilitiesRequest, HttpContext)

The purpose of the GetCapabilities WMS operation is to retrieve general information about the service itself and specific information about the available layers.

Return Value

Return Type Description
String<!– System.String –> This method returns general information about the service itself and specific information about the available layers.

Parameters

Name Type Description
getCapabilitiesRequest GetCapabilitiesRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetCapabilitiesRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

GetCapabilitiesCore(GetCapabilitiesRequest, HttpContext)

The purpose of the GetCapabilities WMS operation is to retrieve general information about the service itself and specific information about the available layers.

Remarks

This abstract method is called from the concrete public method GetCapabilities.

Return Value

Return Type Description
String<!– System.String –> This method returns general information about the service itself and specific information about the available layers.

Parameters

Name Type Description
getCapabilitiesRequest GetCapabilitiesRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetCapabilitiesRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

GetFeatureInfo(GetFeatureInfoRequest, HttpContext)

This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from the client.

Remarks

This method is the concrete wrapper for the abstract method GetFeatureInfo. The canonical use case for GetFeatureInfo is that a user sees the response of a GetMap request and chooses a point on that map for which to obtain more information. The basic operation provides the ability for a client to specify which pixel is being asked about, which layer(s) should be investigated, and what format the information should be returned in.

Return Value

Return Type Description
String<!– System.String –> This method returns feature information depending on the request from the client.

Parameters

Name Type Description
getFeatureInfoRequest GetFeatureInfoRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

GetFeatureInfoCore(GetFeatureInfoRequest, HttpContext)

This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client.

Remarks

This abstract method is called from the concrete public method GetFeatureInfo. The canonical use case for GetFeatureInfo is that a user sees the response of a GetMap request and chooses a point on that map for which to obtain more information. The basic operation provides the ability for a client to specify which pixel is being asked about, which layer(s) should be investigated, and what format the information should be returned in.

Return Value

Return Type Description
String<!– System.String –> This method returns feature information depending on the request from the client.

Parameters

Name Type Description
getFeatureInfoRequest GetFeatureInfoRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

GetMap(GetMapRequest, HttpContext)

The GetMap WMS operation is designed to produce a map, which is defined as either a pictorial image or a set of graphical elements.

Return Value

Return Type Description
Bitmap<!– System.Drawing.Bitmap –> This method returns a pictorial image or a set of graphical elements.

Parameters

Name Type Description
getMapRequest GetMapRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

GetMapCore(GetMapRequest, HttpContext)

The GetMap WMS operation is designed to produce a map, which is defined as either a pictorial image or a set of graphical elements.

Remarks

This abstract method is called from the concrete public method GetMap.

Return Value

Return Type Description
Bitmap<!– System.Drawing.Bitmap –> This method returns a pictorial image or a set of graphical elements.

Parameters

Name Type Description
getMapRequest GetMapRequest<!– ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest –> The RequestInfo object corresponding to the QueryString from the client's request.
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ProcessRequestCore(HttpContext)

This abstract method is called from the concrete public method ProcessRequest. This method processes the request from client.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
context HttpContext<!– System.Web.HttpContext –> A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests.

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

Public Properties

IsReusable

Gets a value indicating whether another request can use the System.Web.IHttpHandler instance.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

Protected Properties

CapabilitiesFilePathName

The file path for your capabilites xml document

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WmsServerEdition.WmsHandler –> Go Back

Public Events

thinkgeo.mapsuite.wmsserveredition.wmshandler.1440040136.txt.gz · Last modified: 2015/09/22 08:50 (external edit)