opengeospatial / geoapi

GeoAPI provides a set of interfaces in programming languages (currently Java and Python) for geospatial applications. The GeoAPI interfaces closely follow OGC specifications, adaptated to match the expectations of programmers.
http://www.geoapi.org
Apache License 2.0
118 stars 37 forks source link

Should `Description` extends `InternationalString`? #78

Open desruisseaux opened 1 year ago

desruisseaux commented 1 year ago

ISO 19157 defines an DQM_Description object with only two properties:

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.