Skip to content

Harmonize ISO 19157 parameter class #74

@desruisseaux

Description

@desruisseaux

ISO 19157 defines a DQM_Parameter class (added in #44), which duplicates the parameter classes provided by other standards:

  • ISO 19111 CC_OperationParameter
  • ISO 19115 SV_Parameter (referenced by OperationMetadata.getParameters())
  • ISO 19157 DQM_Parameter (referenced only in Measure.getParameters())
  • Possibly WPS in a future version, etc.

GeoAPI tries to consolidate all parameters API in a single org.opengis.parameter package. If we apply this consolidation to ISO 19157 as well, then the SV_Parameter class should be omitted in favour of org.opengis.parameter.ParameterDescriptor (I didn't found the parameter value anywhere in ISO 19157). The mapping would be:

ISO 19157 ParameterDescriptor Change of value type
name getName() InternationalStringIdentifier
definition getName().getDescription()
description getDescription() DescriptionInternationalString
valueType getValueClass() RecordTypeClass<?>
valueStructure To be omitted?

The valueStructure attribute may be omitted because in an object-oriented language, we rather expect the valueType to be the structure, for example org.opengis.referencing.operation.Matrix.

Metadata

Metadata

Assignees

Labels

JavaSpecific to the Java language or Java profile of GeoAPIspecificationEditions of the GeoAPI specification in Metanorma

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions