Hi,
I'm using the FAO geonetwork. First, i was using the gui and then i've used the CSW ISO profile test in the Geonetwork administration.
Actually, the information i want to use is a keyword, but I've searched on any text, not especially on keywords.
Here an example of request I do:
<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:gmd="http://www.isotc211.org/2005/gmd" service="CSW" version="2.0.2">
<csw:Query typeNames="csw:Record">
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
<PropertyIsLike wildCard="%" singleChar="_" escapeChar="\">
<PropertyName>AnyText</PropertyName>
<Literal>*urn:lsid:marinespecies.org:taxname:126436*</Literal>
</PropertyIsLike>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
I should get one result with this request, but I don't get nothing. This literal term contains colon and dot, and it seems they are not taken into account by Geonetwork to search metadata.
Emmanuel
Le 15/01/2013 22:35, Manjunath Kanakagiri a écrit :
Hi Emmanuel,
Could you give more insight on the complete request you are using.
In Geonetwork documentation I got the information to include in CSW request for keyword is :
<ows:Keywords>
<ows:Keyword>CSW</ows:Keyword>
<ows:Keyword>CubeWerx</ows:Keyword>
<ows:Keyword>geospatial</ows:Keyword>
<ows:Keyword>catalogue</ows:Keyword>
</ows:Keywords>
And you can run the request on "Dev HTTP Client" an add on from Google Chrome on the URL where geonetwork is installed "localhost:8080/geonetwork/srv/eng/csw?".
-- cheers
Manjunath
On Tue, Jan 15, 2013 at 10:03 PM, Emmanuel Blondel <emmanuel.blondel1@anonymised.com <mailto:emmanuel.blondel1@anonymised.com>> wrote:
Dear all,
I write to this list as i faced an issue with metadata searching in
Geonetwork. Some metadata include as keyword a unique identifier /e.g.
//urn:lsid:marinespecies.org:taxname:126436/
Searching on this keyword, I don't get any result. I've assumed it is
due to the colon character.
Does anyone know how i could run CSW queries with this type of
keyword?
Thanks in advance for your help
Best regards
Emmanuel
<http://fr.linkedin.com/in/emmanuelblondel1>
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with
LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and
experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork