[GeoNetwork-users] ISO19139 OutputSchema in CSW?

Hi list,

With GN metadata can be retrieved in ISO 19139 format from a search result page. I'm wondering now if I can retrieve metadata in this outputSchema as well from the CSW. Geonetwork is not advertizing this outputSchema, it only advertizes the URL for theGetRecords (and GetRecordById) operation:

    <ows:Operation name="GetRecords">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="http://localhost:8080/geonetwork/srv/en/csw&quot; />
          <ows:Post xlink:href="http://localhost:8080/geonetwork/srv/en/csw&quot; />
        </ows:HTTP>
      </ows:DCP>
    </ows:Operation>

I've tried a bit (but am not that familiar with the CSW interface). But I'm getting an error.

The request I've used is:
http://localhost:8080/geonetwork/srv/en/csw?request=GetRecords&service=CSW&version=2.0.1&resultType=results&namespace=gmd%3Ahttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=full&constraint=<%3Fxml+version%3D"1.0"+encoding%3D"UTF-8"%3F> <Filter+xmlns%3D"http%3A%2F%2Fwww.opengis.net%2Fogc"+xmlns%3Agml%3D"http%3A%2F%2Fwww.opengis.net%2Fgml"> <PropertyIsLike+wildCard%3D"%25"+singleChar%3D"_"+escape%3D"\"> <PropertyName>dc%3Atitle<%2FPropertyName> <Literal>%25putten%25<%2FLiteral> <%2FPropertyIsLike> <%2FFilter> &constraintLanguage=FILTER&constraint_language_version=1.1.0

that is, with outputSchema=http://www.isotc211.org/2005/gmd
and namespace for gmd http://www.isotc211.org/2005/gmd

gives back an exception:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows&quot; version="1.0.0">
  <ows:Exception exceptionCode="InvalidParameterValue" locator="outputSchema">
    <ows:ExceptionText>http://www.isotc211.org/2005/gmd&lt;/ows:ExceptionText&gt;
  </ows:Exception>
</ows:ExceptionReport>

My question is: can the ISO 19139 format be used as outputschema from the CSW? If so, how is it advertized in the Capabilities? Should one configure / add it manually in the webapp in the file geonetwork/xml/csw/capabilities.xml ?

Best regards,
Thijs

Thijs Brentjens wrote:

My question is: can the ISO 19139 format be used as outputschema from the CSW? If so, how is it advertized in the Capabilities? Should one configure / add it manually in the webapp in the file geonetwork/xml/csw/capabilities.xml ?

I won't speak directly to the error you're getting but don't spend too much time debugging because the entire CSW implementation is going to be updated in the next couple of weeks. The GN 2.2 release still includes the CSW 2.0.1 code. The CSW 2.0.2 spec removes some ambiguities from earlier versions, and I've modified GN to implement 2.0.2. Right now, it's available built on the GN 2.1 release, but once I finish up some last-minute stuff with that version (largely documentation, not implementation), I'll merge it into subversion - probably next week.

Once that's in, we can perhaps take a look at whether the problem still exists and, if so, what might be done about it.

--

Archie

-- Archie Warnock warnock@anonymised.com
-- A/WWW Enterprises www.awcubed.com
-- As a matter of fact, I _do_ speak for my employer.

Hi all!

Are you saying GN will implement CSW 2.0.2 in the new release? Let me know
if I am right and when it will be possible.

Thanks in advance and best regards,

Ana.

-----Mensaje original-----
De: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] En nombre de Archie
Warnock
Enviado el: miércoles, 09 de abril de 2008 21:31
Para: geonetwork-users@lists.sourceforge.net
Asunto: Re: [GeoNetwork-users] ISO19139 OutputSchema in CSW?

Thijs Brentjens wrote:

My question is: can the ISO 19139 format be used as outputschema from
the CSW? If so, how is it advertized in the Capabilities? Should one
configure / add it manually in the webapp in the file
geonetwork/xml/csw/capabilities.xml ?

I won't speak directly to the error you're getting but don't spend too much
time debugging because the entire CSW implementation is going to be updated
in the next couple of weeks. The GN 2.2 release still includes the CSW
2.0.1 code. The CSW 2.0.2 spec removes some ambiguities from earlier
versions, and I've modified GN to implement 2.0.2. Right now, it's
available built on the GN 2.1 release, but once I finish up some last-minute
stuff with that version (largely documentation, not implementation), I'll
merge it into subversion - probably next week.

Once that's in, we can perhaps take a look at whether the problem still
exists and, if so, what might be done about it.

--

Archie

-- Archie Warnock warnock@anonymised.com
-- A/WWW Enterprises www.awcubed.com
-- As a matter of fact, I _do_ speak for my employer.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss
this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
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

Ana Belén Antón Gironés wrote:

Are you saying GN will implement CSW 2.0.2 in the new release? Let me know
if I am right and when it will be possible.

Yes. It should be in subversion in a couple of weeks and will be in the next official release after 2.2.

--

Archie

-- Archie Warnock warnock@anonymised.com
-- A/WWW Enterprises www.awcubed.com
-- As a matter of fact, I _do_ speak for my employer.