Class GdalRasterLocationItem
Represents a directory of raster images in a GDAL configuration document
Inheritance
System.Object
GdalRasterLocationItem
Implements
Inherited Members
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 GdalRasterLocationItem : IFdoSerializable
Properties
| Improve this Doc View SourceItems
Gets all the raster image references in this location
Declaration
public GdalRasterItem[] Items { get; }
Property Value
Type | Description |
---|---|
GdalRasterItem[] |
Location
Gets or sets the directory
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAddItem(GdalRasterItem)
Adds the specified raster image reference
Declaration
public void AddItem(GdalRasterItem item)
Parameters
Type | Name | Description |
---|---|---|
GdalRasterItem | item |
CalculateExtents()
Calculates the combined extents of all the raster images in this specified location
Declaration
public IEnvelope CalculateExtents()
Returns
Type | Description |
---|---|
IEnvelope | null if there are no raster images. Otherwise returns the combined extent |
ReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
public void ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
RemoveItem(GdalRasterItem)
Removes the specified raster image reference
Declaration
public void RemoveItem(GdalRasterItem item)
Parameters
Type | Name | Description |
---|---|---|
GdalRasterItem | item |
RemoveItem(String)
Removes the specified raster image
Declaration
public void RemoveItem(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
WriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
public void WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |