NCEAS / eml

Ecological Metadata Language (EML)
https://eml.ecoinformatics.org/
GNU General Public License v2.0
40 stars 15 forks source link

Update stylesheets to improve entityCodeList display #231

Open mbjones opened 7 years ago

mbjones commented 7 years ago

Author Name: Jim Regetz (Jim Regetz) Original Redmine Issue: 4114, https://projects.ecoinformatics.org/ecoinfo/issues/4114 Original Date: 2009-05-27 Original Assignee: Matt Jones


The measurement domain information displayed by Metacat skins and Morpho is cryptic for enumeratedDomains that use entityCodeList. It currently shows internal entity id numbers, which have no meaning to end users.

For reference, here is the relevant part of the EML spec: http://knb.ecoinformatics.org/software/eml/eml-2.1.0/eml-attribute.html#enumeratedDomain

Example:

  1. Browse to http://knb.ecoinformatics.org/knb/metacat/judithk.306/knb
  2. Click on View Metadata for the data table "elephantbuffalo2001.txt"
  3. In the Attribute(s) Info table, click on the Domain Info link for the "Specie code" attribute

The displayed numbers are internal entity ids for the "MEGAHERBIVORE CENSUS LUT.txt" data table, its 'Code' attribute, and its 'Species' attribute, respectively.

The simplest enhancement is probably to extract and display the relevant table name and code/definition attribute names, instead of the ids. A more extensive modification would be to extract and display the actual codes/definitions directly, but that might not be worth the additional effort.

mbjones commented 7 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:25:42Z


Original Bugzilla ID was 4114