C# Class SharpMap.Web.Wms.Capabilities

Class for generating the WmsCapabilities Xml
Mostrar archivo Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
GetCapabilities ( SharpMap map, WmsServiceDescription serviceDescription ) : XmlDocument

Generates a capabilities file from a map object for use in WMS services

The capabilities document uses the v1.3.0 OpenGIS WMS specification

Private Methods

Method Description
CreateAttribute ( string name, string value, XmlDocument doc ) : XmlAttribute
CreateElement ( string name, string value, XmlDocument doc, bool IsXml, string namespaceURI ) : XmlNode
CreateXml ( ) : XmlDocument
GenerateBoundingBoxElement ( SharpMap bbox, int SRID, XmlDocument doc ) : XmlElement
GenerateCapabilityNode ( SharpMap map, XmlDocument capabilities ) : XmlNode
GenerateContactInfoElement ( XmlDocument capabilities, WmsContactInformation info ) : XmlElement
GenerateDCPTypeNode ( XmlDocument capabilities, string OnlineResource ) : XmlNode
GenerateOnlineResourceElement ( XmlDocument capabilities, string OnlineResource ) : XmlElement
GenerateServiceNode ( WmsServiceDescription &serviceDescription, XmlDocument capabilities ) : XmlNode
GetCapabilitiesSchema ( ) : System.Xml.Schema.XmlSchema
GetWmsLayerNode ( SharpMap layer, XmlDocument doc ) : XmlNode
ValidationError ( object sender, System arguments ) : void

Method Details

GetCapabilities() public static method

Generates a capabilities file from a map object for use in WMS services
The capabilities document uses the v1.3.0 OpenGIS WMS specification
public static GetCapabilities ( SharpMap map, WmsServiceDescription serviceDescription ) : XmlDocument
map SharpMap The map to create capabilities for
serviceDescription WmsServiceDescription Additional description of WMS
return System.Xml.XmlDocument