Skip to content

Should Description extends InternationalString? #78

Description

@desruisseaux

ISO 19157 defines an DQM_Description object with only two properties:

  • textDescription: a mandatory character sequence.
  • extendedDescription: an optional BrowseGraphic.

Having Description as a type distinct from InternationalString is a minor complication for defining a unified parameter API (#74). It is also a complication for users by adding an indirection level in the majority of cases where they only want the text description. Description may be easier to use if the textDescription property is removed and replaced by inheritance. In other words, Description would be considered as a character sequence with an additional property, which is an optional illustration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JavaSpecific to the Java language or Java profile of GeoAPIquestionIssues containing an open question about how to resolve

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions