GSA / ckanext-geodatagov

data.gov extension
Other
36 stars 39 forks source link

name needs to be coupled to online resource #86

Closed dblodgett-usgs closed 9 years ago

dblodgett-usgs commented 10 years ago

We need urls pulled from digform elements for fgdc to have their names tracked with the urls. Example fgdc is here: http://catalog.data.gov/harvest/object/4e56965f-e304-43bc-87ad-7692f5bc5327/original Which creates this record: http://catalog.data.gov/dataset/usgs-water-quality-data-for-the-nation-national-water-information-system-nwis The issue is that this call to the CI_OnlineResource template: https://github.com/GSA/ckanext-geodatagov/blob/master/conversiontool/data/fgdcrse2iso19115-2.xslt#L2514 is down at the networka level where the formname element is not available. The formname needs to be attached to the networka element in ISO and on data.gov.

dblodgett-usgs commented 10 years ago

A suggested chunk of code to solve this is as follows: `

`
dblodgett-usgs commented 10 years ago

Here's an example record: http://catalog.data.gov/dataset/usgs-groundwater-data-for-the-nation-national-water-information-system-nwis FGDC is here: http://catalog.data.gov/harvest/object/bac9630c-8c03-4258-ab07-1e72c6cc6be6/original ISO is here: http://catalog.data.gov/harvest/object/bac9630c-8c03-4258-ab07-1e72c6cc6be6

Search for: 'Historical Observations' in the FGDC record. Notice 'http://waterdata.usgs.gov/nwis/uv/?referred_module=gw' is associated with that formname.

In the ISO record, search for the same two strings. Notice that 'Historical Observations' and 'http://waterdata.usgs.gov/nwis/uv/?referred_module=gw' are not part of the same CI_onlineResource. The formName needs to be used as the title for the CI_onlineResource.

dblodgett-usgs commented 10 years ago

This record: http://catalog.data.gov/dataset/alabama-2003-lidar-coverage-usace has found a way to control URL names and descriptions. This is because they are using an ISO type within an FGDC record. Our metadata managers will not be able to use that. Records like this call the CI_OnlineResource template here: https://github.com/GSA/ckanext-geodatagov/blob/master/conversiontool/data/fgdcrse2iso19115-2.xslt#L2507 passing in the CI_OnlineResource content from the FGDC record.

kvuppala commented 9 years ago

the fix is applied in tonight release to catalog.data.gov

mierardi commented 9 years ago

I am hoping to see this new attribute naming/description enhancement to the data.gov template to be implemented freely (viral) across all data.gov catalogs ? Example: .... http://catalog.data.gov/harvest/e11eb0c1-b794-4812-9369-1bd7306336cd?page=5