[GeoNetwork-users] CSW harvesting GN (was: category vs. TopicCategory queryable)

I'm working with Charlton (see his original message below). My suspicion is that what we are trying to do is not possible, but it would be very helpful if someone can confirm that >

Basically what we would like to do is perform a CSW harvest that pulls out GeoNetwork records based on the GN 'category' I've assigned (not the ISO 'topicCategory'). Category appears in the info.xml not the metadata.xml for a given record.

We have been able to harvest using the CSW properyName of 'any' or 'subject' for text in the metadata, but that does not appear to grab anything that is in the info.xml.

Anyone have knowledge/experience on this?

Kathy

-----Original Message-----
From: Charlton Galvarino [mailto:charlton@anonymised.com]
Sent: Wednesday, October 29, 2014 1:27 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] category vs. TopicCategory queryable

Hi, GN team.

I am trying to consume GN search results. I'd prefer to stick w/ CSW, but I'm having a tough time w/ categories.

If I perform a GET xml.search?category=dataportal, I see some results, e.g.:

<metadata>
  <metadatacreationdate/>
  <geonet:info xmlns:geonet="http://www.fao.org/geonetwork&quot;&gt;
    <id>36614</id>
    <uuid>64cd3cb6-3a74-4990-8772-4af8b0714b1a</uuid>
    <schema>iso19139</schema>
    <createDate>2014-10-08T18:57:23</createDate>
    <changeDate>2014-10-08T18:57:23</changeDate>
    <source>e3dbbdf2-e706-43dd-a16e-1400d678044f</source>
    <category>dataportal</category>
    <selected>false</selected>
    <category internal="true">dataset</category>
  </geonet:info>
</metadata>

But if I perform a CSW POST query, I don't get any results at all.

<csw:Constraint version="1.1.0">
  <Filter xmlns="http://www.opengis.net/ogc&quot; xmlns:gml="http://www.opengis.net/gml&quot;&gt;
    <PropertyIsLike wildCard="%" singleChar="_" escape="\\">
      <PropertyName>TopicCategory</PropertyName>
      <Literal>dataportal</Literal>
    </PropertyIsLike>
  </Filter>
</csw:Constraint>

The CSW GetCapabilities advertises TopicCateogry, but I'm not convinced they are one and the same. I can get CSW results if I use other searches, e.g. Title, though, so I don't believe CSW is holding me up.

In a nutshell, how can I pull back category-specific results w/ a CSW query?

TIA.

Charlton Galvarino
1 (803) 233-6205 : voice
1 (803) 223-9579 : fax
charlton@anonymised.com

P.O. Box 50960
Columbia, SC 29250

------------------------------------------------------------------------------
_______________________________________________
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

Hi Kathy,

Not an expert on this, but I believe GN categories is something specific to GN, while CSW is an open standard. Thus, GN categories wouldn't be available through CSW.
A workaround would be to quit using GN categories, and replace it by a hand-made thesaurus, in which you put your "categories".
Categories would then be with the other keywords and available with CSW.
Hope this helps,

Jean

Le 10/11/2014 19:07, Kathy Koch a écrit :

I'm working with Charlton (see his original message below). My suspicion is that what we are trying to do is not possible, but it would be very helpful if someone can confirm that >

Basically what we would like to do is perform a CSW harvest that pulls out GeoNetwork records based on the GN 'category' I've assigned (not the ISO 'topicCategory'). Category appears in the info.xml not the metadata.xml for a given record.

We have been able to harvest using the CSW properyName of 'any' or 'subject' for text in the metadata, but that does not appear to grab anything that is in the info.xml.

Anyone have knowledge/experience on this?

Kathy

-----Original Message-----
From: Charlton Galvarino [mailto:charlton@anonymised.com]
Sent: Wednesday, October 29, 2014 1:27 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] category vs. TopicCategory queryable

Hi, GN team.

I am trying to consume GN search results. I'd prefer to stick w/ CSW, but I'm having a tough time w/ categories.

If I perform a GET xml.search?category=dataportal, I see some results, e.g.:

<metadata>
   <metadatacreationdate/>
   <geonet:info xmlns:geonet="http://www.fao.org/geonetwork&quot;&gt;
     <id>36614</id>
     <uuid>64cd3cb6-3a74-4990-8772-4af8b0714b1a</uuid>
     <schema>iso19139</schema>
     <createDate>2014-10-08T18:57:23</createDate>
     <changeDate>2014-10-08T18:57:23</changeDate>
     <source>e3dbbdf2-e706-43dd-a16e-1400d678044f</source>
     <category>dataportal</category>
     <selected>false</selected>
     <category internal="true">dataset</category>
   </geonet:info>
</metadata>

But if I perform a CSW POST query, I don't get any results at all.

