Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pycsw querying elementSetName=full #2091

Closed
AgentJay opened this issue Mar 3, 2015 · 1 comment
Closed

pycsw querying elementSetName=full #2091

AgentJay opened this issue Mar 3, 2015 · 1 comment
Assignees

Comments

@AgentJay
Copy link

AgentJay commented Mar 3, 2015

Hello, this might be a bug, but this is also a support request.

I would like to add more fields to the metadata output in Pycsw when the full element set is queried. Currently I use the following request:

/catalogue/csw?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=csw:http://www.opengis.net/cat/csw&maxRecords=1000&elementSetName=full&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord

The results are only summaries of the records and not the full record set.
I'm not interested in the full set necessarily, but I do need to add a few fields at least. How do I do it?

Thanks.

@tomkralidis tomkralidis self-assigned this Mar 3, 2015
@tomkralidis tomkralidis changed the title Pycsw querying elementSetName=full pycsw querying elementSetName=full Mar 3, 2015
@tomkralidis
Copy link
Member

@AgentJay try specifying outputschema=http://www.isotc211.org/2005/gmd in your URL? e.g.:

/catalogue/csw?request=GetRecords&service=CSW&version=2.0.2&resultType=results&maxRecords=1000&elementsetname=full&typenames=csw:Record&outputschema=http://www.isotc211.org/2005/gmd

This should return the full record as stored in GeoNode (which uses ISO). Asking for anything other than ISO with elementsetname=full will provide a transformed document (FGDC, DC, etc.), which, compared to ISO, will be considerably thinner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants