Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomkralidis/pyspire-metaval
Simple Pythonic Wrapper to INSPIRE Metadata Validation Service
https://github.com/tomkralidis/pyspire-metaval
Last synced: about 2 months ago
JSON representation
Simple Pythonic Wrapper to INSPIRE Metadata Validation Service
- Host: GitHub
- URL: https://github.com/tomkralidis/pyspire-metaval
- Owner: tomkralidis
- Created: 2016-02-05T00:55:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-06T16:36:35.000Z (over 8 years ago)
- Last Synced: 2024-06-14T19:13:23.712Z (7 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# INSPIRE Metadata Validation Service Python wrapper
## Overview
Simple Pythonic Wrapper to [INSPIRE Metadata Validation Service](http://inspire-geoportal.ec.europa.eu/validator2/)
## Metadata Records
http://geodata.gov.gr/csw?service=CSW&version=2.0.2&request=GetRecordById&id=0f5b2fe2-eec2-4f46-89a6-1a7b390735b8&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full
## Invocation
```bash
# test against a locally saved copy of http://geodata.gov.gr/csw?service=CSW&version=2.0.2&request=GetRecordById&id=0f5b2fe2-eec2-4f46-89a6-1a7b390735b8&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full
python inspire-metadata-validate.py inspire-good.xml# test against a locally saved copy (with errors added) of http://geodata.gov.gr/csw?service=CSW&version=2.0.2&request=GetRecordById&id=0f5b2fe2-eec2-4f46-89a6-1a7b390735b8&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full
python inspire-metadata-validate.py inspire-bad.xml# show differences between good and bad
diff inspire-good.xml inspire-bad.xml
280a281
>
```