ogcincubator / chek-profiles

1 stars 0 forks source link

GML CodeList questions #5

Open VladimirAlexiev opened 10 months ago

VladimirAlexiev commented 10 months ago

@rob-metalinkage @avillar, and @pzaborowski @FrancescaNoardo, cc @nataschake I'm looking at an example and trying to figure out how to decode CodeList values

https://github.com/opengeospatial/CityGML3.0-GML-Encoding/blob/main/resources/examples/Building/Building_CityGML3.0_LOD2_with_several_attributes.gml#L269 has this:

      <bldg:function>31001_9998</bldg:function>
      <bldg:roofType>3100</bldg:roofType>

Does that mean there's no registry of the 130 or so GML codelists, and so each CityGML file uses codes that are not standardized anywhere?

VladimirAlexiev commented 10 months ago

Similar for bldg:function: the Encoding standard gives some examples that use code vs English (inconsistent). There's also a hierarchical nomenclature. It doesn't give any global URL where this codelist could be looked up.

rob-metalinkage commented 9 months ago

"<> enumerates the valid attribute values. In contrast to Enumeration, the list of values is open and, thus, not given inline the CityGML schema. The allowed values can be provided within an external code list. It is recommended that code lists are implemented as simple dictionaries following the GML 3.1.1 Simple Dictionary Profile (cf. chapter 6.6 and chapter 10.14). "

So yes - there is a requirement for some governance of this to achieve interoperability! We need to explore practices deeper