<csw:Constraint version="1.1.0">
   <Filter xmlns="http://www.opengis.net/ogc&quot; xmlns:gml="http://www.opengis.net/gml&quot;&gt;
     <PropertyIsLike wildCard="%" singleChar="_" escape="\\">
       <PropertyName>TopicCategory</PropertyName>
       <Literal>dataportal</Literal>
     </PropertyIsLike>
   </Filter>
</csw:Constraint>

The CSW GetCapabilities advertises TopicCateogry, but I'm not convinced they are one and the same. I can get CSW results if I use other searches, e.g. Title, though, so I don't believe CSW is holding me up.

In a nutshell, how can I pull back category-specific results w/ a CSW query?

TIA.

Charlton Galvarino
1 (803) 233-6205 : voice
1 (803) 223-9579 : fax
charlton@anonymised.com

P.O. Box 50960
Columbia, SC 29250

------------------------------------------------------------------------------
_______________________________________________
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

------------------------------------------------------------------------------
_______________________________________________
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

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

Thanks Jean. That's where we were leaning but wanted to be sure there wasn't an easier way.

Kathy
_____________________________________
Kathy Koch
Data Curator
Contractor (LimnoTech / GLOS)
501 Avis Drive, Ann Arbor, MI 48108
Office: 734-332-1200 email:kkoch@anonymised.com
LimnoTech www.limno.com

________________________________________
From: Jean Pommier [jean.pommier@anonymised.com]
Sent: Tuesday, November 11, 2014 3:15 AM
To: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] CSW harvesting GN (was: category vs. TopicCategory queryable)

Hi Kathy,

Not an expert on this, but I believe GN categories is something specific
to GN, while CSW is an open standard. Thus, GN categories wouldn't be
available through CSW.
A workaround would be to quit using GN categories, and replace it by a
hand-made thesaurus, in which you put your "categories".
Categories would then be with the other keywords and available with CSW.
Hope this helps,

Jean

Le 10/11/2014 19:07, Kathy Koch a écrit :

I'm working with Charlton (see his original message below). My suspicion is that what we are trying to do is not possible, but it would be very helpful if someone can confirm that >

Basically what we would like to do is perform a CSW harvest that pulls out GeoNetwork records based on the GN 'category' I've assigned (not the ISO 'topicCategory'). Category appears in the info.xml not the metadata.xml for a given record.

We have been able to harvest using the CSW properyName of 'any' or 'subject' for text in the metadata, but that does not appear to grab anything that is in the info.xml.

Anyone have knowledge/experience on this?

Kathy

-----Original Message-----
From: Charlton Galvarino [mailto:charlton@anonymised.com]
Sent: Wednesday, October 29, 2014 1:27 PM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] category vs. TopicCategory queryable

Hi, GN team.

I am trying to consume GN search results. I'd prefer to stick w/ CSW, but I'm having a tough time w/ categories.

If I perform a GET xml.search?category=dataportal, I see some results, e.g.:

<metadata>
   <metadatacreationdate/>
   <geonet:info xmlns:geonet="http://www.fao.org/geonetwork&quot;&gt;
     <id>36614</id>
     <uuid>64cd3cb6-3a74-4990-8772-4af8b0714b1a</uuid>
     <schema>iso19139</schema>
     <createDate>2014-10-08T18:57:23</createDate>
     <changeDate>2014-10-08T18:57:23</changeDate>
     <source>e3dbbdf2-e706-43dd-a16e-1400d678044f</source>
     <category>dataportal</category>
     <selected>false</selected>
     <category internal="true">dataset</category>
   </geonet:info>
</metadata>

But if I perform a CSW POST query, I don't get any results at all.

<csw:Constraint version="1.1.0">
   <Filter xmlns="http://www.opengis.net/ogc&quot; xmlns:gml="http://www.opengis.net/gml&quot;&gt;
     <PropertyIsLike wildCard="%" singleChar="_" escape="\\">
       <PropertyName>TopicCategory</PropertyName>
       <Literal>dataportal</Literal>
     </PropertyIsLike>
   </Filter>
</csw:Constraint>

The CSW GetCapabilities advertises TopicCateogry, but I'm not convinced they are one and the same. I can get CSW results if I use other searches, e.g. Title, though, so I don't believe CSW is holding me up.

In a nutshell, how can I pull back category-specific results w/ a CSW query?

TIA.

Charlton Galvarino
1 (803) 233-6205 : voice
1 (803) 223-9579 : fax
charlton@anonymised.com

P.O. Box 50960
Columbia, SC 29250

------------------------------------------------------------------------------
_______________________________________________
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

------------------------------------------------------------------------------
_______________________________________________
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

--

*Jean Pommier -- pi-Geosolutions*

Ingénieur, consultant indépendant

Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
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