Skip to content

WmsUtil

Namespace: ThinkGeo.Core

Represents the WmsUtil class.

public static class WmsUtil

Inheritance object → WmsUtil

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

A(XmlDocument)

internal static string A(XmlDocument )

Parameters

`` XmlDocument

Returns

string

GetAxisOrder(WmsAxisOrder, string, string)

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

Parameters

axisOrder WmsAxisOrder

wmsVersion string

crs string

Returns

WmsAxisOrder

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.