Skip to content

WmsUtil

Namespace: ThinkGeo.Core

Represents the WmsUtil class.

public static class WmsUtil

Inheritance objectWmsUtil

Fields

VERSION_1_3_0

Represents the VERSION_1_3_0 constant.

public static string VERSION_1_3_0;

VERSION_1_1_1

Represents the VERSION_1_1_1 constant.

public static string VERSION_1_1_1;

GetMap

Represents the GetMap field.

public static string GetMap;

Methods

GetAxisOrder(WmsAxisOrder, string, string)

Returns axis order for the specified parameters.

public static WmsAxisOrder GetAxisOrder(WmsAxisOrder axisOrder, string wmsVersion, string crs)

Parameters

axisOrder WmsAxisOrder
The axis order.

wmsVersion string
The WMS version.

crs string
The crs.

Returns

WmsAxisOrder
The result of the operation.

GetBaseUrl(WmsOnlineResource[])

Returns base URL for .

public static WmsOnlineResource GetBaseUrl(WmsOnlineResource[] wmsRequests)

Parameters

wmsRequests WmsOnlineResource[]
The WMS requests.

Returns

WmsOnlineResource
The result of the operation.

GetRequestUrl(IWmsEntity, string, RectangleShape, int, int)

Returns request URL for the specified parameters.

public static string GetRequestUrl(IWmsEntity wmsRasterSource, string baseUrl, RectangleShape worldExtent, int canvasWidth, int canvasHeight)

Parameters

wmsRasterSource IWmsEntity
The WMS raster source.

baseUrl string
The base URL.

worldExtent RectangleShape
The world extent represented by the canvas during the drawing session.

canvasWidth int
The canvas width.

canvasHeight int
The canvas height.

Returns

string
A string result.