Hi,
There's no straightforward way of doing this, as the structure of the xml
will depend on the schema you want to use for the metadata. We have done
something similar for data from a csv file, using python libraries to
convert each row in the table into an xml file with metadata compliant with
UK Gemini (ISO19139) standard. See this repository on GitHub for the way
that we do it, but it's important to note that you'd need to adapt the
template xml file and the python script to work with your own metadata.
Once you have a folder full of xml files you can use the bulk import
approach to import them into Geonetwork.
https://github.com/AstunTechnology/environmentagency_csv_import
By the way, there might be other ways of doing it!
Jo
On Wed, May 4, 2016 at 7:11 PM, <pinheiro@anonymised.com> wrote:
Hi All,
I just started working with geonetwork. And I am in need to retrieve all
the
information available in a table "Comissoes" in MySQL database. How could
I retrieve all the metadata in this table in the
metadata catalog? How could I convert this table in a XML file?
Thank you very much for your time.
Julierme Pinheiro
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
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
--
*Jo Cook*
t:+44 7930 524 155/twitter:@archaeogeek
--
--
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech
<https://twitter.com/astuntech>
iShare - enterprise geographic intelligence platform
<https://astuntechnology.com/ishare/>
GeoServer, PostGIS and QGIS training
<https://astuntechnology.com/services/#training>
Helpdesk and customer portal
<http://support.astuntechnology.com/support/login>
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------
Astun User Group - Conference 2016
<https://astuntechnology.com/astun-user-group-conference-2016/>
<https://astuntechnology.com/astun-user-group-conference-2016/>
<http://uk.osgeo.org/foss4guk2016/> <http://uk.osgeo.org/foss4guk2016/>