Interface ILcdGDFFeature

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdDataObject, ILcdShape, Serializable
All Known Subinterfaces:
ILcdGDFAreaFeature, ILcdGDFComplexFeature, ILcdGDFLineFeature, ILcdGDFPointFeature

public interface ILcdGDFFeature extends ILcdShape, ILcdDataObject
This interface describes general properties of a GDF Feature. Features are the basic building blocks of GDF models, and represent real world objects (e.g. roads, lakes, buildings, ...) All objects contained in models decoded by the TLcdGDFModelDecoder will implement this interface.
Since:
5.1
  • Method Details Link icon

    • getFeatureCategory Link icon

      TLcdGDFFeatureCategory getFeatureCategory()
      Returns the feature category to which this feature belongs.
      Returns:
      the TLcdGDFFeatureCategory to which this feature belongs.
    • getFeatureClass Link icon

      TLcdGDFFeatureClass getFeatureClass()
      Returns the feature class to which this feature belongs.
      Returns:
      the feature class to which this feature belongs.
    • getSourceDescription Link icon

      ILcdGDFSourceDescription getSourceDescription()
      Returns the source description of this feature, or null if none exists.
      Returns:
      the source description of this feature.
    • getAttributeCount Link icon

      int getAttributeCount()
      Returns the number of attributes of this feature.
      Returns:
      the number of attributes of this feature.
    • getAttribute Link icon

      ILcdGDFAttribute getAttribute(int aIndex)
      Returns the attribute at the given index.
      Parameters:
      aIndex - the index of the attribute to be returned.
      Returns:
      the attribute at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getAttributeCount().
    • getRelationshipCount Link icon

      int getRelationshipCount()
      Returns the number of relationships of this feature.
      Returns:
      the number of relationships of this feature.
    • getRelationship Link icon

      ILcdGDFRelationship getRelationship(int aIndex)
      Returns the relationship at the given index.
      Parameters:
      aIndex - the index of the relationship to be returned.
      Returns:
      the relationship at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getRelationshipCount().
    • getFeatureKey Link icon

      TLcdGDFFeatureKey getFeatureKey()
      Returns the unique TLcdGDFFeatureKey of this feature.
      Returns:
      the feature key of this feature.