[GeoNetwork-devel] Best practice to call the metadata import service

Hi all,

I am a keen GN beginner. With GeoNetwork built-in services, I need to set up
a command line application that is able to call a GN service to
import/publish a metadata record for a satellite image.

I am wondering what is the best practice to invoke a GN service, which
service specifically I need to call and in which format I need to prepare
the metadata (xml or mef)?

Thanks very much in advance for any pointer or direction!

Cheers,
Alex

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Best-practice-to-call-the-metadata-import-service-tp6938870p6938870.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hi Alex

In MEF format you can configure privilegies, add thumbnails to metadata, etc (see http://geonetwork-opensource.org/manuals/2.6.4/developer/mef/index.html)

But using MEF format if you have lots of metadata files can be hard to prepare all MEF files. You can find a python example to create mef files from xml metadata files in http://lab.usgin.org/groups/etl-debug-blog/create-geonetwork-mef-files-iso-19139-xml-through-python , maybe can help to automate the process.

The service mef.import accepts both mef and raw metadata xml formats. The service accepts 2 parameters:

  • mefFile: file to upload (mef or xml file)
  • file_type: “single” for loading a single XML file, “mef” to load MEF file (version 1 or 2). “mef” is the default value.

Another python script to use mef.import service: http://lab.usgin.org/groups/etl-debug-blog/import-mef-metadata-archive-geonetwork-through-python

Regards,
Jose García

On Fri, Oct 28, 2011 at 7:08 AM, alextc <alex.tao.chen@anonymised.com> wrote:

Hi all,

I am a keen GN beginner. With GeoNetwork built-in services, I need to set up
a command line application that is able to call a GN service to
import/publish a metadata record for a satellite image.

I am wondering what is the best practice to invoke a GN service, which
service specifically I need to call and in which format I need to prepare
the metadata (xml or mef)?

Thanks very much in advance for any pointer or direction!

Cheers,
Alex


View this message in context: http://osgeo-org.1803224.n2.nabble.com/Best-practice-to-call-the-metadata-import-service-tp6938870p6938870.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.


The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev


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 Jose,

Thanks for your advice!

I will take a detailed look at the resources you pointed out.

Cheers,
Alex

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Best-practice-to-call-the-metadata-import-service-tp6938870p6946507.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

Hello Alex, an option could be to use Talend (and the spatial module)
for this. There is some components available to create metadata record
and publish to GeoNetwork [2].

Cheers
Francois

[1] http://www.talendforge.org/wiki/doku.php?id=sdi:mainpage
[2] http://kent.dl.sourceforge.net/project/sdispatialetl/screencast/All%20Sdi%20Screencasts/sdi_CreatePublishMetadata.swf

2011/10/28 alextc <alex.tao.chen@anonymised.com>:

Hi all,

I am a keen GN beginner. With GeoNetwork built-in services, I need to set up
a command line application that is able to call a GN service to
import/publish a metadata record for a satellite image.

I am wondering what is the best practice to invoke a GN service, which
service specifically I need to call and in which format I need to prepare
the metadata (xml or mef)?

Thanks very much in advance for any pointer or direction!

Cheers,
Alex

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Best-practice-to-call-the-metadata-import-service-tp6938870p6938870.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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