Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnlineResource is not output for metadata{ } > resourceInfo{ } > citation{ } #4

Closed
jlblcc opened this issue Oct 3, 2014 · 2 comments
Assignees
Labels
bug Unexpected problem or unintended behavior writer:iso19115_2

Comments

@jlblcc
Copy link
Member

jlblcc commented Oct 3, 2014

The iso19115_2 writer is not outputting the onlineResource for metadata{ } > resourceInfo{ } > citation{ }.

@jlblcc jlblcc added the bug Unexpected problem or unintended behavior label Oct 3, 2014
@jlblcc
Copy link
Member Author

jlblcc commented Oct 3, 2014

I see there's no where to put that in 19115-2 unless we:

  • add a citedResponsibleParty with a role of distributor
  • add it to distribution info (which still requires a ResponsibleParty)

The problem is the citation block is where the main uri needs to go (supported by adiwgJSON, fixed in 19115-1). We shouldn't be losing that info during the translation to 19115_2. Thoughts?

@stansmith907
Copy link
Contributor

For datasetURI adiwgJson more closely follows the ISO 19115-1 convention which is to include links to the resource in the onlineResource section of the resource citation. Because citation onlineResource(s) are not supported in -2, datasetURI was being used as it will be in -1 and filled with a link to the metadata resource. I changed this to drop the -1 interpretation of identifying the metadata resource and instead populate datasetURI with the URI with the first onlineResource URI of resource citation found in the adiwgJson.

This was pushed out a translator version 0.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior writer:iso19115_2
Projects
None yet
Development

No branches or pull requests

2 participants