diff --git a/CHANGELOG.md b/CHANGELOG.md index 7477245a..79ee5c25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +* Additional glossary terms for publication frequency and link types (contribution from @effjot Florian Jenn) +* Add remaining INSPIRE contact roles and UK Open Government Licence (contribution from @mixedbredie Ross McDonald) + ## 1.2.2 - 2023-05-15 * Fix "array exceeds maximum" for layers with many features (contribution from @effjot Florian Jenn) diff --git a/pg_metadata/install/sql/pgmetadata/90_GLOSSARY.sql b/pg_metadata/install/sql/pgmetadata/90_GLOSSARY.sql index 384eb8b2..3568aab9 100755 --- a/pg_metadata/install/sql/pgmetadata/90_GLOSSARY.sql +++ b/pg_metadata/install/sql/pgmetadata/90_GLOSSARY.sql @@ -5,42 +5,66 @@ INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (104, 'dataset.categories', 'LOC', 'Location', NULL, NULL, 'Localisation', NULL, NULL, NULL, NULL, NULL, 'Ortsangaben', 'Positionierungsangaben und -dienste'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (105, 'dataset.categories', 'INT', 'Intelligence Military', NULL, NULL, 'Renseignement/Secteur militaire', NULL, NULL, NULL, NULL, NULL, 'Militär und Aufklärung', 'Militärbasen, militärische Einrichtungen und Aktivitäten'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (106, 'dataset.categories', 'TRA', 'Transportation', NULL, NULL, 'Transport', NULL, NULL, NULL, NULL, NULL, 'Verkehrswesen', 'Mittel und Wege zur Beförderung von Personen und/oder Gütern'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (107, 'dataset.categories', 'STR', 'Structure', NULL, NULL, 'Structure', NULL, NULL, NULL, NULL, NULL, 'Bauwerke', 'anthropogene Bauten'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (108, 'dataset.categories', 'BOU', 'Boundaries', NULL, NULL, 'Limites', NULL, NULL, NULL, NULL, NULL, 'Grenzen', 'gesetzlich festgelegte Grenzen'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (107, 'dataset.categories', 'STR', 'Structure', NULL, NULL, 'Structure', NULL, NULL, NULL, NULL, NULL, 'Bauwerke', 'Anthropogene Bauten'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (108, 'dataset.categories', 'BOU', 'Boundaries', NULL, NULL, 'Limites', NULL, NULL, NULL, NULL, NULL, 'Grenzen', 'Gesetzlich festgelegte Grenzen'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (109, 'dataset.categories', 'INL', 'Inland Waters', NULL, NULL, 'Eaux intérieures', NULL, NULL, NULL, NULL, NULL, 'Binnengewässer', 'Binnengewässerdaten, Gewässernetze und deren Eigenschaften'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (10, 'link.mime', 'tiff', 'image/tiff', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (110, 'dataset.categories', 'PLA', 'Planning Cadastre', NULL, NULL, 'Planification/Cadastre', NULL, NULL, NULL, NULL, NULL, 'Planungsunterlagen, Kataster', 'Informationen für die Flächennutzungsplanung'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (111, 'dataset.categories', 'GEO', 'Geoscientific Information', NULL, NULL, 'Informations géoscientifiques', NULL, NULL, NULL, NULL, NULL, 'Geowissenschaften', 'geowissenschaftliche Informationen'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (111, 'dataset.categories', 'GEO', 'Geoscientific Information', NULL, NULL, 'Informations géoscientifiques', NULL, NULL, NULL, NULL, NULL, 'Geowissenschaften', 'Geowissenschaftliche Informationen'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (112, 'dataset.categories', 'ELE', 'Elevation', NULL, NULL, 'Altitude', NULL, NULL, NULL, NULL, NULL, 'Höhenangaben', 'Höhenangabe bezogen auf ein Höhenreferenzsystem'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (113, 'dataset.categories', 'HEA', 'Health', NULL, NULL, 'Santé', NULL, NULL, NULL, NULL, NULL, 'Gesundheitswesen ', 'Gesundheit, Gesundheitsdienste, Humanökologie und Betriebssicherheit'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (114, 'dataset.categories', 'BIO', 'Biota', NULL, NULL, 'Biote', NULL, NULL, NULL, NULL, NULL, 'Biologie', 'Flora und/oder Fauna in der natürlichen Umgebung'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (115, 'dataset.categories', 'OCE', 'Oceans', NULL, NULL, 'Océans', NULL, NULL, NULL, NULL, NULL, 'Meere', 'Merkmale und Charakteristika von salzhaltigen Gewässern (außer Binnengewässern)'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (115, 'dataset.categories', 'OCE', 'Oceans', NULL, NULL, 'Océans', NULL, NULL, NULL, NULL, NULL, 'Meere', 'Merkmale und Charakteristika von salzhaltigen Gewässern (außer Binnengewässern)'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (116, 'dataset.categories', 'ENV', 'Environment', NULL, NULL, 'Environnement', NULL, NULL, NULL, NULL, NULL, 'Umwelt', 'Umweltressourcen, Umweltschutz und Umwelterhaltung'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (117, 'dataset.categories', 'UTI', 'Utilities Communication', NULL, NULL, 'Services d’utilité publique/Communication', NULL, NULL, NULL, NULL, NULL, 'Ver- und Entsorgung, Kommunikation', 'Energie-, Wasser- und Abfallsysteme, Kommunikationsinfrastruktur und -dienste'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (118, 'dataset.categories', 'ECO', 'Economy', NULL, NULL, 'Économie', NULL, NULL, NULL, NULL, NULL, 'Wirtschaft', 'wirtschaftliche Aktivitäten, Verhältnisse und Beschäftigung'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (119, 'dataset.categories', 'SOC', 'Society', NULL, NULL, 'Société', NULL, NULL, NULL, NULL, NULL, 'Gesellschaft', 'kulturelle und gesellschaftliche Merkmale'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (118, 'dataset.categories', 'ECO', 'Economy', NULL, NULL, 'Économie', NULL, NULL, NULL, NULL, NULL, 'Wirtschaft', 'Wirtschaftliche Aktivitäten, Verhältnisse und Beschäftigung'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (119, 'dataset.categories', 'SOC', 'Society', NULL, NULL, 'Société', NULL, NULL, NULL, NULL, NULL, 'Gesellschaft', 'Kulturelle und gesellschaftliche Merkmale'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (11, 'link.mime', 'svg+xml', 'image/svg+xml', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (120, 'dataset.categories', 'IMA', 'Imagery Base Maps Earth Cover', NULL, NULL, 'Imagerie/Cartes de base/Occupation des terres', NULL, NULL, NULL, NULL, NULL, 'Oberflächenbeschreibung', 'Basiskarten und -daten'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (121, 'dataset.confidentiality', 'OPE', 'Open', 'No restriction access for this dataset', 1, 'Ouvert', 'Aucune restriction d''accès pour ce jeu de données', NULL, NULL, NULL, NULL, 'offen', 'Keine Einschränkungen des Zugriffs auf diese Daten'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (122, 'dataset.confidentiality', 'RES', 'Restricted', 'The dataset access is restricted to some users', 2, 'Restreint', 'L''accès au jeu de données est restreint à certains utilisateurs', NULL, NULL, NULL, NULL, 'eingeschränkt', 'Der Zugriff auf die Daten ist auf ausgewählte Nutzer beschränkt'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (123, 'dataset.publication_frequency', 'NEC', 'When necessary', 'Update data when necessary', 1, 'Lorsque nécessaire', 'Mise à jour lorsque nécessaire', NULL, NULL, NULL, NULL, 'bei Bedarf', 'Daten werden bei Bedarf aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (124, 'dataset.publication_frequency', 'YEA', 'Yearly', 'Update data yearly', 2, 'Annuel', 'Mise à jour annuelle', NULL, NULL, NULL, NULL, 'jährlich', 'Daten werden jährlich aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (125, 'dataset.publication_frequency', 'MON', 'Monthly', 'Update data monthly', 4, 'Mensuel', 'Mise à jour mensuelle', NULL, NULL, NULL, NULL, 'monatlich', 'Daten werden monatlich aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (126, 'dataset.publication_frequency', 'WEE', 'Weekly', 'Update data weekly', 5, 'Hebdomadaire', 'Mise à jour hebdomadaire', NULL, NULL, NULL, NULL, 'wöchentlich', 'Daten werden wöchentlich aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (127, 'dataset.publication_frequency', 'DAY', 'Daily', 'Update data daily', 6, 'Journalier', 'Mise à jour journalière', NULL, NULL, NULL, NULL, 'täglich', 'Daten werden täglich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (121, 'dataset.confidentiality', 'OPE', 'Open', 'No restriction access for this dataset', 1, 'Ouvert', 'Aucune restriction d''accès pour ce jeu de données', NULL, NULL, NULL, NULL, 'Offen', 'Keine Einschränkungen des Zugriffs auf diese Daten'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (122, 'dataset.confidentiality', 'RES', 'Restricted', 'The dataset access is restricted to some users', 2, 'Restreint', 'L''accès au jeu de données est restreint à certains utilisateurs', NULL, NULL, NULL, NULL, 'Eingeschränkt', 'Der Zugriff auf die Daten ist auf ausgewählte Nutzer beschränkt'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (123, 'dataset.publication_frequency', 'NEC', 'When necessary', 'Update data when necessary', 1, 'Lorsque nécessaire', 'Mise à jour lorsque nécessaire', NULL, NULL, NULL, NULL, 'Bei Bedarf', 'Daten werden bei Bedarf aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (124, 'dataset.publication_frequency', 'YEA', 'Yearly', 'Update data yearly', 2, 'Annuel', 'Mise à jour annuelle', NULL, NULL, NULL, NULL, 'Jährlich', 'Daten werden jährlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (125, 'dataset.publication_frequency', 'MON', 'Monthly', 'Update data monthly', 5, 'Mensuel', 'Mise à jour mensuelle', NULL, NULL, NULL, NULL, 'Monatlich', 'Daten werden monatlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (126, 'dataset.publication_frequency', 'WEE', 'Weekly', 'Update data weekly', 7, 'Hebdomadaire', 'Mise à jour hebdomadaire', NULL, NULL, NULL, NULL, 'Wöchentlich', 'Daten werden wöchentlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (127, 'dataset.publication_frequency', 'DAY', 'Daily', 'Update data daily', 8, 'Journalier', 'Mise à jour journalière', NULL, NULL, NULL, NULL, 'Täglich', 'Daten werden täglich aktualisiert'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (128, 'dataset.license', 'LO-2.0', 'Licence Ouverte Version 2.0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (129, 'dataset.license', 'LO-2.1', 'Licence Ouverte Version 2.1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (12, 'link.mime', 'csv', 'text/csv', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (130, 'dataset.license', 'dl-de/by-2-0', 'Data licence Germany – attribution – version 2.0', NULL, 80, NULL, NULL, NULL, NULL, NULL, NULL, 'Datenlizenz Deutschland – Namensnennung – Version 2.0', NULL); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (131, 'dataset.license', 'proj', 'Restricted use for project-related work', NULL, 90, NULL, NULL, NULL, NULL, NULL, NULL, 'nur für Projektbearbeitung', NULL); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (132, 'dataset.publication_frequency', 'BIA', 'Biannually', 'Update data twice each year', 3, NULL, NULL, NULL, NULL, NULL, NULL, 'halbjährlich', 'Daten werden halbjährlich aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (133, 'dataset.publication_frequency', 'IRR', 'Irregular', 'Data is updated in intervals that are uneven in duration', 7, NULL, NULL, NULL, NULL, NULL, NULL, 'unregelmäßig', 'Daten werden unregelmäßig aktualisiert'); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (134, 'dataset.publication_frequency', 'NOP', 'Not planned', 'There are no plans to update the data', 8, NULL, NULL, NULL, NULL, NULL, NULL, 'nicht geplant', 'eine Aktualisierung der Daten ist nicht geplant'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (131, 'dataset.license', 'proj', 'Restricted use for project-related work', NULL, 90, NULL, NULL, NULL, NULL, NULL, NULL, 'Nur für Projektbearbeitung', 'Daten wurden nur für projektinterne Nutzung freigegeben'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (132, 'dataset.publication_frequency', 'BIA', 'Biannually', 'Update data twice each year', 3, NULL, NULL, NULL, NULL, NULL, NULL, 'Halbjährlich', 'Daten werden halbjährlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (133, 'dataset.publication_frequency', 'IRR', 'Irregular', 'Data is updated in intervals that are uneven in duration', 10, NULL, NULL, NULL, NULL, NULL, NULL, 'Unregelmäßig', 'Daten werden unregelmäßig aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (134, 'dataset.publication_frequency', 'NOP', 'Not planned', 'There are no plans to update the data', 11, NULL, NULL, NULL, NULL, NULL, NULL, 'Nicht geplant', 'Eine Aktualisierung der Daten ist nicht geplant'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (135, 'contact.contact_role', 'OR', 'Originator', 'Party who created the resource', 40, NULL, NULL, NULL, NULL, NULL, NULL, 'Urheber', 'Erzeuger der Ressource'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (136, 'contact.contact_role', 'PR', 'Processor', 'Party who has processed the data in a manner such that the resource has been modified', 50, NULL, NULL, NULL, NULL, NULL, NULL, 'Bearbeiter', 'Person oder Stelle, die die Ressource in einem Arbeitsschritt verändert hat'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (137, 'dataset.publication_frequency', 'QUA', 'Quarterly', 'Update data every three months', 4, NULL, NULL, NULL, NULL, NULL, NULL, 'Vierteljährlich', 'Daten werden vierteljährlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (138, 'dataset.publication_frequency', 'FTN', 'Fortnightly', 'Update data every two weeks', 6, NULL, NULL, NULL, NULL, NULL, NULL, 'Zweiwöchentlich', 'Daten werden vierzehntägig aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (139, 'dataset.publication_frequency', 'CON', 'Continual', 'Data is repeatedly and frequently updated', 9, NULL, NULL, NULL, NULL, NULL, NULL, 'Kontinuierlich', 'Daten werden ständig aktualisiert'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (13, 'link.mime', 'html', 'text/html', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (140, 'dataset.publication_frequency', 'UNK', 'Unknown', 'Frequency of maintenance for the data is not known', 90, NULL, NULL, NULL, NULL, NULL, NULL, 'Unbekannt', 'Ein Aktualisierungsintervall ist nicht bekannt'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (141, 'link.type', 'directory', 'A directory', 'Directory on the local filesystem', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ein Ordner', 'Ein Ordner auf dem lokalen Dateisystem'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (142, 'link.mime', 'directory', 'inode/directory', 'Directory (not an official MIME type)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (143, 'link.type', 'ESRI:SHP', 'ESRI Shapefile', 'Vector layer in Shapefile format (.shp)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ESRI Shapefile', 'Vektorlayer im Shapefile-Format (.shp)'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (144, 'dataset.license', 'NO', 'No or unknown license', 'Dataset has been published explicitly without license or no license conditions have been documented', 100, NULL, NULL, NULL, NULL, NULL, NULL, 'Keine oder unbekannte Lizenz', 'Die Daten wurden explizit ohne Lizenz freigegeben oder die Lizenz ist nicht bekannt'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (145, 'dataset.confidentiality', 'UNK', 'Unknown', 'Access restrictions for this dataset are not known', 30, NULL, NULL, NULL, NULL, NULL, NULL, 'Unbekannt', 'Zugriffsbeschränkungen für diese Daten sind nicht bekannt'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (146, 'contact.contact_role', 'AU', 'Author', 'Party who authored the resource', 45, 'Auteur', 'Partie qui est l’auteur de la ressource', NULL, NULL, NULL, NULL, 'Autor', 'Verfasser der Ressource'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (147, 'contact.contact_role', 'PC', 'Point of Contact', 'Party who can be contacted for acquiring knowledge about or acquisition of the resource', 5, 'Point de contact', 'Partie qu’il est possible de contacter pour s’informer sur la ressource ou en faire l’acquisition', NULL, NULL, NULL, NULL, 'Ansprechpartner', 'Kontakt für Informationen zur Ressource oder deren Bezugsmöglichkeiten'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (148, 'contact.contact_role', 'PI', 'Principal Investigator', 'Key party responsible for gathering information and conducting research', 47, 'Maître d’œuvre', 'Principale partie chargée de recueillir des informations et de mener les recherches', NULL, NULL, NULL, NULL, 'Projektleitung', 'Person oder Stelle, die verantwortlich für die Erhebung der Daten und die Untersuchung ist'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (149, 'contact.contact_role', 'PU', 'Publisher', 'Party who published the resource', 15, 'Éditeur', 'Partie qui a publié la ressource', NULL, NULL, NULL, NULL, 'Herausgeber', 'Person oder Stelle, welche die Ressource veröffentlicht'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (14, 'link.mime', 'plain', 'text/plain', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (150, 'contact.contact_role', 'RP', 'Resource Provider', 'Party that supplies the resource.', 25, 'Fournisseur de la ressource', 'Partie qui fournit la ressource', NULL, NULL, NULL, NULL, 'Ressourcenanbieter', 'Anbieter der Ressource'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (151, 'contact.contact_role', 'US', 'User', 'Party who uses the resource', 80, 'Utilisateur', 'Partie qui utilise la ressource', NULL, NULL, NULL, NULL, 'Nutzer', 'Nutzer der Ressource'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (152, 'dataset.license', 'OGL-UK-3.0', 'Open Government Licence v3.0', 'https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/', 85, NULL, NULL, NULL, NULL, NULL, NULL, 'Open Government Licence v3.0', NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (153, 'dataset.publication_frequency', 'Y02', 'Every 2 years', 'Update data every two years', 22, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 2 Jahre', 'Daten werden alle zwei Jahre aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (154, 'dataset.publication_frequency', 'Y03', 'Every 3 years', 'Update data every three years', 23, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 3 Jahre', 'Daten werden alle drei Jahre aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (155, 'dataset.publication_frequency', 'Y04', 'Every 4 years', 'Update data every four years', 24, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 4 Jahre', 'Daten werden alle vier Jahre aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (156, 'dataset.publication_frequency', 'Y05', 'Every 5 years', 'Update data every five years', 25, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 5 Jahre', 'Daten werden alle fünf Jahre aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (157, 'dataset.publication_frequency', 'Y06', 'Every 6 years', 'Update data every six years', 26, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 6 Jahre', 'Daten werden alle sechs Jahre aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (158, 'contact.contact_role', 'WA', 'WMS/WFS Administrator', 'Person or party who can aid with WMS/WFS issues', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'WMS/WFS-Ansprechpartner', 'Person oder Stelle, die bei WMS/WFS-Problemen weiterhelfen kann'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (159, 'contact.contact_role', 'GA', 'GIS Administrator', 'Person or party who can aid with GIS-related issues', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'GIS-technischer Ansprechpartner', 'Person oder Stelle, die bei GIS-technischen Angelegenheiten weiterhelfen kann'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (15, 'link.mime', 'txml', 'text/xml', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (160, 'dataset.license', 'free_notspec', 'Free use, no detailed license terms specified', NULL, 85, NULL, NULL, NULL, NULL, NULL, NULL, 'Frei nutzbar, keine konkreten Lizenzbedingungen angegeben', NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (16, 'link.mime', 'odt', 'application/vnd.oasis.opendocument.text', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (17, 'link.mime', 'ods', 'application/vnd.oasis.opendocument.spreadsheet', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (18, 'link.mime', 'odp', 'application/vnd.oasis.opendocument.presentation', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); @@ -104,7 +128,7 @@ INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (70, 'link.type', 'tilejson:2.0.0', 'tile mill map service description', 'link is description of a TileMill map service endpoint. Link type would be application/json; function would be information.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (71, 'link.type', 'iris:fdsnws-event', 'IRIS Seismic event service', 'Link returns event (earthquake) information from the catalogs submitted to the IRIS DMC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (72, 'link.type', 'QuakeML1.2', 'Earthquake markup language', 'XML markup language for earthquake hypocenter data', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (73, 'link.type', 'file', 'a file', 'CKAN metadata vocabulary for populating the type attribute on a CKAN resource; indicates that an http GET of this url should yield a bitstream', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'eine Datei', 'CKAN Metadata Vocabulary, um die Typattribute einer CKAN-Ressource zu füllen; zeigt an, dass ein http:GET dieses URL einen Bitstream liefern sollte'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (73, 'link.type', 'file', 'a file', 'CKAN metadata vocabulary for populating the type attribute on a CKAN resource; indicates that an http GET of this url should yield a bitstream', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Eine Datei', 'CKAN Metadata Vocabulary, um die Typattribute einer CKAN-Ressource zu füllen; zeigt an, dass ein http:GET dieses URL einen Bitstream liefern sollte'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (74, 'link.type', 'ISO 19115:2003/19139', 'ISO 19115 metadata in ISO19139 encoding', 'This is the CharacterString value used by Geonetwork OpenSource to identify ISO metadata record instances; apparently have to assume that its using the 2006 corrigendum with no specific profile conventions.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ISO19115-Metadaten in ISO19139-Kodierung', 'Dies ist der CharacterString, der von Geonetwork OpenSource genutzt wird, um ISO-Metadateneintragsinstanzen zu identifizieren; offensichtlich ist anzunehmen, dass es das Korrigendum von 2006 ohne spezifische Profil-Konventionen nutzt.'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (75, 'link.type', 'ISO-USGIN', 'USGIN-profile ISO 19115 metadata', 'This is the CharacterString Value mandated by the USGIN profile of ISO19115/19139 for instance documents to self-identify. ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (76, 'link.type', 'http', 'Hypertext transfer Protocol, v1.1', 'Use to indicate gmd:CI_OnlineResource URLs that are simple http links to a target resource representation for download; redundant as the URL prefix ''http:'' conveys the same information.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); @@ -131,7 +155,7 @@ INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (95, 'contact.contact_role', 'OW', 'Owner', NULL, 30, 'Propriétaire', NULL, NULL, NULL, NULL, NULL, 'Eigentümer', 'Eigentümer der Ressource'); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (96, 'dataset.license', 'CC0', 'Creative Commons CC Zero', NULL, 10, NULL, NULL, NULL, NULL, NULL, NULL, 'Creative Commons Zero', NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (97, 'dataset.license', 'CC-BY-4.0', 'Creative Commons Attribution 4.0', NULL, 20, NULL, NULL, NULL, NULL, NULL, NULL, 'Creative Commons Namensnennung – Version 4.0', NULL); -INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (98, 'dataset.license', 'CC-BY-SA-4.0', 'Creative Commons Attribution Share-Alike 4.0', NULL, 30, NULL, NULL, NULL, NULL, NULL, NULL, 'Creative Commons Namensnennung – Weitergabe unter gleichen Bedingungen – Version 4.0', NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (98, 'dataset.license', 'CC-BY-SA-4.0', 'Creative Commons Attribution Share-Alike 4.0', NULL, 30, NULL, NULL, NULL, NULL, NULL, NULL, 'Creative Commons Namensnennung – Weitergabe unter gleichen Bedingungen – Version 4.0', NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (99, 'dataset.license', 'ODC-BY', 'Open Data Commons Attribution License', NULL, 40, NULL, NULL, NULL, NULL, NULL, NULL, 'Open Data Commons Namensnennung', NULL); INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (9, 'link.mime', 'png', 'image/png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -SELECT pg_catalog.setval('pgmetadata.glossary_id_seq', 136, true); +SELECT pg_catalog.setval('pgmetadata.glossary_id_seq', 160, true); diff --git a/pg_metadata/install/sql/upgrade/upgrade_to_1.3.0.sql b/pg_metadata/install/sql/upgrade/upgrade_to_1.3.0.sql new file mode 100644 index 00000000..9b340db9 --- /dev/null +++ b/pg_metadata/install/sql/upgrade/upgrade_to_1.3.0.sql @@ -0,0 +1,116 @@ +BEGIN; + +-- GLOSSARY + +-- additional publication frequencies + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (137, 'dataset.publication_frequency', 'QUA', 'Quarterly', 'Update data every three months', 4, NULL, NULL, NULL, NULL, NULL, NULL, 'Vierteljährlich', 'Daten werden vierteljährlich aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (138, 'dataset.publication_frequency', 'FTN', 'Fortnightly', 'Update data every two weeks', 6, NULL, NULL, NULL, NULL, NULL, NULL, 'Zweiwöchentlich', 'Daten werden vierzehntägig aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (139, 'dataset.publication_frequency', 'CON', 'Continual', 'Data is repeatedly and frequently updated', 9, NULL, NULL, NULL, NULL, NULL, NULL, 'Kontinuierlich', 'Daten werden ständig aktualisiert'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (140, 'dataset.publication_frequency', 'UNK', 'Unknown', 'Frequency of maintenance for the data is not known', 90, NULL, NULL, NULL, NULL, NULL, NULL, 'Unbekannt', 'Ein Aktualisierungsintervall ist nicht bekannt'); + + +-- additional link types + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (141, 'link.type', 'directory', 'A directory', 'Directory on the local filesystem', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ein Ordner', 'Ein Ordner auf dem lokalen Dateisystem'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (142, 'link.mime', 'directory', 'inode/directory', 'Directory (not an official MIME type)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (143, 'link.type', 'ESRI:SHP', 'ESRI Shapefile', 'Vector layer in Shapefile format (.shp)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ESRI Shapefile', 'Vektorlayer im Shapefile-Format (.shp)'); + + +-- codes for unknown license and confidentiality + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (144, 'dataset.license', 'NO', 'No or unknown license', 'Dataset has been published explicitly without license or no license conditions have been documented', 100, NULL, NULL, NULL, NULL, NULL, NULL, 'Keine oder unbekannte Lizenz', 'Die Daten wurden explizit ohne Lizenz freigegeben oder die Lizenz ist nicht bekannt') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (145, 'dataset.confidentiality', 'UNK', 'Unknown', 'Access restrictions for this dataset are not known', 30, NULL, NULL, NULL, NULL, NULL, NULL, 'Unbekannt', 'Zugriffsbeschränkungen für diese Daten sind nicht bekannt') ON CONFLICT DO NOTHING; + + +-- remaining INSPIRE contact roles + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (146, 'contact.contact_role', 'AU', 'Author', 'Party who authored the resource', 45, 'Auteur', 'Partie qui est l’auteur de la ressource', NULL, NULL, NULL, NULL, 'Autor', 'Verfasser der Ressource'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (147, 'contact.contact_role', 'PC', 'Point of Contact', 'Party who can be contacted for acquiring knowledge about or acquisition of the resource', 5, 'Point de contact', 'Partie qu’il est possible de contacter pour s’informer sur la ressource ou en faire l’acquisition', NULL, NULL, NULL, NULL, 'Ansprechpartner', 'Kontakt für Informationen zur Ressource oder deren Bezugsmöglichkeiten'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (148, 'contact.contact_role', 'PI', 'Principal Investigator', 'Key party responsible for gathering information and conducting research', 47, 'Maître d’œuvre', 'Principale partie chargée de recueillir des informations et de mener les recherches', NULL, NULL, NULL, NULL, 'Projektleitung', 'Person oder Stelle, die verantwortlich für die Erhebung der Daten und die Untersuchung ist'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (149, 'contact.contact_role', 'PU', 'Publisher', 'Party who published the resource', 15, 'Éditeur', 'Partie qui a publié la ressource', NULL, NULL, NULL, NULL, 'Herausgeber', 'Person oder Stelle, welche die Ressource veröffentlicht'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (150, 'contact.contact_role', 'RP', 'Resource Provider', 'Party that supplies the resource.', 25, 'Fournisseur de la ressource', 'Partie qui fournit la ressource', NULL, NULL, NULL, NULL, 'Ressourcenanbieter', 'Anbieter der Ressource'); +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (151, 'contact.contact_role', 'US', 'User', 'Party who uses the resource', 80, 'Utilisateur', 'Partie qui utilise la ressource', NULL, NULL, NULL, NULL, 'Nutzer', 'Nutzer der Ressource'); + + +-- UK Open Government Licence + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (152, 'dataset.license', 'OGL-UK-3.0', 'Open Government Licence v3.0', 'https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/', 85, NULL, NULL, NULL, NULL, NULL, NULL, 'Open Government Licence v3.0', NULL); + + +-- additional non-ISO publication frequencies longer than 1 year + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (153, 'dataset.publication_frequency', 'Y02', 'Every 2 years', 'Update data every two years', 22, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 2 Jahre', 'Daten werden alle zwei Jahre aktualisiert') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (154, 'dataset.publication_frequency', 'Y03', 'Every 3 years', 'Update data every three years', 23, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 3 Jahre', 'Daten werden alle drei Jahre aktualisiert') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (155, 'dataset.publication_frequency', 'Y04', 'Every 4 years', 'Update data every four years', 24, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 4 Jahre', 'Daten werden alle vier Jahre aktualisiert') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (156, 'dataset.publication_frequency', 'Y05', 'Every 5 years', 'Update data every five years', 25, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 5 Jahre', 'Daten werden alle fünf Jahre aktualisiert') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (157, 'dataset.publication_frequency', 'Y06', 'Every 6 years', 'Update data every six years', 26, NULL, NULL, NULL, NULL, NULL, NULL, 'Alle 6 Jahre', 'Daten werden alle sechs Jahre aktualisiert') ON CONFLICT DO NOTHING; + + +-- additional non-standard contact roles used by German governments + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (158, 'contact.contact_role', 'WA', 'WMS/WFS Administrator', 'Person or party who can aid with WMS/WFS issues', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'WMS/WFS-Ansprechpartner', 'Person oder Stelle, die bei WMS/WFS-Problemen weiterhelfen kann') ON CONFLICT DO NOTHING; +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (159, 'contact.contact_role', 'GA', 'GIS Administrator', 'Person or party who can aid with GIS-related issues', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'GIS-technischer Ansprechpartner', 'Person oder Stelle, die bei GIS-technischen Angelegenheiten weiterhelfen kann') ON CONFLICT DO NOTHING; + +-- unspecified license for free use + +INSERT INTO pgmetadata.glossary (id, field, code, label_en, description_en, item_order, label_fr, description_fr, label_it, description_it, label_es, description_es, label_de, description_de) VALUES (160, 'dataset.license', 'free_notspec', 'Free use, no detailed license terms specified', NULL, 85, NULL, NULL, NULL, NULL, NULL, NULL, 'Frei nutzbar, keine konkreten Lizenzbedingungen angegeben', NULL); + + +SELECT pg_catalog.setval('pgmetadata.glossary_id_seq', 160 , true); + + +-- new item_order for existing publication frequencies + +CREATE TABLE pgmetadata.t_glossary (field text, code text, item_order smallint); +INSERT INTO pgmetadata.t_glossary (field, code, item_order) +VALUES +('dataset.publication_frequency', 'MON', 5), +('dataset.publication_frequency', 'WEE', 7), +('dataset.publication_frequency', 'DAY', 8), +('dataset.publication_frequency', 'IRR', 10), +('dataset.publication_frequency', 'NOP', 11) +ON CONFLICT DO NOTHING; + +UPDATE pgmetadata.glossary AS g +SET item_order = t.item_order +FROM pgmetadata.t_glossary AS t +WHERE g.field = t.field AND g.code = t.code; + +DROP TABLE pgmetadata.t_glossary; + + +-- Update existing German translations (mostly capitalise first letter) + +CREATE TABLE pgmetadata.t_glossary (field text, code text, label_de text, description_de text); +INSERT INTO pgmetadata.t_glossary (field, code, label_de, description_de) +VALUES +('dataset.categories', 'BOU', 'Grenzen', 'Gesetzlich festgelegte Grenzen'), +('dataset.categories', 'STR', 'Bauwerke', 'Anthropogene Bauten'), +('dataset.categories', 'GEO', 'Geowissenschaften', 'Geowissenschaftliche Informationen'), +('dataset.categories', 'SOC', 'Gesellschaft', 'Kulturelle und gesellschaftliche Merkmale'), +('dataset.categories', 'ECO', 'Wirtschaft', 'Wirtschaftliche Aktivitäten, Verhältnisse und Beschäftigung'), +('dataset.categories', 'OCE', 'Meere', 'Merkmale und Charakteristika von salzhaltigen Gewässern (außer Binnengewässern)'), +('link.type', 'file', 'Eine Datei', 'CKAN Metadata Vocabulary, um die Typattribute einer CKAN-Ressource zu füllen; zeigt an, dass ein http:GET dieses URL einen Bitstream liefern sollte'), +('dataset.confidentiality', 'OPE', 'Offen', 'Keine Einschränkungen des Zugriffs auf diese Daten'), +('dataset.confidentiality', 'RES', 'Eingeschränkt', 'Der Zugriff auf die Daten ist auf ausgewählte Nutzer beschränkt'), +('dataset.publication_frequency', 'DAY', 'Täglich', 'Daten werden täglich aktualisiert'), +('dataset.publication_frequency', 'MON', 'Monatlich', 'Daten werden monatlich aktualisiert'), +('dataset.publication_frequency', 'YEA', 'Jährlich', 'Daten werden jährlich aktualisiert'), +('dataset.publication_frequency', 'NEC', 'Bei Bedarf', 'Daten werden bei Bedarf aktualisiert'), +('dataset.publication_frequency', 'WEE', 'Wöchentlich', 'Daten werden wöchentlich aktualisiert'), +('dataset.publication_frequency', 'BIA', 'Halbjährlich', 'Daten werden halbjährlich aktualisiert'), +('dataset.publication_frequency', 'IRR', 'Unregelmäßig', 'Daten werden unregelmäßig aktualisiert'), +('dataset.publication_frequency', 'NOP', 'Nicht geplant', 'Eine Aktualisierung der Daten ist nicht geplant'), +('dataset.license', 'proj', 'Nur für Projektbearbeitung', 'Daten wurden nur für projektinterne Nutzung freigegeben'), +('dataset.license', 'CC-BY-SA-4.0', 'Creative Commons Namensnennung – Weitergabe unter gleichen Bedingungen – Version 4.0', NULL) +ON CONFLICT DO NOTHING; + +UPDATE pgmetadata.glossary AS g +SET (label_de, description_de) = (t.label_de, t.description_de) +FROM pgmetadata.t_glossary AS t +WHERE g.field = t.field AND g.code = t.code; + +DROP TABLE pgmetadata.t_glossary; + +COMMIT;