Search Results for

    Show / Hide Table of Contents

    Class WmsConfigurationDocument

    Represents a configuration document for the WMS provider.

    Inheritance
    System.Object
    ConfigurationDocument
    WmsConfigurationDocument
    Implements
    IFdoSerializable
    Inherited Members
    ConfigurationDocument._spatialContexts
    ConfigurationDocument._schemas
    ConfigurationDocument.SpatialContexts
    ConfigurationDocument.Schemas
    ConfigurationDocument.AddSpatialContext(IFdoSpatialContext)
    ConfigurationDocument.RemoveSpatialContext(IFdoSpatialContext)
    ConfigurationDocument.GetSpatialContext(String)
    ConfigurationDocument.GetSpatialContextNames()
    ConfigurationDocument.AddSchema(FeatureSchema)
    ConfigurationDocument.RemoveSchema(FeatureSchema)
    ConfigurationDocument.GetSchema(String)
    ConfigurationDocument.GetClass(String, String)
    ConfigurationDocument.WriteXml(XmlDocument, XmlNode)
    ConfigurationDocument.ReadXml(XmlNode, XmlNamespaceManager)
    ConfigurationDocument.ToXml()
    ConfigurationDocument.LoadXml(String)
    ConfigurationDocument.Load(Stream)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.MaestroAPI.SchemaOverrides
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public class WmsConfigurationDocument : ConfigurationDocument, IFdoSerializable

    Properties

    | Improve this Doc View Source

    RasterOverrides

    Gets an array of the added override items

    Declaration
    public RasterWmsItem[] RasterOverrides { get; }
    Property Value
    Type Description
    RasterWmsItem[]

    Methods

    | Improve this Doc View Source

    AddRasterItem(RasterWmsItem)

    Adds the specified override item

    Declaration
    public void AddRasterItem(RasterWmsItem item)
    Parameters
    Type Name Description
    RasterWmsItem item
    | Improve this Doc View Source

    EnsureConsistency()

    Removes any logical classes without physical mappings and vice versa, also ensures that the physical mapping refers to the correct logical raster property

    Declaration
    public void EnsureConsistency()
    | Improve this Doc View Source

    EnsureRasterProperties(String)

    Ensures that classes in this document have an identity property and a raster property. Any classes which have neither, will have properties created for them

    Declaration
    public void EnsureRasterProperties(string defaultScName)
    Parameters
    Type Name Description
    System.String defaultScName

    The name of the default spatial context

    | Improve this Doc View Source

    GetDefaultSpatialContext(IFeatureSource, IServerConnection)

    Gets the default spatial context from this configuration document. If none is found, the first spatial context from the given Feature Source is used

    Declaration
    public string GetDefaultSpatialContext(IFeatureSource fs, IServerConnection conn)
    Parameters
    Type Name Description
    IFeatureSource fs
    IServerConnection conn
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ReadSchemaMappings(XmlNode, XmlNamespaceManager)

    Write this document's schema mappings from the given XML document

    Declaration
    protected override void ReadSchemaMappings(XmlNode node, XmlNamespaceManager mgr)
    Parameters
    Type Name Description
    System.Xml.XmlNode node

    The node.

    System.Xml.XmlNamespaceManager mgr

    The namespace manager.

    Overrides
    ConfigurationDocument.ReadSchemaMappings(XmlNode, XmlNamespaceManager)
    | Improve this Doc View Source

    RemoveRasterItem(RasterWmsItem)

    Removes the specified override item

    Declaration
    public void RemoveRasterItem(RasterWmsItem item)
    Parameters
    Type Name Description
    RasterWmsItem item
    | Improve this Doc View Source

    WriteSchemaMappings(XmlDocument, XmlNode)

    Write this document's schema mappings to the given XML document

    Declaration
    protected override void WriteSchemaMappings(XmlDocument doc, XmlNode currentNode)
    Parameters
    Type Name Description
    System.Xml.XmlDocument doc
    System.Xml.XmlNode currentNode
    Overrides
    ConfigurationDocument.WriteSchemaMappings(XmlDocument, XmlNode)

    Implements

    IFdoSerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng