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

Generalize feature property characteristics #92

Open desruisseaux opened 6 months ago

desruisseaux commented 6 months ago

ISO 19109 defines characterizeBy on feature attribute type. This is used for storing additional information with an attribute. For example, an attribute that carries air temperature may have another attribute that holds the measurement accuracy. For example, in 10 ± 0.1°C, 10 is the attribute value and 0.1 is a characteristic of the attribute (the unit of measurement can also be another characteristic).

GeoAPI represents characteristics with a characteristics() methods in org.opengis.feature.Attribute and AttributeType interfaces. However, the S-100 international standard used in hydrography applies characteristics not only on feature attributes, but also on feature associations, which are represented in GeoAPI by the FeatureAssociation interface. For addressing S-100 need, we propose to:

It would allow to apply characteristics on all types of feature properties: attributes, associations and operations.