Francois,
Wfs harvest to bundled geoserver works ok - there was a problem with the datastore definition for gboundaries in our geoserver data_directory which meant that geoserver was returning wfs responses with a null namespace in them - hence the harvester and anything else that would have tried to use the bundled geoserver wfs would have been a bit confused. I've just found this and fixed it in commit rev 7740
If you setup your wfs harvester as per the attached image (might not make it onto the devel-group but I will include it in the doco now as an example for the wfs harvester) and make sure you have some more heap space than the default, you should get a successful harvest and subtemplates created.
Recognizing the schema of a subtemplate, indexing them and using them in the editor needs a little more thought and I'd like to work with you on this to make that happen. For the wfs (and thredds) harvester, they work fine though as we are using them as harvested fragments of auto generated metadata that can be combined with manually entered metadata in a record (in essence these harvesters can harvest pieces or fragments of a metadata record as opposed to complete metadata records like the other harvesters).
Cheers,
Simon
________________________________________
From: Francois Prunayre [fx.prunayre@anonymised.com]
Sent: Wednesday, 18 May 2011 1:39 AM
To: Devel geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] subtemplates
Hi all, anyone is using the subtemplate mechanism (which is hidden) ?
I'm investigating how to turn it on and see what is missing. I would
like to use it for ISO pointOfContact mainly as a start.
It looks like :
* they are stored in metadata table (with root column defining the
type of element)
* they are probably searchable using search services
* but probably badly indexed (if the iso19139 index-fields.xsl will
index the fragment - probably not because we expect gmd:MD_Metadata as
root element)
* for the admin, I'm thinking of a GUI to select the subtemplate's
type (ie. root), a simple full-text search interface and the metadata
editor
* for the metadata editor, it looks like the list of subtemplates was
added to the metadocument to probably create some kind of list in the
editor. I'll probably create popup selection like for the keywords or
CRS instead.
Any highlights on this features are welcomed. It looks to be used in
WFS fragments harvester - but I need a live demo in Bolsena to see how
it works I guess (I tried to harvest gn:boundaries layer from local
GeoServer with no success yet).
Thanks.
Francois
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
(attachments)