[GeoNetwork-users] QGIS and its qnd / xml files

Hi all,

QGIS 3 provides a complete interface to manage the metadata of a project., but the data are saved in a .qnd files while GN expects data in .xml files.

is there a way to turn a .qnd file into a .xml file ?

Qsphere 5 <https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; can open a .qnd metadata file and can convert it to .xml... but is there an automatic way to perform this operation, based on XSLT for example (Saxon XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?

thanks,

Ernest.

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

sorry, QGIS produces .qmd files, and not .qnd files ! :-[

i correct my question :

/QGIS 3 provides a complete interface to manage the metadata of a project.//, but the data are saved in a .qmd files while GN expects data in .xml files.
/

//

/is there a way to turn a .qmd file into a .xml file ?/

//

/Qsphere 5 <https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; //can open a .qmd metadata file and can convert it to .xml... //but is there an automatic way to perform this operation, based on XSLT for example (Saxon XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?/

//

//

//to illustrate my question, see in attachment the two concerned files.

Ernest.

Le 16/05/2018 à 15:46, Chiarello Ernest a écrit :

Hi all,

QGIS 3 provides a complete interface to manage the metadata of a project., but the data are saved in a .qnd files while GN expects data in .xml files.

is there a way to turn a .qnd file into a .xml file ?

Qsphere 5 <https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; can open a .qnd metadata file and can convert it to .xml... but is there an automatic way to perform this operation, based on XSLT for example (Saxon XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?

thanks,

Ernest.

--
Ernest CHIARELLO -Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
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

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

(attachments)

test_meta_qgis3.qmd (2.76 KB)
test_meta_qgis3.xml (13 KB)

Hi Ernest,

You could have a look to
https://github.com/talend-spatial/workspace-metadata-crawler
it was generating metadata on maps based on QGS file. Not sure how
different is QND files ?

HTH

Francois

Le mer. 16 mai 2018 à 16:26, Chiarello Ernest <
Ernest.Chiarello@anonymised.com> a écrit :

sorry, QGIS produces .qmd files, and not .qnd files ! :-[

i correct my question :

*QGIS 3 provides a complete interface to manage the metadata of a project.*
*, but the data are saved in a .qmd files while GN expects data in .xml
files. *

*is there a way to turn a .qmd file into a .xml file ?*

*Qsphere 5
<https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; **can
open a .qmd metadata file and can convert it to .xml... **but is there an
automatic way to perform this operation, based on XSLT for example (Saxon
XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?*

to illustrate my question, see in attachment the two concerned files.

Ernest.

Le 16/05/2018 à 15:46, Chiarello Ernest a écrit :

Hi all,

QGIS 3 provides a complete interface to manage the metadata of a project.,
but the data are saved in a .qnd files while GN expects data in .xml files.

is there a way to turn a .qnd file into a .xml file ?

Qsphere 5
<https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; can
open a .qnd metadata file and can convert it to .xml... but is there an
automatic way to perform this operation, based on XSLT for example (Saxon
XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?

thanks,

Ernest.

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
GeoNetwork-devel mailing listGeoNetwork-devel@anonymised.com://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

Hi

You can develop a xslt to handle this transformation and add it to
GeoNetwork, so for example the *Metadata Import* feature has an option
to *Apply
XSLT conversion* that uses xslt processes available in
https://github.com/geonetwork/core-geonetwork/tree/3.4.x/web/src/main/webapp/xsl/conversion/import

If you add your xslt process to that folder, you can import the qmd files
in GeoNetwork and select to apply your xslt, so it will be converted to
iso19139 when imported.

Would be nice if you can manage a pull request for this, seems a nice
feature to have.

Regards,
Jose García

On Wed, May 16, 2018 at 4:26 PM, Chiarello Ernest <
Ernest.Chiarello@anonymised.com> wrote:

sorry, QGIS produces .qmd files, and not .qnd files ! :-[

i correct my question :

*QGIS 3 provides a complete interface to manage the metadata of a project.*
*, but the data are saved in a .qmd files while GN expects data in .xml
files. *

*is there a way to turn a .qmd file into a .xml file ?*

*Qsphere 5
<https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; **can
open a .qmd metadata file and can convert it to .xml... **but is there an
automatic way to perform this operation, based on XSLT for example (Saxon
XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?*

to illustrate my question, see in attachment the two concerned files.

Ernest.

Le 16/05/2018 à 15:46, Chiarello Ernest a écrit :

Hi all,

QGIS 3 provides a complete interface to manage the metadata of a project.,
but the data are saved in a .qnd files while GN expects data in .xml files.

is there a way to turn a .qnd file into a .xml file ?

Qsphere 5
<https://qgis.projets.developpement-durable.gouv.fr/projects/qsphere/news&gt; can
open a .qnd metadata file and can convert it to .xml... but is there an
automatic way to perform this operation, based on XSLT for example (Saxon
XSLT <https://en.wikipedia.org/wiki/Saxon_XSLT&gt;\) ?

thanks,

Ernest.

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
GeoNetwork-devel mailing listGeoNetwork-devel@anonymised.com://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

--
Ernest CHIARELLO - Ernest.Chiarello@anonymised.com
UMR6049 ThéMA - Théoriser et Modéliser pour Aménager
CNRS / université de Bourgogne Franche-Comté
32 rue Mégevand 25030 BESANÇON Cedex

Tel : 03 81 66 53 66 Mob : 07 82 99 11 08

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--

*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.*