[pycsw-devel] GetRecordById response
Tom Kralidis
tomkralidis at gmail.com
Tue Oct 13 12:23:03 PDT 2015
On Tue, 13 Oct 2015, Stogny Basil wrote:
> Date: Tue, 13 Oct 2015 14:16:13 +0300
> From: Stogny Basil <v.stogny at gmail.com>
> To: pycsw-devel at lists.osgeo.org
> Subject: [pycsw-devel] GetRecordById response
>
> Dear Tom,
>
> When using a standard query GetRecordById I got only 7 fields (identifier,
> type, format, title, spatial, subject, bstract). How to get more fields?
>
> Regards Basil Stogny
>
Hi Stogny: this is dependent on the actual metadata content. In this case it looks like you are using the default CITE dataset in which case this is the full record as inserted.
>
> http://192.168.133.71/pycsw/csw.py?config=tests/suites/cite/default.cfg&Service=CSW&Version=2.0.2&Request=GetRecordById&ElementSetName=full&ID=urn%3Auuid%3A19887a8a-f6b0-4a63-ae56-7fba0e17801f
>
>
> <!-- pycsw 1.10.2 -->
> <csw:GetRecordByIdResponse xmlns:soapenv="
> http://www.w3.org/2003/05/soap-envelope" xmlns:gml="
> http://www.opengis.net/gml" xmlns:dif="
> http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/" xmlns:xs="
> http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
> xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:rdf="
> http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="
> http://www.w3.org/1999/xlink" xmlns:ows="http://www.opengis.net/ows"
> xmlns:fgdc="http://www.opengis.net/cat/csw/csdgm" xmlns:atom="
> http://www.w3.org/2005/Atom" xmlns:sitemap="
> http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:csw="
> http://www.opengis.net/cat/csw/2.0.2" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xmlns:os="
> http://a9.com/-/spec/opensearch/1.1/" xmlns:dct="http://purl.org/dc/terms/"
> xmlns:ogc="http://www.opengis.net/ogc" xsi:schemaLocation="
> http://www.opengis.net/cat/csw/2.0.2
> http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd">
> <csw:Record>
> <dc:identifier>urn:uuid:19887a8a-f6b0-4a63-ae56-7fba0e17801f</dc:identifier>
> <dc:type>http://purl.org/dc/dcmitype/Image</dc:type>
> <dc:format>image/svg+xml</dc:format>
> <dc:title>Lorem ipsum</dc:title>
> <dct:spatial>GR-22</dct:spatial>
> <dc:subject>Tourism--Greece</dc:subject>
> <dct:abstract>
> Quisque lacus diam, placerat mollis, pharetra in, commodo sed, augue. Duis
> iaculis arcu vel arcu.
> </dct:abstract>
> </csw:Record>
> </csw:GetRecordByIdResponse>
>
More information about the pycsw-devel
mailing list