java.lang.Object
com.esri.arcgisruntime.hydrography.EncFeature
All Implemented Interfaces:
GeoElement

public final class EncFeature extends Object implements GeoElement
Represents a feature within an ENC (Electronic Navigational Chart).
Since:
100.2.0
  • Method Details

    • getAttributeDescription

      public String getAttributeDescription(String acronym)
      Gets the description of an ENC feature acronym.
      Parameters:
      acronym - an attribute acronym
      Returns:
      the description of an ENC feature acronym if that acronym exists, otherwise the input acronym
      Since:
      100.2.0
    • getAcronym

      public String getAcronym()
      Gets the acronym of the ENC feature.
      Returns:
      the acronym of the ENC feature
      Since:
      100.2.0
    • getDescription

      public String getDescription()
      Gets the description of the ENC feature.
      Returns:
      the description of the ENC feature
      Since:
      100.2.0
    • getAttributes

      public Map<String,Object> getAttributes()
      Description copied from interface: GeoElement
      Gets the attributes of the GeoElement as a collection of name/value pairs.

      Attribute values are returned as Object instances, but the underlying value type is based on the Field.Type.

      Specified by:
      getAttributes in interface GeoElement
      Returns:
      the attributes of the GeoElement as a collection of name/value pairs
    • getGeometry

      public Geometry getGeometry()
      Description copied from interface: GeoElement
      Gets the geometry which defines the shape and location of the GeoElement.
      Specified by:
      getGeometry in interface GeoElement
      Returns:
      the geometry defines the shape and location of the GeoElement, or null if none
    • setGeometry

      public void setGeometry(Geometry geometry)
      Description copied from interface: GeoElement
      Sets the geometry defines the shape and location of the GeoElement.
      Specified by:
      setGeometry in interface GeoElement
      Parameters:
      geometry - the geometry defines the shape and location of the GeoElement