[pycsw-devel] CSW Harvesting using APISO possible?

Michael Schulz mandschulz at googlemail.com
Thu Feb 20 04:45:59 PST 2014


Hi,

ok, I think I understood my mistake... ResourceType needs to be left as
csw. The reason is, that the CSW I'm querying only supports gmd:MD_Metadata
as typename and not csw:Record. But I think only csw:Record is requested
from pycsw...

Cheers, Michael




2014-02-20 13:15 GMT+01:00 Michael Schulz <mandschulz at googlemail.com>:

> Hi,
>
> I was wondering whether it should be in principle possible to harvest a
> remote CSW returning APISO metadata records? No problem in loading them
> from a file, but I didn't succeed in harvesting a CSW endpoint, using
> something like this (following the example in the tester, using another
> local csw instance):
>
> <Harvest xmlns="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="
> http://www.opengis.net/ogc" xmlns:gmd="http://www.isotc211.org/2005/gmd"
> xmlns:ows="http://www.opengis.net/ows" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema" xmlns:dc="
> http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/"
> xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://www.opengis.net/cat/csw/2.0.2
> http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd" service="CSW"
> version="2.0.2">
> <Source>http://mylocal_csw_instance?request=GetCapabilities&service=CSW</
> Source>
> <ResourceType>http://www.isotc211.org/schemas/2005/gmd/</ResourceType>
> <ResourceFormat>application/xml</ResourceFormat>
> </Harvest>
>
> And if I'm not wrong, then it won't parse the metadata records, because
> this case is not implemented in metadata.parse_record. If that's the case,
> then it should be just about adding a new condition to check for gmd
> resourceType and use parse_iso?
>
> Cheers, Michael
>
> --
> -----------------------------------------------------------
> Michael Schulz
>
>
>


-- 
-----------------------------------------------------------
Michael Schulz

Bahnhofstr. 62
D-63477 Maintal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20140220/980811a4/attachment.html>


More information about the pycsw-devel mailing list