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

Include base_config dictionary for contact information in metacatalog CONFIGFILE #281

Open
Tracked by #267
AlexDo1 opened this issue Feb 16, 2023 · 0 comments
Open
Tracked by #267
Labels
ISO19115 These issues need to be solved to store ISO19115 metadata priority low

Comments

@AlexDo1
Copy link
Collaborator

AlexDo1 commented Feb 16, 2023

The standards_export extension should update the CONFIGFILE (json) with the base_config for ISO 19115 export (contact and publisher).
At the moment, ISO 19115 information is extracted from CONFIGFILE in the following way, so we should use the top-level key extra with the sub-level key iso19115_contact:

base_config = config.get('extra', {}).get('iso19115_contact', {})

The dictionary in iso19115_contact could look like this:

dict(
    contact = dict(
        organisationName = 'METACATALOG',
        deliveryPoint = 'YOUR ADRESS',
        city = 'YOUR CITY',
        administrativeArea = 'YOUR STATE',
        postalCode = '12345',
        country = 'YOUR COUNTRY',
        electronicMailAddress = ['[email protected]', '[email protected]'],
        linkage = 'HTTPS://YOUR.URL.COM/',
        linkage_name = 'YOUR WEBSITE NAME',
        linkage_description = 'YOUR WEBSITE DESCRIPTION'
        ),
    publisher = dict(
        organisation_name = 'METACATALOG'
        ))
@AlexDo1 AlexDo1 added the ISO19115 These issues need to be solved to store ISO19115 metadata label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISO19115 These issues need to be solved to store ISO19115 metadata priority low
Projects
None yet
Development

No branches or pull requests

2 participants