diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/full_view/view.groovy b/iso19139.che/src/main/plugin/iso19139.che/formatter/full_view/view.groovy
deleted file mode 100644
index 6ea78a86fc..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/full_view/view.groovy
+++ /dev/null
@@ -1,20 +0,0 @@
-import iso19139.SummaryFactory
-
-def isoHandlers = new iso19139che.Handlers(handlers, f, env)
-SummaryFactory.summaryHandler({ it.parent() is it.parent() }, isoHandlers)
-
-isoHandlers.addDefaultHandlers()
-
-handlers.add name: 'gmd:topicCategory', select: 'gmd:topicCategory', group: true, priority: 5, { elems ->
- def listItems = elems
- .findAll { !it.text().isEmpty()}
- .collectMany{[it.text(), it.text().split("_")[0]]}
- .unique()
- .sort{f.codelistValueLabel("MD_TopicCategoryCode", it)}
- .collect {f.codelistValueLabel("MD_TopicCategoryCode", it)};
- handlers.fileResult("html/list-entry.html", [label: f.nodeLabel(elems[0]), listItems: listItems])
-}
-
-handlers.skip name: 'skip che:CHE_MD_Appraisal_AAP', select: { it -> it.name() == 'che:CHE_MD_Appraisal_AAP' }, {
- it.children()
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Functions.groovy b/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Functions.groovy
deleted file mode 100644
index ac60759957..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Functions.groovy
+++ /dev/null
@@ -1,26 +0,0 @@
-package iso19139che
-
-/**
- * @author Jesse on 12/22/2014.
- */
-class Functions extends iso19139.Functions {
- Functions() {
- isoUrlText = localizedUrlText;
- }
-
- def localizedUrlText = { el ->
- def uiCode = '#' + env.lang2.toUpperCase()
- def locStrings = el.'**'.findAll {
- it.name() == 'che:LocalisedURL' && !it.text().isEmpty() && !(it.text().length() == 1 && (it.text() =~ CHAR_PATTERN).matches())
- }
- def ptEl = locStrings.find { it.'@locale' == uiCode }
- if (ptEl != null) return ptEl.text()
- def charString = el.'**'.findAll {
- it.name() == 'gmd:URL' && !it.text().isEmpty() && !(it.text().length() == 1 && (it.text() =~ CHAR_PATTERN).matches())
- }
- if (!charString.isEmpty()) return charString[0].text()
- if (!locStrings.isEmpty()) return locStrings[0].text()
-
- el.'gmd:URL'.text()
- }
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Handlers.groovy b/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Handlers.groovy
deleted file mode 100644
index 6ea1c1b860..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Handlers.groovy
+++ /dev/null
@@ -1,165 +0,0 @@
-package iso19139che
-
-import groovy.util.slurpersupport.GPathResult
-import org.fao.geonet.api.records.formatters.groovy.MapConfig
-
-public class Handlers extends iso19139.Handlers {
- public Handlers(handlers, f, env) {
- super(handlers, f, env);
- isofunc = new Functions(handlers: handlers, f: f, env: env, commonHandlers: commonHandlers)
- matchers = new Matchers(handlers: handlers, f: f, env: env)
- this.rootEl = 'che:CHE_MD_Metadata'
- this.packageViews.remove('gmd:MD_Metadata')
- this.packageViews << 'che:legislationInformation'
- this.packageViews << this.rootEl
- }
-
- def addDefaultHandlers() {
- super.addDefaultHandlers();
- handlers.add name: 'Color Rejected Elements', select: matchers.isRejected, priority: 100, rejectedElementHandler
- }
-
- def rejectedElementHandler = { el ->
- try {
- matchers.handlingRejectedEls.set(true)
- def childData = handlers.processElements([el]);
- return handlers.fileResult('html/rejected.html', [
- childData : childData,
- label : f.translate("rejectedTitle"),
- rejectedDesc: f.translate("rejectedDesc")
- ])
- } finally {
- matchers.handlingRejectedEls.set(false)
- }
- }
-
- def pointOfContactGeneralData(party) {
- def generalChildren = [
- party.'gmd:organisationName',
- party.'che:organisationAcronym',
- party.'gmd:positionName',
- party.'gmd:role'
- ]
- def nameString = party.'che:individualFirstName'.text() + " " + party.'che:individualLastName'.text()
- def name = ""
- if (!nameString.trim().isEmpty()) {
- name = commonHandlers.func.textEl(f.nodeLabel('gmd:individualName', null), nameString)
- }
- def childData = name.toString() + handlers.processElements(generalChildren)
- handlers.fileResult('html/2-level-entry.html', [label: f.translate('general'), childData: childData])
- }
-
-
- def findParentXLink(GPathResult el) {
- if (el.name() != 'gmd:extent' || el['@xlink:href'].text().isEmpty()) {
- if (el.parent().is(el)) {
- return "";
- }
- return findParentXLink(el.parent())
- }
- return el['@xlink:href'].text()
- }
-
- // bbox bounds are checked against the limits of the swiss projection (EPSG:21781)
- def isWorldExtentUsed(extentEl) {
- def bboxEl = extentEl.'*'.'gmd:EX_GeographicBoundingBox'
- if (bboxEl.isEmpty()) {
- return false
- }
- // bounds are from the EPSG 21781: http://spatialreference.org/ref/epsg/ch1903-lv03/
- // a buffer of 200% was applied
- if (bboxEl.'gmd:westBoundLongitude'.'gco:Decimal'.text().toFloat() < 1.45 ||
- bboxEl.'gmd:eastBoundLongitude'.'gco:Decimal'.text().toFloat() > 15.01 ||
- bboxEl.'gmd:southBoundLatitude'.'gco:Decimal'.text().toFloat() < 43.79 ||
- bboxEl.'gmd:northBoundLatitude'.'gco:Decimal'.text().toFloat() > 49.82) {
- return true
- }
- return false
- }
-
- def geomOrBbox = { node -> node.parent().name() in ["gmd:geographicElement"] }
-
- def polygonEl(thumbnail) {
- return { el ->
- MapConfig mapConfig = env.mapConfiguration
- def mapproj = mapConfig.mapproj
- def background = mapConfig.background
- def width = thumbnail? mapConfig.thumbnailWidth : mapConfig.width
- def mdId = env.getMetadataUUID();
- def xpath = f.getXPathFrom(el);
-
- // Geocat specific: use 4326 projection when bbox bounds are too wide
- if (isWorldExtentUsed(el.parent().parent())) {
- mapproj = 'EPSG:4326'
- background = 'osm'
- }
-
- if (xpath != null) {
- def count = el.parent().parent().parent().parent().depthFirst().findAll(geomOrBbox).indexOf(el) + 1
-
- def locUrl= env.localizedUrl.substring(0, env.localizedUrl.lastIndexOf("/"))
- locUrl= locUrl.substring(0, locUrl.lastIndexOf("/"))
- def source = "$locUrl/api/records/$mdId/extents/${count}.png?mapsrs=$mapproj&width=$width&background=$background";
- def image = ""
-
- def inclusion = el.'gmd:extentTypeCode'.text() == '0' ? 'exclusive' : 'inclusive';
-
- def label = f.nodeLabel(el) + " (" + f.translate(inclusion) + ")"
- handlers.fileResult('html/2-level-entry.html', [label: label, childData: image])
- }
- }
- }
-
- def aggPolygonEl(thumbnail) {
- return { el ->
- MapConfig mapConfig = env.mapConfiguration
- def mapproj = mapConfig.mapproj
- def background = mapConfig.background
- def width = thumbnail? mapConfig.thumbnailWidth : mapConfig.width
- def mdId = env.getMetadataUUID();
- def xpath = f.getXPathFrom(el);
-
- // Geocat specific: use 4326 projection when bbox bounds are too wide
- if (isWorldExtentUsed(el.parent().parent())) {
- mapproj = 'EPSG:4326'
- background = 'osm'
- }
-
- if (xpath != null) {
- def locUrl= env.localizedUrl.substring(0, env.localizedUrl.lastIndexOf("/"))
- locUrl= locUrl.substring(0, locUrl.lastIndexOf("/"))
- def source = "$locUrl/api/records/$mdId/extents.png?mapsrs=$mapproj&width=$width&background=$background";
- def image = ""
-
- def inclusion = el.'gmd:extentTypeCode'.text() == '0' ? 'exclusive' : 'inclusive';
-
- def label = f.nodeLabel(el) + " (" + f.translate(inclusion) + ")"
- handlers.fileResult('html/2-level-entry.html', [label: label, childData: image])
- }
- }
- }
-
- def bboxEl(thumbnail) {
- return { el ->
- if (el.parent().'gmd:EX_BoundingPolygon'.text().isEmpty() &&
- el.parent().parent().'gmd:geographicElement'.'gmd:EX_BoundingPolygon'.text().isEmpty()) {
-
- def inclusion = el.'gmd:extentTypeCode'.text() == '0' ? 'exclusive' : 'inclusive';
-
- def label = f.nodeLabel(el) + " (" + f.translate(inclusion) + ")"
-
- def replacements = bbox(thumbnail, el)
- replacements['label'] = label
- replacements['pdfOutput'] = commonHandlers.func.isPDFOutput()
-
- // Geocat specific: use 4326 projection when bbox bounds are too wide
- if (isWorldExtentUsed(el.parent().parent())) {
- replacements['mapconfig']['mapproj'] = 'EPSG:4326'
- replacements['mapconfig']['background'] = 'osm'
- }
-
- handlers.fileResult("html/bbox.html", replacements)
- }
- }
- }
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Matchers.groovy b/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Matchers.groovy
deleted file mode 100644
index 650b09e7d6..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/groovy/iso19139che/Matchers.groovy
+++ /dev/null
@@ -1,22 +0,0 @@
-package iso19139che
-
-/**
- * @author Jesse on 12/22/2014.
- */
-class Matchers extends iso19139.Matchers {
- ThreadLocal handlingRejectedEls = new ThreadLocal();
-
- Matchers() {
- handlingRejectedEls.set(Boolean.FALSE)
- def isoIsUrlEl = super.isUrlEl;
- isUrlEl = { el ->
- isoIsUrlEl(el) ||
- !el.'che:PT_FreeURL'.text().isEmpty() ||
- !el.'che:LocalisedURL'.text().isEmpty()
- }
- }
-
- def isRejected = { el ->
- !handlingRejectedEls.get() && el.'@xlink:href'.text().contains('xml.reusable.deleted')
- }
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/html/rejected.html b/iso19139.che/src/main/plugin/iso19139.che/formatter/html/rejected.html
deleted file mode 100644
index cf52ab5588..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/html/rejected.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/en-strings.json b/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/en-strings.json
deleted file mode 100644
index c87689af28..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/en-strings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "rejectedTitle": "Rejected",
- "rejectedDesc": "This Shared Object has been reject by a Geocat administrator. An editor needs to modify the metadata to select a Shared Object"
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/fr-strings.json b/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/fr-strings.json
deleted file mode 100644
index ba1dda8009..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/fr-strings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "rejectedTitle": "Rejeté",
- "rejectedDesc": "This Shared Object has been reject by a Geocat administrator. An editor needs to modify the metadata to select a Shared Object"
-}
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/ge-strings.json b/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/ge-strings.json
deleted file mode 100644
index 1513737d88..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/ge-strings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "rejectedTitle": "zurückgewiesen",
- "rejectedDesc": "This Shared Object has been reject by a Geocat administrator. An editor needs to modify the metadata to select a Shared Object"
-}
\ No newline at end of file
diff --git a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/it-strings.json b/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/it-strings.json
deleted file mode 100644
index 43a32f7155..0000000000
--- a/iso19139.che/src/main/plugin/iso19139.che/formatter/loc/it-strings.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "rejectedTitle": "Rifiutato",
- "rejectedDesc": "This Shared Object has been reject by a Geocat administrator. An editor needs to modify the metadata to select a Shared Object"
-}