Class TLcdGDFFeatureCategory

java.lang.Object
com.luciad.format.gdf.TLcdGDFFeatureCategory

public class TLcdGDFFeatureCategory extends Object
This class represents all feature categories that are available within GDF. It follows the typesafe enumeration pattern, as described in Effective Java, p104
Since:
5.1
  • Field Details

    • POINT

      public static final TLcdGDFFeatureCategory POINT
      This object represents the GDF point feature category.
    • LINE

      public static final TLcdGDFFeatureCategory LINE
      This object represents the GDF line feature category.
    • AREA

      public static final TLcdGDFFeatureCategory AREA
      This object represents the GDF area feature category.
    • COMPLEX

      public static final TLcdGDFFeatureCategory COMPLEX
      This object represents the GDF complex feature category.
  • Method Details

    • getFeatureCategory

      public static TLcdGDFFeatureCategory getFeatureCategory(int aCode)
      Returns the feature category that corresponds to the given code, as specified in the GDF data format.

      • 1 = POINT
      • 2 = LINE
      • 3 = AREA
      • 4 = COMPLEX
      Parameters:
      aCode - the GDF feature category code of the feature category to be returned.
      Returns:
      the TLcdGDFFeatureCategory object corresponding to the given feature category code.
    • getCode

      public int getCode()
      Returns the feature category code of this category.
      Returns:
      the feature category code of this category.
    • getDescription

      public String getDescription()
      Returns a general description of this feature category. The exact details of the representation are unspecified and are subject to change.
      Returns:
      a general description of this feature category.