Skip to content

Commit

Permalink
test(service-metadata): ut support service for iso19139 and iso19115-3
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Jan 20, 2025
1 parent aa5da17 commit 3039ae6
Show file tree
Hide file tree
Showing 8 changed files with 1,716 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
import { ServiceRecord } from '@geonetwork-ui/common/domain/model/record'

export const GEO2FRANCE_SERVICE_EAUXUSEES_RECORD: ServiceRecord = {
uniqueIdentifier: 'be052079-f1f6-4f6f-a722-cbf11deb40eb',
resourceIdentifier: 'https://id.eaufrance.fr/meta/ODP_WFS',
kind: 'service',
otherLanguages: [],
defaultLanguage: 'fr',
recordUpdated: new Date('2024-05-29T11:58:54.326Z'),
resourceCreated: new Date('2019-12-02T00:00:00.000Z'),
title:
'Service web géographique OGC (WFS) du référentiel des Stations de traitement des eaux usées - Ouvrages de dépollution',
abstract:
"Le service web (WFS) du référentiel des Stations de traitement des eaux permet de télécharger les ouvrages impliqués dans la dépollution des eaux usées. Les différents concepts définis dans le scénario d'échange du référentiel Stations de traitement des eaux usées du Sandre sont diffusés par ce service.",
ownerOrganization: {
name: 'Sandre',
translations: {},
},
contacts: [
{
email: 'sandre@sandre.eaufrance.fr',
role: 'point_of_contact',
organization: {
name: 'Sandre',
translations: {},
},
address: 'OIEau, 15 rue Edouard Chamberland, 87000, France',
},
],
contactsForResource: [
{
email: 'sandre@sandre.eaufrance.fr',
role: 'custodian',
organization: {
name: 'Sandre',
translations: {},
},
address: 'OIEau, 15 Rue Edouad Chamberland, 87000, France',
},
],
keywords: [
{
label: 'WFS',
type: 'theme',
translations: {},
},
{
label: 'Ouvrage de dépollution',
type: 'theme',
translations: {},
},
{
label: 'Rapportage',
type: 'theme',
translations: {},
},
{
label: 'ODP',
type: 'theme',
translations: {},
},
{
label: 'SysTraitementEauxUsees',
type: 'theme',
translations: {},
},
{
label: 'Données ouvertes',
type: 'theme',
translations: {},
},
{
label: "Services d'utilité publique et services publics",
type: 'theme',
translations: {},
},
{
label: 'France métropolitaine',
type: 'theme',
translations: {},
},
{
label: 'hvd',
type: 'theme',
translations: {},
},
{
thesaurus: {
id: null,
name: 'Champ géographique',
},
label: 'National',
type: 'other',
translations: {},
},
{
thesaurus: {
id: 'Registre de thème INSPIRE',
name: 'GEMET - INSPIRE themes, version 1.0',
url: new URL('http://inspire.ec.europa.eu/theme'),
},
label: "Services d'utilité publique et services publics",
type: 'theme',
translations: {},
},
{
thesaurus: {
id: null,
name: 'COMMISSION REGULATION (EC) No 1205/2008 of 3 December 2008 implementing Directive 2007/2/EC of the European Parliament and of the Council as regards metadata, Part D 4, Classification of Spatial Data Services',
},
label: 'Service d’accès aux éléments',
type: 'other',
translations: {},
},
{
thesaurus: {
id: null,
name: 'INSPIRE priority data set',
},
label: 'Directive 2012/18/EU',
type: 'other',
translations: {},
},
{
thesaurus: {
id: null,
name: 'INSPIRE priority data set',
},
label:
'Urban waste-water treatment plants (Urban Waste Water Treatment Directive)',
type: 'other',
translations: {},
},
{
thesaurus: {
id: 'geonetwork.thesaurus.external.theme.high-value-dataset-category-skos-ap-eu',
name: 'High-value dataset categories',
url: new URL(
'https://www.sandre.eaufrance.fr/atlas/srv/api/registries/vocabularies/external.theme.high-value-dataset-category-skos-ap-eu'
),
},
label: 'Observation de la terre et environnement',
type: 'theme',
translations: {},
},
],
topics: [],
licenses: [],
legalConstraints: [
{
url: new URL(
'http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations'
),
text: 'No limitations on public access',
translations: {},
},
{
url: new URL(
'http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply'
),
text: 'No conditions apply to access and use',
translations: {},
},
],
securityConstraints: [],
spatialExtents: [
{
bbox: [-61.798, -21.371, 55.855, 51.088],
translations: {},
},
],
otherConstraints: [],
overviews: [],
onlineResources: [
{
type: 'endpoint',
endpointUrl: new URL(
'https://services.sandre.eaufrance.fr/geo/odp?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities'
),
protocol: 'wfs',
description:
'Ouvrages de dépollution - Système de traitement des eaux usées - France entière',
translations: {},
},
],
translations: {},
}
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
bbox: [
8.749927283333331, 46.853613697777774, 9.697637729444445, 47.5586926625,
],
translations: {}
translations: {},
},
],
}
Original file line number Diff line number Diff line change
Expand Up @@ -657,4 +657,10 @@ export const METAWAL_SERVICE_RECORD: ServiceRecord = {
landingPage: new URL(
'https://metawal.wallonie.be/geonetwork/srv/api/records/6d2b6fdb-f1ea-4d48-8697-a0c05512f1dc'
),
spatialExtents: [
{
bbox: [2.75, 49.45, 6.5, 50.85],
translations: {},
},
],
}
Loading

0 comments on commit 3039ae6

Please sign in to comment.