Class GeometricPropertyDefinition
A geometric property
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Schema
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class GeometricPropertyDefinition : PropertyDefinition, IFdoSerializable, IExpressionPropertySource
Constructors
| Improve this Doc View SourceGeometricPropertyDefinition(String, String)
Initializes a new instance of the GeometricPropertyDefinition class.
Declaration
public GeometricPropertyDefinition(string name, string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | description | The description. |
Properties
| Improve this Doc View SourceExpressionType
Gets the expression data type
Declaration
public override ExpressionDataType ExpressionType { get; }
Property Value
Type | Description |
---|---|
ExpressionDataType |
Overrides
| Improve this Doc View SourceGeometricTypes
Gets or sets the FeatureGeometricType that can be stored in this geometric property. The returned value may be any combination of the values from the FeatureGeometricType enumeration combined via a bit-wise or operation.
Declaration
public FeatureGeometricType GeometricTypes { get; set; }
Property Value
Type | Description |
---|---|
FeatureGeometricType |
HasElevation
Gets or sets a Boolean value that indicates if the geometry of this property include elevation values.
Declaration
public bool HasElevation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasMeasure
Gets or sets a Boolean value that indicates if the geometry of this property includes measurement values that can be used for dynamic segmentation.
Declaration
public bool HasMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsReadOnly
Gets or sets a Boolean value that indicates if this geometric property is read-only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SpatialContextAssociation
Gets or sets the Spatial Context name associated to this geometric property.
Declaration
public string SpatialContextAssociation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SpecificGeometryTypes
Gets or sets the specific set of geometry types that can be stored in this geometric property. The provided value is a list of geometry types that are supported. Usually, one specific type is supported, but there can be more than one.
Declaration
public SpecificGeometryType[] SpecificGeometryTypes { get; set; }
Property Value
Type | Description |
---|---|
SpecificGeometryType[] |
Type
Gets the type of property definition
Declaration
public override PropertyDefinitionType Type { get; }
Property Value
Type | Description |
---|---|
PropertyDefinitionType |
Overrides
Methods
| Improve this Doc View SourceGeometryTypesToString()
Converts the current specified geometry types to a space-delimited list of types
Declaration
public string GeometryTypesToString()
Returns
Type | Description |
---|---|
System.String |
GetIndividualGeometricTypes()
Gets an array of the individual FeatureGeometricType values that compose the final masked value that is returned by the OSGeo.MapGuide.MaestroAPI.GeometricPropertyDefinition.GeometricTypes property
Declaration
public FeatureGeometricType[] GetIndividualGeometricTypes()
Returns
Type | Description |
---|---|
FeatureGeometricType[] |
ReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
protected override void ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlNode | node | |
System.Xml.XmlNamespaceManager | mgr |
Overrides
| Improve this Doc View SourceWriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
protected override void WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | |
System.Xml.XmlNode | currentNode |