Select to view content in your preferred language

adding returnables in CSW response

1326
0
02-02-2011 04:52 AM
SébastienDelhay
New Contributor
Hi,

When I send a CSW GetRecords request to my Geoportal from my custom client, I find that only certain fields are returned in the CSW response, that is title, abstract, identifier, etc:

<csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmiBox="http://dublincore.org/documents/2000/07/11/dcmi-box/" xmlns:dct="http://purl.org/dc/terms/" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <csw:SearchStatus timestamp="2011-02-01T15:22:10+01:00"/>
  <csw:SearchResults elementSet="full" nextRecord="0" numberOfRecordsMatched="1" numberOfRecordsReturned="1" recordSchema="http://www.opengis.net/cat/csw/2.0.2">
    <csw:Record>
      <dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:FileID">36806910-640a-4fd2-9392-d06e76130b6e</dc:identifier>
      <dc:identifier scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:DocID">{89443B17-07C9-41B7-B8E5-437BDD826AVB}</dc:identifier>
      <dc:title>title</dc:title>
      <dc:type scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:ContentType">downloadableData</dc:type>
      <dc:subject>Buildings</dc:subject>
      <dc:subject>planningCadastre</dc:subject>
      <dct:modified>2011-01-19T14:49:20+01:00</dct:modified>
      <dct:abstract>The abstract</dct:abstract>
      <dct:references scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:Server">http://www.test.com</dct:references>
      <dct:references scheme="urn:x-esri:specification:ServiceType:ArcIMS:Metadata:Document">http://test.com/geoportal/csw?getxml=%7B89443B17-07C9-41B7-B8E5-437BDD826ACB%7D</dct:references>
      <ows:WGS84BoundingBox>
        <ows:LowerCorner>2.53 49.49</ows:LowerCorner>
        <ows:UpperCorner>6.46 51.51</ows:UpperCorner>
      </ows:WGS84BoundingBox>
      <ows:BoundingBox>
        <ows:LowerCorner>2.53 49.49</ows:LowerCorner>
        <ows:UpperCorner>6.46 51.51</ows:UpperCorner>
      </ows:BoundingBox>
    </csw:Record>
  </csw:SearchResults>
</csw:GetRecordsResponse>

The question is: how can I add new fields ("returnables") to the CSW response?
There are plenty of other fields that could be returned, such as hierarchyLevel (my metadata are ISO 19139-compliant).

I have tried modifying the properties-meanings.xml file, without success.

Thanks in advance for your answer!
0 Kudos
0 Replies