[pycsw-devel] CSW Harvesting using APISO possible?
Michael Schulz
mandschulz at googlemail.com
Thu Feb 20 04:15:12 PST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20140220/210545ae/attachment.html>
More information about the pycsw-devel
mailing list