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

Set up tests for extract-iso19139 robot #678

Merged
merged 5 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ workflows:
- ruby-rails/test-gem:
name: test
context: dlss
before-test:
- run: sudo apt-get update -y
- run: sudo apt-get install -y xsltproc libxml2-utils
4 changes: 4 additions & 0 deletions config/ArcGIS/ARCGIS2FGDC.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<translator name="ARCGIS to FGDC" xslt="Transforms\ArcGIS2FGDC.xsl" logLevel="error" stopOnErrors="no">
<!-- empty -->
</translator>
4 changes: 4 additions & 0 deletions config/ArcGIS/ARCGIS2ISO19139.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0"?>
<translator name="ARCGIS to ISO19139" xslt="Transforms\ArcGIS2ISO19139.xsl" logLevel="error" stopOnErrors="no">
<!-- empty -->
</translator>
12 changes: 12 additions & 0 deletions config/ArcGIS/ESRI_ISO2ISO19139.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<translator name="ESRI_ISO to ISO 19139" xslt="Transforms\ESRI-ISO2em.xsl" logLevel="error" stopOnErrors="no">
<import href="Rules\default_model.txt"/>
<import href="Rules\ESRI-ISO_model.txt"/>
<import href="Rules\ESRI-ISO_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Countries.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Languages.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_UCUM.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<validate href="Rules\ISO19139_min_schema.txt"/>
<validate href="Rules\ESRI-ISO_schema.txt"/>
<template href="Templates\ISO19139_template.xml#MD_Metadata"/>
</translator>
13 changes: 13 additions & 0 deletions config/ArcGIS/FGDC2ESRI_ISO.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<translator name="FGDC to ESRI_ISO" xslt="Transforms\FGDC2em.xsl" logLevel="error" stopOnErrors="no">
<import href="Rules\default_model.txt"/>
<import href="Rules\ESRI-ISO_model.txt"/>
<import href="Rules\ESRI-ISO_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Countries.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Languages.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_UCUM.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\NAP_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<!-- <validate href="Rules\ISO19139_min_schema.txt"/>
<validate href="Rules\ESRI-ISO_schema.txt"/> -->
<template href="Templates\ESRI-ISO_template.xml#MD_Metadata"/>
</translator>
13 changes: 13 additions & 0 deletions config/ArcGIS/FGDC2ISO19139.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<translator name="FGDC to ISO 19139" xslt="Transforms\FGDC2em.xsl" logLevel="error" stopOnErrors="no">
<import href="Rules\default_model.txt"/>
<import href="Rules\ESRI-ISO_model.txt"/>
<import href="Rules\ESRI-ISO_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Countries.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Languages.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_UCUM.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\NAP_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<!-- <validate href="Rules\ISO19139_min_schema.txt"/>
<validate href="Rules\ESRI-ISO_schema.txt"/> -->
<template href="Templates\ISO19139_template.xml#MD_Metadata"/>
</translator>
12 changes: 12 additions & 0 deletions config/ArcGIS/ISO19139_2ESRI_ISO.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<translator name="ISO 19139 to ESRI_ISO" xslt="Transforms\ISO19139_2em.xsl" logLevel="error" stopOnErrors="no">
<import href="Rules\default_model.txt"/>
<import href="Rules\ESRI-ISO_model.txt"/>
<import href="Rules\ESRI-ISO_CodelistCatalog.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Countries.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_Languages.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<import href="Rules\ESRI-ISO_CodelistCatalog_UCUM.xml" type="CodelistCatalogue" base="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml"/>
<validate href="Rules\ISO19139_min_schema.txt"/>
<validate href="Rules\ESRI-ISO_schema.txt"/>
<template href="Templates\ESRI-ISO_template.xml#MD_Metadata"/>
</translator>
Loading