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

Assign WMO RA to contact #38

Open
joergklausen opened this issue Aug 11, 2020 · 7 comments
Open

Assign WMO RA to contact #38

joergklausen opened this issue Aug 11, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@joergklausen
Copy link
Contributor

joergklausen commented Aug 11, 2020

Presently, OSCAR/Surface API uses gmd:contactInstructions to assign the WMO RA to a contact. This is misleading. If a contact needs to be assigned to a WMO RA, another element should be used for this, because the conventional use of gmd:contactInstructions is different.

@joergklausen
Copy link
Contributor Author

joergklausen commented Aug 12, 2020

@tomkralidis Do you think we could use administrativeArea [0] for the WMO RA, or is this equally misleading? Or do you have another idea? Unfortunately, CI_Contact_Type doesn't seem to allow a more generic attribute. The requirement is to associate a contact with a WMO RA, so that we can search for contacts in an RA.

[0] https://www.isotc211.org/2005/gmd/citation.xsd

@tomkralidis
Copy link
Contributor

@joergklausen it seems that gmd:contact is wound pretty tight. gmd:adminstrativeArea is defined in ISO 19115 as "state, province of the location" so I would advise not using.

Other options:

  1. gmd:deliveryPoint is repeatable, but not a good fit/cumbersome
  2. another option is representing the RA as a gmd:geographicIdentifier (spatial keyword), but this element is not in scope for contact information
  3. extend gmd:contact with something like wmdr:regionalAssociation
  4. set gmd:CI_Address/@id with a value which is the RA
  5. add an ra attribute or gmd:geograhicIdentifier to wmdr:ResponsibleParty

@joergklausen joergklausen added enhancement New feature or request OSCAR/Surface Issue addresses OSCAR/Surface feature labels Oct 23, 2020
@joergklausen
Copy link
Contributor Author

joergklausen commented Oct 23, 2020

Summary and Purpose
Several territories are distributed over more than one WMO Regional Association (WMO RA). To properly manage contact information, it is therefore desirable to be able to attribute the WMO RA to a contact.

Proposal
Extend wmdr:ResponsibleParty with an attribute wmdr:wmoRegion of type WMORegionType (a code list in codes space http://codes.wmo.int/wmdr).

Reason
The tight typing of gmd:contact doesn't allow to include WMO RA directly. wmdr:wmoRegion is already used in other contexts as well and an extension of the FeatureType wmdr:ResponsibleParty is a clean and straight-forward solution.

Alternatives
A possible alternative, namely to use gmd:geographicIdentifier appears less ideal, because it is normally wrapped around gmd:MD_Identifier with its own elements. It would appear that this makes the XML structure unnecessarily complex.

@joergklausen joergklausen changed the title gmd:contactInstructions Assign WMO RA to contact Oct 23, 2020
@tomkralidis
Copy link
Contributor

Would/could this be applied as well to wmdr:recordOwner?

@joergklausen joergklausen added this to the v1.1.0 milestone Oct 23, 2020
@amilan17
Copy link
Member

ISO 19115-1 added extents to contacts for exactly this type of reason. I recommend researching the options to using this or at least aligning the WMDR solution with this one.
https://github.com/ISO-TC211/XML/blob/master/standards.iso.org/iso/19115/-3/cit/2.0/citation.xsd#L405
https://wiki.esipfed.org/File:CI_Responsibility.png

@joergklausen
Copy link
Contributor Author

@amilan17 Thanks for these suggestions. I looked at this, but I find that extent refers to the extent of the role (something more like period or area of responsibility) and doesn't seem to be intended as an extension of the address information, which is the purpose here.
@tomkralidis If you think this is needed, then I have to use the wmdr:ResponsibleParty type instead of directly using CI_ResponsibleParty. This is possible but of course creates more overhead. Pls let me know.

@joergklausen joergklausen removed the OSCAR/Surface Issue addresses OSCAR/Surface feature label Apr 23, 2021
@tomkralidis
Copy link
Contributor

I would create wmdr:regionalAssociation which can be optionally used by wmdr:ResponsibleParty. If we think this is also valuable as a property of wmdr:recordOwner then we would have to rethink given the object/property/value pattern of WMDR (and ISO for that matter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In validation
Development

No branches or pull requests

3 participants