FeatureOfInterest

open class FeatureOfInterest : CoatyObject

An Observation results in a value being assigned to a phenomenon. The phenomenon is a property of a feature, the latter being the FeatureOfInterest of the Observation. In the context of the Internet of Things, many Observations’ FeatureOfInterest can be the Location of the Thing. For example, the FeatureOfInterest of a wifi-connect thermostat can be the Location of the thermostat (i.e., the living room where the thermostat is located in). In the case of remote sensing, the FeatureOfInterest can be the geographical area or volume that is being sensed.

Class registration.

  • Undocumented

    Declaration

    Swift

    open override class var objectType: String { get }

Attributes.

  • The description about the FeatureOfInterest.

    Declaration

    Swift

    public var description: String
  • The encoding type of the feature property. Most common encoding types can be accessed using EncodingTypes static properties.

    Declaration

    Swift

    public var encodingType: String
  • The detailed description of the feature. The data type is defined by encodingType.

    Declaration

    Swift

    public var metadata: AnyCodable

Initializers.

Codable methods.

  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    open override func encode(to encoder: Encoder) throws