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

Constraint in MD_MaintenanceInformation (ISO 19115-1) #423

Open
jetgeo opened this issue Oct 25, 2021 · 1 comment
Open

Constraint in MD_MaintenanceInformation (ISO 19115-1) #423

jetgeo opened this issue Oct 25, 2021 · 1 comment
Labels
19115-1 Geographic information — Metadata — Part 1: Fundamentals enhancement Proposal to add something new to an already published standard/document. WG7 ISO/TC 211 WG7, Information communities

Comments

@jetgeo
Copy link
Contributor

jetgeo commented Oct 25, 2021

From user @rmalyankar, ref HMMG issue 49 :

The constraint in MD_MaintenanceInformation (Fig. 10 of ISO 19115-1, and Table B.6) says at least one of maintenanceAndUpdateFrequency or userDefinedMaintenanceFrequency must be present: {count (maintenanceAndUpdateFrequency + userDefinedMaintenanceFrequency) >0}.

This should be updated to include maintenanceDate, that is, either

{count (maintenanceAndUpdateFrequency + userDefinedMaintenanceFrequency + maintenanceDate) >0}, or
changed to replace maintenanceAndUpdateFrequency (a codelist type) with the CI_Date (date/date-time) type maintenanceDate: {count (userDefinedMaintenanceFrequency + maintenanceDate) >0}
The reason: is to make MD_MaintenanceInformation more useful for the purpose of automatic checking for updates:

Only userDefinedMaintenanceFrequency and maintenanceDate are useful for automated maintenance, (the values in the MD_MaintenanceFrequencyCode codelist are too nebulous to use for the purposes of automatic checking for updates).
Having only one of userDefinedMaintenanceFrequency and maintenanceDate is sufficient for automated processing.
If maintenanceDate or userDefinedMaintenanceFrequency is encoded, the codelist value in maintenanceAndUpdateFrequency is redundant for automated processing (it may be useful for human viewing, though it would need to be validated in comparison to the period or date encoded in userDefinedMaintenanceFrequency and maintenanceDate).

@jetgeo jetgeo added 19115-1 Geographic information — Metadata — Part 1: Fundamentals enhancement Proposal to add something new to an already published standard/document. labels Oct 25, 2021
@jetgeo jetgeo added the WG7 ISO/TC 211 WG7, Information communities label Nov 4, 2021
@ejbleys
Copy link

ejbleys commented Nov 7, 2022

For consideration at next review:
One could consider two different maintenanceDate(s)
dateOfLastMaintenance [1..1] (which might be creation if there has been no additional maintenance)
dateOfPlannedMaintenance [0..*]
That should allow the existing constraint could hold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
19115-1 Geographic information — Metadata — Part 1: Fundamentals enhancement Proposal to add something new to an already published standard/document. WG7 ISO/TC 211 WG7, Information communities
Projects
None yet
Development

No branches or pull requests

2 participants