[GeoNetwork-devel] Custom XSLT in OGCWxS harvesting task definition

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com…31…
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

Hi Tomas

The xslt process is not supported in this harvester, but can be extended to support it. The UI indeed has the field, but is hidden (https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/xsl/harvesting/ogcwxs/ogcwxs.xsl#L160). The java code would require to be extended to support it.

Other option is that you modify the xslt that GeoNetwork uses to transforms from WxS to ISO19139, to customise it with your custom extensions (see in the folder https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/convert/OGCWxSGetCapabilitiesto19119).

Regards,
Jose García

···

On Fri, Oct 17, 2014 at 9:39 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

I recently created an extension that lets you do this for WFS. I believe I
added WMS support as well. I also included the capability to harvest to a
template from WFS. I modified the 10.2 harvesting gui to allow the selection
of a template. I got it working well, but more could be done. To be really
useful in this manner it would need a mechanism to allow more flexibility in
rules for populating against a template. If interested, I could pull out
that code when I get back in a few days.

Cheers,
Byron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-XSLT-in-OGCWxS-harvesting-task-definition-tp5168082p5168346.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Josa and Byron,

Many thanks for your prompt answers, I must say that for me the most doable version would be to extend the XSLT and define a condition based on the data theme a particular WMS endpoint represents and based on this decide which custom elements to add.

Nevertheless, I personally think, even If myself I will not be able to do that, but that’s why I asked my colleagues (Cc) to whom the Java programming does not give the creeps (which does in my case); we could extend the code written by Byron based on our needs, which could in the end enrich the entire GeoNetwork project for a new, in my opinion very useful function concerning automatization in metadata creation.

What do you think? If you agree, what is the standard procedure, and could you give some hints, guides how we should do that?

Thanks in advance for your work and support,
Tomas

···

On 20 October 2014 10:06, ByronCinNZ <cochranes4@anonymised.com.> wrote:

I recently created an extension that lets you do this for WFS. I believe I
added WMS support as well. I also included the capability to harvest to a
template from WFS. I modified the 10.2 harvesting gui to allow the selection
of a template. I got it working well, but more could be done. To be really
useful in this manner it would need a mechanism to allow more flexibility in
rules for populating against a template. If interested, I could pull out
that code when I get back in a few days.

Cheers,
Byron


View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-XSLT-in-OGCWxS-harvesting-task-definition-tp5168082p5168346.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com1…
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

Hello Jose,

It seems we decided to try both ways of implementing our requirement.

I’ve downloaded all the relevant XSL templates to my local XML Spy editor in order to run the transformation locally.

However, I cannot geet it working.

What is the XSLT version and processor used in the GeoNetwork project?

Thanks a lot,
Tomas

···

On 20 October 2014 08:20, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Tomas

The xslt process is not supported in this harvester, but can be extended to support it. The UI indeed has the field, but is hidden (https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/xsl/harvesting/ogcwxs/ogcwxs.xsl#L160). The java code would require to be extended to support it.

Other option is that you modify the xslt that GeoNetwork uses to transforms from WxS to ISO19139, to customise it with your custom extensions (see in the folder https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/convert/OGCWxSGetCapabilitiesto19119).

Regards,
Jose García


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy
e-mail: tomas.kliment@anonymised.com

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

On Fri, Oct 17, 2014 at 9:39 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hi Tomas

Using the xsl of GeoNetwork is not that easy in XmlSpy as uses some saxon extensions.

What I do usually is to develop the xslt to process the metadata in XmlSpy or similar tool (should not be required any GeoNetwork xslt for this) and after add it to the folder where Geonetwork has the processes.

Regards,
Jose García

···

On Thu, Oct 30, 2014 at 9:05 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Hello Jose,

It seems we decided to try both ways of implementing our requirement.

I’ve downloaded all the relevant XSL templates to my local XML Spy editor in order to run the transformation locally.

However, I cannot geet it working.

What is the XSLT version and processor used in the GeoNetwork project?

Thanks a lot,
Tomas

On 20 October 2014 08:20, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Tomas

The xslt process is not supported in this harvester, but can be extended to support it. The UI indeed has the field, but is hidden (https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/xsl/harvesting/ogcwxs/ogcwxs.xsl#L160). The java code would require to be extended to support it.

Other option is that you modify the xslt that GeoNetwork uses to transforms from WxS to ISO19139, to customise it with your custom extensions (see in the folder https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/convert/OGCWxSGetCapabilitiesto19119).

Regards,
Jose García


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy

Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

e-mail: tomas.kliment@anonymised.com5…

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

On Fri, Oct 17, 2014 at 9:39 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hi Jose,
Thanks for answer,
My concern was that I’d rather update existing xsl for ogcwxs the develop a new one from the scratch from 2 reasons, the first I mostly need to add static information for a specific theme datasets, and the second is that in one previous project I developed custom xsl using map force, which ran perfectly in altova, but I did not manage it to be executed by geonetwork during the local folder data harvesting task.
You think my concerns unbounded?
Thanks for suggestions,
T.

···

On Thu, Oct 30, 2014 at 9:05 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Hello Jose,

It seems we decided to try both ways of implementing our requirement.

I’ve downloaded all the relevant XSL templates to my local XML Spy editor in order to run the transformation locally.

However, I cannot geet it working.

What is the XSLT version and processor used in the GeoNetwork project?

Thanks a lot,
Tomas

GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On 20 October 2014 08:20, Jose Garcia <jose.garcia@anonymised.com…> wrote:

Hi Tomas

The xslt process is not supported in this harvester, but can be extended to support it. The UI indeed has the field, but is hidden (https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/xsl/harvesting/ogcwxs/ogcwxs.xsl#L160). The java code would require to be extended to support it.

Other option is that you modify the xslt that GeoNetwork uses to transforms from WxS to ISO19139, to customise it with your custom extensions (see in the folder https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/convert/OGCWxSGetCapabilitiesto19119).

Regards,
Jose García


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy

Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

e-mail: tomas.kliment@anonymised.com5…

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

On Fri, Oct 17, 2014 at 9:39 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com…
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

Hello Jose,

I’m trying to follow your suggestions to develop my custom XSLTs. Actually, they are the same ones already available by default in GeoNetwork, I’m just adding static information for abstract, lineage, keywords etc.
However, in our project we have about 10 data themes, out of which one has different those static info. Therefore I need to develop a sort of “switch” main xslt, which for WMS capabilities harvesting is the file: OGCWMSGetCapabilitiesLayer-to-19139.xsl for dataset metadata generation, is that correct?
I tried to apply a condition based on the preposition I’ve defined in each WMS endpoint I want harvest, e.g. LCR, and base on this apply the template of a specific mode:

Here is extension of my the template:

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version=“1.0” xmlns:xsl=“http://www.w3.org/1999/XSL/Transform”>
<xsl:include href=“OGCWxSGetCapabilitiesLayer-to-19139.xsl”/>
<xsl:include href=“LCR/LCR_OGCWxSGetCapabilitiesLayer-to-19139.xsl”/>
<xsl:output method=“xml” version=“1.0” encoding=“UTF-8” indent=“yes”/>
<xsl:template match=“/”>
xsl:choose
<xsl:when test=“/WMS_Capabilities/Service/contains(Title,‘LCR:’)”>
<xsl:apply-templates mode=“isLCRdataset”/>
</xsl:when>
xsl:otherwise
xsl:apply-templates/
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

And then in my LCR template (OGCWxSGetCapabilitiesLayer-to-19139.xsl) I added the mode “isLCRdataset” to each xsl:template definition.

However GeoNetwork does not accept this way, and creates on one metadata record for the service itself (using OGCWxSGetCapabilities-to-19119.xsl) and ignores my custom templates for datasets.

You mentioned before, you have developed already custom XSL templates and integrated them into GeoNetowork, did you also have to deal with several templates depending on the data theme you create metadata for?

Thanks in advance for any hints and help,
Tomas

···

On 31 October 2014 08:34, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Tomas

Using the xsl of GeoNetwork is not that easy in XmlSpy as uses some saxon extensions.

What I do usually is to develop the xslt to process the metadata in XmlSpy or similar tool (should not be required any GeoNetwork xslt for this) and after add it to the folder where Geonetwork has the processes.

Regards,
Jose García

On Thu, Oct 30, 2014 at 9:05 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Hello Jose,

It seems we decided to try both ways of implementing our requirement.

I’ve downloaded all the relevant XSL templates to my local XML Spy editor in order to run the transformation locally.

However, I cannot geet it working.

What is the XSLT version and processor used in the GeoNetwork project?

Thanks a lot,
Tomas

GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On 20 October 2014 08:20, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Tomas

The xslt process is not supported in this harvester, but can be extended to support it. The UI indeed has the field, but is hidden (https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/xsl/harvesting/ogcwxs/ogcwxs.xsl#L160). The java code would require to be extended to support it.

Other option is that you modify the xslt that GeoNetwork uses to transforms from WxS to ISO19139, to customise it with your custom extensions (see in the folder https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/convert/OGCWxSGetCapabilitiesto19119).

Regards,
Jose García


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy

Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

e-mail: tomas.kliment@anonymised.com5…

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy

On Fri, Oct 17, 2014 at 9:39 PM, Tomas Kliment <tomas.kliment@anonymised.com> wrote:

Dear GeoNetwork developers,

I was wondering if there is a way to define a custom XSLT for the harvesting tasks of OGC WxS type, as is possible to set it for the Local Folder harvesting task?

In my project, I’ve got a workflow where the data producers provide the datasets in a specific folder, which I afterwards use to publish data as WMS Layers using GeoServer. The WMS endpoint exposed by GeoServer is then harvested by GeoNetwork to provide documentation, and searching capabilities. However, as you know there is not much metadata that can be harvested from the WMS GetCapabilities XML, therefore I’d like to extend the metadata with a custom XSLT I want to develop and execute them during the harvesting process.

Is there a config way to ensure this, or it has to be extended in the code?

Thanks a lot for your answers and support,
Wish you a nice weekend,
Tomas


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy


Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net


[

Tomas Kliment on about.me

Ing. Tomas Kliment, PhD.
about.me/klimeto

](http://about.me/klimeto) Contact information:

Permanent address:

Juzna 4, 04801 Roznava
Slovakia
Current postal address:
Via Al Moro 1,
21038 Arolo (VA), Italy
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
URL: http://klimeto.com/


Work:
Grandholder
The National Research Council of Italy
Institute for the Dynamics of Environmental Processes (CNR-IDPA)
Via Mario Bianco, 9
20131 Milan, Italy
e-mail: tomas.kliment@anonymised.com

Office address:
Institute of Electromagnetic Sensing of the Environment (CNR-IREA)
Via Bassini, 15
20133 Milan, Italy