OpenGeoMetadata/edu.virginia

year data inverted

Opened this issue · 2 comments

Hi Wayne,

I'm having a problem harvesting your years metadata.

The dct_temporal_sm (and solr_year_i) fields are used to denote the year(s) for which the data cover. The dct_issued_s field is for the data of publication (issue). We also have a layer_modified_dt which is for the metadata record modification date.

In the case of this record, for example:
https://github.com/OpenGeoMetadata/edu.virginia/blob/master/349/10/geoblacklight.xml#L99

The coverage year is 2014, the issue year is 2008, and the modification year is 2010. I think that these are inverted and should be 2008, 2010, and 2014 respectively.

Here is an example of one of our records that has 1999, 2002, and 2014 as the years:

https://github.com/OpenGeoMetadata/edu.stanford.purl/blob/master/bb/338/jh/0716/geoblacklight.xml

Thanks,
-Darren

Hi Wayne,

Using this ISO record as an example:
https://github.com/OpenGeoMetadata/edu.virginia/blob/master/349/10/iso19139.xml

The dates should map to the geoblacklight schema like this:

Issued:
dct_issued_s : 2008
this is the publication date in ISO
XPATH: gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:date

Temporal Coverage:
solr_year_i: 2002
this is the temporal extent in ISO (only the first date, in the case of a range)
XPATH: gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml:TimePeriod/gmd:beginPosition

or

gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:temporalElement/gmd:EX_TemporalExtent/gmd:extent/gml:TimeInstant

You may also want to use the dct_temporal_sm field to express the range of dates. Since the temporal coverage for this item is 2002-2007

Modified:
layer_modified_dt: 2010
this is the date of the last metadata update in ISO
XPATH: gmd:MD_Metadata/gco:DateTime/gmd:dateStamp

-Kim

Thanks, we'll get these regenerated...