I experienced something similar adding records that were created using geotoolkit. I found the problem by reading (and understanding) the validation messages that are generated when a record is validated. One of my validation messages stated that the title element was not recognized. I fixed the problem by adjusting my geotoolkit code so that I created an identification record that used DataIdentification (http://www.geoapi.org/snapshot/javadoc/org/opengis/metadata/identification/DataIdentification.html) rather than Identification (http://www.geoapi.org/snapshot/javadoc/org/opengis/metadata/identification/Identification.html).
Cheers
Brad
Brad Lee
Research Projects Officer
Intelligent Sensing and Systems Laboratory
CSIRO ICT Centre
Phone: +61 3 6232 5510 | Fax: +61 3 6232 5229 | Mobile: 0432 992 469
brad.lee@anonymised.com<mailto:brad.lee@anonymised.com> | www.csiro.au | http://research.ict.csiro.au/research/labs/tasictc <www.csiro.au/science/TasICTCentre.html> | http://www.ict.csiro.au/staff/brad.lee/
Castray Esplanade, Battery Point, Hobart, TAS
GPO Box 1538, Hobart TAS 7001, Australia
PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.
Please consider the environment before printing this email.
[GeoNetwork-users] Record title is not being recognized
From: Ricardo Filipe Soares Garcia da <ricardo.silva@anonymised.com> - 2012-04-23 16:32
Hello list
I've set up a geonetwork instance using Postgis as the database. I
have a lot of data that I want to insert into the catalog, so I'm
using a custom script to create XML metadata files and put them in
geonetwork with CSW Insert requests.
This procedure seems to work nicely and I even validated a sample XML
file for INSPIRE compliance using [1] so I am assuming my XML files
are valid.
Now, having put some records in Geonetwork, I am trying to find them
using the GUI.
The problem: When trying to filter my metadata by title, geonetwork
always comes out with zero results.
In order to verify what could be the problem, I've logged in to the
postgresql database and tried snooping around. I am guessing that each
record's title should be stored in the 'title' column of the
'metadata' table, but (at least in my case) this column is empty.
Executing this SQL command in psql;
SELECT uuid, title FROM metadata;
I get 439 results (the number of test records I've uploaded through
geonetworks CSW) and each of them has valid uuid and a blank title.
Is this the reason why my searches through the GUI come out empty? If
so, I guess I am missing some kind of element or attribute in the XML
files that I generate and then feed to geonetwork, that it would use
for extracting the record's title. At the same time it seems strange,
because ISO19115 already has a mandatory element for a record's title
and I guess geonetwork would extract the title from there.
Can someone help me out?
[1] - http://www.inspire-geoportal.eu/INSPIREValidatorClient/validate.do
--
___________________________ ___ __
Ricardo Garcia Silva