[GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Hi List,

Can anyone tell me if it is possible to query all the MD_DataIdentification and SV_ServiceIdentification records through CSW service.
We want to portray a more data focused view to the user and using the current method (serviceType, featureType of a service record) would require getting service URL’s, then having to individually query each service for its data.

Regards,
Abdi

Not exactly sure what you are asking, but perhaps I’m doing something similar? I needed to display all the WMS connections for each record, so the only way I could think of was to get all the records, and XSL out the data I needed. Its done on the server, then the results sent to the client so performance isn’t too bad so far. Maybe there is an easier way?

Roger

From: Abdi.Jama@anonymised.com
Sent: Tuesday, May 12, 2009 10:27 AM
To: geonetwork-devel@anonymised.comts.sourceforge.net
Subject: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Hi List,

Can anyone tell me if it is possible to query all the MD_DataIdentification and SV_ServiceIdentification records through CSW service.
We want to portray a more data focused view to the user and using the current method (serviceType, featureType of a service record) would require getting service URL’s, then having to individually query each service for its data.

Regards,
Abdi

Hi Roger,

Yeah, maybe my question wasn’t clear. I want to know if I can query “Get all MD_DataIdentification records” or “Get all SV_ServiceIdentification” in separate queries. At the moment our code is doing exactly as you are " Get all the record, and xsl out the required data".

Regards,
Abdi


From: Roger Bedell [mailto:sylvanascent@anonymised.com]
Sent: Wednesday, 13 May 2009 12:58 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Not exactly sure what you are asking, but perhaps I’m doing something similar? I needed to display all the WMS connections for each record, so the only way I could think of was to get all the records, and XSL out the data I needed. Its done on the server, then the results sent to the client so performance isn’t too bad so far. Maybe there is an easier way?

Roger

From: Abdi.Jama@anonymised.com
Sent: Tuesday, May 12, 2009 10:27 AM
To: geonetwork-devel@anonymised.comts.sourceforge.net
Subject: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Hi List,

Can anyone tell me if it is possible to query all the MD_DataIdentification and SV_ServiceIdentification records through CSW service.
We want to portray a more data focused view to the user and using the current method (serviceType, featureType of a service record) would require getting service URL’s, then having to individually query each service for its data.

Regards,
Abdi

Hi Roger and Abdi,

Wouldn't you just search for all metadata records which have a //gmd:MD_Format/gmd:name/gco:CharacterString = 'OGC:WMS'?

John

-----Original Message-----
From: Roger Bedell [mailto:sylvanascent@anonymised.com]
Sent: Wednesday, 13 May 2009 2:58 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Not exactly sure what you are asking, but perhaps I'm doing something similar? I needed to display all the WMS connections for each record, so the only way I could think of was to get all the records, and XSL out the data I needed. Its done on the server, then the results sent to the client so performance isn't too bad so far. Maybe there is an easier way?

Roger

From: Abdi.Jama@anonymised.com
Sent: Tuesday, May 12, 2009 10:27 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Hi List,

Can anyone tell me if it is possible to query all the MD_DataIdentification and SV_ServiceIdentification records through CSW service.
We want to portray a more data focused view to the user and using the current method (serviceType, featureType of a service record) would require getting service URL's, then having to individually query each service for its data.

Regards,
Abdi

Hi, using CSW if you want to search for service or dataset, use type
criteria (service or dataset).

Example :
<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
xmlns:gmd="http://www.isotc211.org/2005/gmd&quot; service="CSW"
version="2.0.2">
    <csw:Query typeNames="csw:Record">
        <csw:Constraint version="1.1.0">
            <Filter xmlns="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot;&gt;
                <PropertyIsEqualTo>
                    <PropertyName>Type</PropertyName>
                    <Literal>service</Literal>
                </PropertyIsEqualTo>
            </Filter>
        </csw:Constraint>
    </csw:Query>
</csw:GetRecords>

Then if you want to retrieve WMS URL, you have all this info in
iso19139 response.

If you want to retrieve datasets related to a service using CSW, you
could use the OperatesOn criteria and ServiceType allows you to filter
WMS, WFS. We're currently working on an interface in the editor to
create links between service metadata and dataset metadata in order to
store layername in the coupledResource section of the service metadata
and not in the name of the onlineSource of the dataset.

I also have one question about CSW response but in DC. For the dc:URI
element, here we could also add all onlineSource available, but do you
know any ways to be able to add the protocol in order to know if this
a file for download, a WMS service ? where to add the layername info ?

Suggestions welcomed.

Francois

2009/5/13 <John.Hockaday@anonymised.com>:

Hi Roger and Abdi,

Wouldn't you just search for all metadata records which have a //gmd:MD_Format/gmd:name/gco:CharacterString = 'OGC:WMS'?

John

-----Original Message-----
From: Roger Bedell [mailto:sylvanascent@anonymised.com]
Sent: Wednesday, 13 May 2009 2:58 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Not exactly sure what you are asking, but perhaps I'm doing something similar? I needed to display all the WMS connections for each record, so the only way I could think of was to get all the records, and XSL out the data I needed. Its done on the server, then the results sent to the client so performance isn't too bad so far. Maybe there is an easier way?

Roger

From: Abdi.Jama@anonymised.com
Sent: Tuesday, May 12, 2009 10:27 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] Query on MD_DataIdentification and SV_ServiceIdentification records through CSW

Hi List,

Can anyone tell me if it is possible to query all the MD_DataIdentification and SV_ServiceIdentification records through CSW service.
We want to portray a more data focused view to the user and using the current method (serviceType, featureType of a service record) would require getting service URL's, then having to individually query each service for its data.

Regards,
Abdi

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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