Show / Hide Table of Contents

    Class Client

    Class for requesting and parsing a WMS servers capabilities

    Inheritance
    System.Object
    Client
    Namespace: Mapsui.Desktop.Wms
    Assembly: Mapsui.Desktop.dll
    Syntax
    public class Client : object

    Constructors

    | Improve this Doc View Source

    Client(String, String, Func<String, Task<Stream>>)

    Initalizes WMS server and parses the Capabilities request

    Declaration
    public Client(string url, string wmsVersion = null, Func<string, Task<Stream>> getStreamAsync = null)
    Parameters
    Type Name Description
    System.String url

    URL of wms server

    System.String wmsVersion

    WMS version number, null to get the default from service

    Func<System.String, Task<Stream>> getStreamAsync

    Download method, leave null for default

    | Improve this Doc View Source

    Client(XmlDocument, Func<String, Task<Stream>>)

    Declaration
    public Client(XmlDocument capabilitiesXmlDocument, Func<string, Task<Stream>> getStreamAsync = null)
    Parameters
    Type Name Description
    XmlDocument capabilitiesXmlDocument
    Func<System.String, Task<Stream>> getStreamAsync

    Properties

    | Improve this Doc View Source

    ExceptionFormats

    Gets a list of available exception mime type formats

    Declaration
    public string[] ExceptionFormats { get; }
    Property Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    GetFeatureInfoOutputFormats

    Gets a list of available feature info mime type formats

    Declaration
    public Collection<string> GetFeatureInfoOutputFormats { get; }
    Property Value
    Type Description
    Collection<System.String>
    | Improve this Doc View Source

    GetFeatureInfoRequests

    Gets the available GetMap request methods and Online Resource URI

    Declaration
    public Client.WmsOnlineResource[] GetFeatureInfoRequests { get; }
    Property Value
    Type Description
    Client.WmsOnlineResource[]
    | Improve this Doc View Source

    GetMapOutputFormats

    Gets a list of available image mime type formats

    Declaration
    public Collection<string> GetMapOutputFormats { get; }
    Property Value
    Type Description
    Collection<System.String>
    | Improve this Doc View Source

    GetMapRequests

    Gets the available GetMap request methods and Online Resource URI

    Declaration
    public Client.WmsOnlineResource[] GetMapRequests { get; }
    Property Value
    Type Description
    Client.WmsOnlineResource[]
    | Improve this Doc View Source

    Layer

    Gets the hiarchial layer structure

    Declaration
    public Client.WmsServerLayer Layer { get; }
    Property Value
    Type Description
    Client.WmsServerLayer
    | Improve this Doc View Source

    ServiceDescription

    Gets the service description

    Declaration
    public Capabilities.WmsServiceDescription ServiceDescription { get; }
    Property Value
    Type Description
    Capabilities.WmsServiceDescription
    | Improve this Doc View Source

    VendorSpecificCapabilities

    Exposes the capabilitie's VendorSpecificCapabilities as XmlNode object. External modules could use this to parse the vendor specific capabilities for their specific purpose.

    Declaration
    public XmlNode VendorSpecificCapabilities { get; }
    Property Value
    Type Description
    XmlNode
    | Improve this Doc View Source

    WmsVersion

    Gets the version of the WMS server (ex. "1.3.0")

    Declaration
    public string WmsVersion { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX