[GeoNetwork-users] Inspire ISO19139 xsl file

Hi list,

I would like to translate ArcGIS XML metadata into Inspire ISO19139 format using command lines. I can't use arcpy translator because the metadata with which I'm working aren't mine. Then, I push metadata on GeoNetwork using OWSlib.
I'm trying to work with SaxonB but I don't find any xsl file. Maybe I could create it but I would like to be sure that it doesn't exist somewhere.

Have you any idea or another idea ?

Thank you in advance,

--
/Sophie MOLLARD/

/Pôle Géomatique/
/MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
/Université de Franche-Comté/
/Tél : 03.81.66.51.55/

Hi Sophie

The metadata import allows to specify a xslt to translate the metadata and
there're some xslt processes defined for this. Indeed one of them is for
what you want.

The doc is for GeoNetwork 2.10, but should be similar in GeoNetwork 3, see
the *styleSheet *parameter:

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_insert_update_delete.html#insert-metadata-xml-metadata-insert

Check to send ArcCatalog8_to_ISO19115.xsl or ArcCatalog8_to_ISO19115 (not
sure if the file extension is required). That stylesheet should convert
from ArcGIS xml to iso19139 format.

Regards,
Jose García

On Fri, May 13, 2016 at 4:58 PM, Sophie Mollard <
sophie.mollard@anonymised.com> wrote:

Hi list,

I would like to translate ArcGIS XML metadata into Inspire ISO19139
format using command lines. I can't use arcpy translator because the
metadata with which I'm working aren't mine. Then, I push metadata on
GeoNetwork using OWSlib.
I'm trying to work with SaxonB but I don't find any xsl file. Maybe I
could create it but I would like to be sure that it doesn't exist
somewhere.

Have you any idea or another idea ?

Thank you in advance,

--
/Sophie MOLLARD/

/Pôle Géomatique/
/MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
/Université de Franche-Comté/
/Tél : 03.81.66.51.55/

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data
untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Jose,

thank you for your response. I had already seen the xslt ArcCatalog8_to_ISO19115 but it didn't work with my xml file (attached) so I thought it maybe was specific to ArcCatalog 8 and not ArcCatalog 10.3. When I try to import the xml file (with Geonetwork web interface), I have this error :

    Import report

    Autodetecting schema failed for metadata record with root element
    Metadata in namespace [Namespace: prefix "" is mapped to URI ""].

Indeed, I don't have any namespace. Is it really a problem ?

Thank you in advance for any idea,

/Sophie MOLLARD/

/Pôle Géomatique/
/MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
/Université de Franche-Comté/
/Tél : 03.81.66.51.55/

Le 13/05/2016 17:04, Jose Garcia a écrit :

Hi Sophie

The metadata import allows to specify a xslt to translate the metadata and there're some xslt processes defined for this. Indeed one of them is for what you want.

The doc is for GeoNetwork 2.10, but should be similar in GeoNetwork 3, see the *styleSheet *parameter:

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_insert_update_delete.html#insert-metadata-xml-metadata-insert

Check to send ArcCatalog8_to_ISO19115.xsl orArcCatalog8_to_ISO19115 (not sure if the file extension is required). That stylesheet should convert from ArcGIS xml to iso19139 format.

Regards,
Jose García

On Fri, May 13, 2016 at 4:58 PM, Sophie Mollard <sophie.mollard@anonymised.com <mailto:sophie.mollard@anonymised.com>> wrote:

    Hi list,

    I would like to translate ArcGIS XML metadata into Inspire ISO19139
    format using command lines. I can't use arcpy translator because the
    metadata with which I'm working aren't mine. Then, I push metadata on
    GeoNetwork using OWSlib.
    I'm trying to work with SaxonB but I don't find any xsl file. Maybe I
    could create it but I would like to be sure that it doesn't exist
    somewhere.

    Have you any idea or another idea ?

    Thank you in advance,

    --
    /Sophie MOLLARD/

    /Pôle Géomatique/
    /MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
    /Université de Franche-Comté/
    /Tél : 03.81.66.51.55/

    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition
    of MDM
    restrictions. Mobile Device Manager Plus allows you to control
    only the
    apps on BYO-devices by containerizing them, leaving personal data
    untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork

--
***
Vriendelijke groeten / Kind regards,

Jose García

<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664 <tel:+31318416664>

<https://www.facebook.com/geocatbv&gt;&lt;https://twitter.com/geocat_bv&gt;&lt;https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.
***

(attachments)

Haies_Franche_Comte.shp.xml (20.5 KB)

Hi Sophie

I tested the metadata and got the same issue, but no clear why yet. I need
to debug the code to check why is not applying the conversion. Asap will
test it and provide additional feedback.

Regards,
Jose García

On Tue, May 17, 2016 at 5:11 PM, Sophie Mollard <
sophie.mollard@anonymised.com> wrote:

Hi Jose,

thank you for your response. I had already seen the xslt
ArcCatalog8_to_ISO19115 but it didn't work with my xml file (attached) so I
thought it maybe was specific to ArcCatalog 8 and not ArcCatalog 10.3. When
I try to import the xml file (with Geonetwork web interface), I have this
error :

Import report

Autodetecting schema failed for metadata record with root element Metadata
in namespace [Namespace: prefix "" is mapped to URI ""].

Indeed, I don't have any namespace. Is it really a problem ?

Thank you in advance for any idea,

*Sophie MOLLARD*

*Pôle Géomatique*
*MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>*
*Université de Franche-Comté*
*Tél : 03.81.66.51.55*

Le 13/05/2016 17:04, Jose Garcia a écrit :

Hi Sophie

The metadata import allows to specify a xslt to translate the metadata and
there're some xslt processes defined for this. Indeed one of them is for
what you want.

The doc is for GeoNetwork 2.10, but should be similar in GeoNetwork 3, see
the *styleSheet *parameter:

http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_insert_update_delete.html#insert-metadata-xml-metadata-insert

Check to send ArcCatalog8_to_ISO19115.xsl or ArcCatalog8_to_ISO19115 (not
sure if the file extension is required). That stylesheet should convert
from ArcGIS xml to iso19139 format.

Regards,
Jose García

On Fri, May 13, 2016 at 4:58 PM, Sophie Mollard <
sophie.mollard@anonymised.com> wrote:

Hi list,

I would like to translate ArcGIS XML metadata into Inspire ISO19139
format using command lines. I can't use arcpy translator because the
metadata with which I'm working aren't mine. Then, I push metadata on
GeoNetwork using OWSlib.
I'm trying to work with SaxonB but I don't find any xsl file. Maybe I
could create it but I would like to be sure that it doesn't exist
somewhere.

Have you any idea or another idea ?

Thank you in advance,

--
/Sophie MOLLARD/

/Pôle Géomatique/
/MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
/Université de Franche-Comté/
/Tél : 03.81.66.51.55/

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data
untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
<http://sourceforge.net/projects/geonetwork&gt;
http://sourceforge.net/projects/geonetwork

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
T: +31 (0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt; Please consider the
environment before printing this email. *

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

The metadata format used in ArcGIS changed drastically at version 10, and I
bet that's why the transformation is failing. If you have access to ArcMap,
look for the file called ArcGIS2ISO19139.xsl in {ArcGIS Desktop install
directory}\Metadata\Translator\Transforms. You should be able to add this
file to Geonetwork/web/geonetwork/xsl/conversion/import and transform the
records using GeoNetwork's import interface.

On Mon, May 23, 2016 at 7:04 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Sophie

I tested the metadata and got the same issue, but no clear why yet. I need
to debug the code to check why is not applying the conversion. Asap will
test it and provide additional feedback.

Regards,
Jose García

On Tue, May 17, 2016 at 5:11 PM, Sophie Mollard <
sophie.mollard@anonymised.com> wrote:

> Hi Jose,
>
> thank you for your response. I had already seen the xslt
> ArcCatalog8_to_ISO19115 but it didn't work with my xml file (attached)
so I
> thought it maybe was specific to ArcCatalog 8 and not ArcCatalog 10.3.
When
> I try to import the xml file (with Geonetwork web interface), I have this
> error :
>
> Import report
>
> Autodetecting schema failed for metadata record with root element
Metadata
> in namespace [Namespace: prefix "" is mapped to URI ""].
>
> Indeed, I don't have any namespace. Is it really a problem ?
>
> Thank you in advance for any idea,
>
> *Sophie MOLLARD*
>
> *Pôle Géomatique*
> *MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>*
> *Université de Franche-Comté*
> *Tél : 03.81.66.51.55*
>
> Le 13/05/2016 17:04, Jose Garcia a écrit :
>
> Hi Sophie
>
> The metadata import allows to specify a xslt to translate the metadata
and
> there're some xslt processes defined for this. Indeed one of them is for
> what you want.
>
> The doc is for GeoNetwork 2.10, but should be similar in GeoNetwork 3,
see
> the *styleSheet *parameter:
>
>
>
http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_insert_update_delete.html#insert-metadata-xml-metadata-insert
>
> Check to send ArcCatalog8_to_ISO19115.xsl or ArcCatalog8_to_ISO19115 (not
> sure if the file extension is required). That stylesheet should convert
> from ArcGIS xml to iso19139 format.
>
> Regards,
> Jose García
>
>
> On Fri, May 13, 2016 at 4:58 PM, Sophie Mollard <
> sophie.mollard@anonymised.com> wrote:
>
>> Hi list,
>>
>> I would like to translate ArcGIS XML metadata into Inspire ISO19139
>> format using command lines. I can't use arcpy translator because the
>> metadata with which I'm working aren't mine. Then, I push metadata on
>> GeoNetwork using OWSlib.
>> I'm trying to work with SaxonB but I don't find any xsl file. Maybe I
>> could create it but I would like to be sure that it doesn't exist
>> somewhere.
>>
>> Have you any idea or another idea ?
>>
>> Thank you in advance,
>>
>> --
>> /Sophie MOLLARD/
>>
>> /Pôle Géomatique/
>> /MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
>> /Université de Franche-Comté/
>> /Tél : 03.81.66.51.55/
>>
>>
>>
------------------------------------------------------------------------------
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of
MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> _______________________________________________
>> GeoNetwork-users mailing list
>> GeoNetwork-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>> GeoNetwork OpenSource is maintained at
>> <http://sourceforge.net/projects/geonetwork&gt;
>> http://sourceforge.net/projects/geonetwork
>>
>
>
>
> --
>
>
>
>
>
>
>
>
>
>
>
>
>
> * Vriendelijke groeten / Kind regards, Jose García
> <http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
> T: +31 (0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
> <https://twitter.com/geocat_bv&gt;
> <https://plus.google.com/u/1/+GeocatNetbv/posts&gt; Please consider the
> environment before printing this email. *
>
>
>

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data
untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
Kevin Dyke
Spatial Data Analyst/Curator
John R. Borchert Map Library, University of Minnesota Libraries
Office: 612.301.3932
Email: dykex005@anonymised.com
Web: kevinrdyke.com

Hi,

thank you for your responses. Indeed, it works with the ArcGIS2ISO19139.xsl which is in the ArcGIS Desktop install directory.
I can import ArcGIS metadata into GeoNetwork with the web interface. I can also translate my ArcGIS metadata into ISO19139 metadata with SaxonB using the xsl.

Regards,

/Sophie MOLLARD/

/Pôle Géomatique/
/MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
/Université de Franche-Comté/
/Tél : 03.81.66.51.55/

Le 23/05/2016 15:54, Kevin Dyke a écrit :

The metadata format used in ArcGIS changed drastically at version 10, and I bet that's why the transformation is failing. If you have access to ArcMap, look for the file called ArcGIS2ISO19139.xsl in {ArcGIS Desktop install directory}\Metadata\Translator\Transforms. You should be able to add this file to Geonetwork/web/geonetwork/xsl/conversion/import and transform the records using GeoNetwork's import interface.

On Mon, May 23, 2016 at 7:04 AM, Jose Garcia <jose.garcia@anonymised.com <mailto:jose.garcia@anonymised.com>> wrote:

    Hi Sophie

    I tested the metadata and got the same issue, but no clear why
    yet. I need
    to debug the code to check why is not applying the conversion.
    Asap will
    test it and provide additional feedback.

    Regards,
    Jose García

    On Tue, May 17, 2016 at 5:11 PM, Sophie Mollard <
    sophie.mollard@anonymised.com
    <mailto:sophie.mollard@anonymised.com>> wrote:

    > Hi Jose,
    >
    > thank you for your response. I had already seen the xslt
    > ArcCatalog8_to_ISO19115 but it didn't work with my xml file
    (attached) so I
    > thought it maybe was specific to ArcCatalog 8 and not ArcCatalog
    10.3. When
    > I try to import the xml file (with Geonetwork web interface), I
    have this
    > error :
    >
    > Import report
    >
    > Autodetecting schema failed for metadata record with root
    element Metadata
    > in namespace [Namespace: prefix "" is mapped to URI ""].
    >
    > Indeed, I don't have any namespace. Is it really a problem ?
    >
    > Thank you in advance for any idea,
    >
    > *Sophie MOLLARD*
    >
    > *Pôle Géomatique*
    > *MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>*
    > *Université de Franche-Comté*
    > *Tél : 03.81.66.51.55*
    >
    > Le 13/05/2016 17:04, Jose Garcia a écrit :
    >
    > Hi Sophie
    >
    > The metadata import allows to specify a xslt to translate the
    metadata and
    > there're some xslt processes defined for this. Indeed one of
    them is for
    > what you want.
    >
    > The doc is for GeoNetwork 2.10, but should be similar in
    GeoNetwork 3, see
    > the *styleSheet *parameter:
    >
    http://geonetwork-opensource.org/manuals/2.10.4/eng/developer/xml_services/metadata_xml_insert_update_delete.html#insert-metadata-xml-metadata-insert
    >
    > Check to send ArcCatalog8_to_ISO19115.xsl or
    ArcCatalog8_to_ISO19115 (not
    > sure if the file extension is required). That stylesheet should convert
    > from ArcGIS xml to iso19139 format.
    >
    > Regards,
    > Jose García
    >
    > On Fri, May 13, 2016 at 4:58 PM, Sophie Mollard <
    > sophie.mollard@anonymised.com
    <mailto:sophie.mollard@anonymised.com>> wrote:
    >
    >> Hi list,
    >>
    >> I would like to translate ArcGIS XML metadata into Inspire ISO19139
    >> format using command lines. I can't use arcpy translator
    because the
    >> metadata with which I'm working aren't mine. Then, I push
    metadata on
    >> GeoNetwork using OWSlib.
    >> I'm trying to work with SaxonB but I don't find any xsl file.
    Maybe I
    >> could create it but I would like to be sure that it doesn't exist
    >> somewhere.
    >>
    >> Have you any idea or another idea ?
    >>
    >> Thank you in advance,
    >>
    >> --
    >> /Sophie MOLLARD/
    >>
    >> /Pôle Géomatique/
    >> /MSHE C. N. Ledoux (USR 3124) <http://mshe.univ-fcomte.fr>/
    >> /Université de Franche-Comté/
    >> /Tél : 03.81.66.51.55/
    >>
    ------------------------------------------------------------------------------
    >> Mobile security can be enabling, not merely restricting.
    Employees who
    >> bring their own devices (BYOD) to work are irked by the
    imposition of MDM
    >> restrictions. Mobile Device Manager Plus allows you to control
    only the
    >> apps on BYO-devices by containerizing them, leaving personal data
    >> untouched!
    >> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    >> _______________________________________________
    >> GeoNetwork-users mailing list
    >> GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    >>https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    >> GeoNetwork OpenSource is maintained at
    >> <http://sourceforge.net/projects/geonetwork&gt;
    >> http://sourceforge.net/projects/geonetwork
    >>
    >
    > --
    >
    > * Vriendelijke groeten / Kind regards, Jose García
    > <http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
    > T: +31 (0)318 416664 <tel:%2B31%20%280%29318%20416664>
    <+31318416664 <tel:%2B31318416664>>
    <https://www.facebook.com/geocatbv&gt;
    > <https://twitter.com/geocat_bv&gt;
    > <https://plus.google.com/u/1/+GeocatNetbv/posts&gt; Please consider the
    > environment before printing this email. *
    >

    --

    *Vriendelijke groeten / Kind regards,Jose García
    <http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe
    NetherlandsT: +31
    (0)318 416664 <+31318416664 <tel:%2B31318416664>>
    <https://www.facebook.com/geocatbv&gt;
    <https://twitter.com/geocat_bv&gt;
    <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
    environment before printing this email.*
    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition
    of MDM
    restrictions. Mobile Device Manager Plus allows you to control
    only the
    apps on BYO-devices by containerizing them, leaving personal data
    untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork

--
Kevin Dyke
Spatial Data Analyst/Curator
John R. Borchert Map Library, University of Minnesota Libraries
Office: 612.301.3932
Email: dykex005@anonymised.com <mailto:dykex005@anonymised.com>
Web: kevinrdyke.com <http://kevinrdyke.com/&gt;