-
Notifications
You must be signed in to change notification settings - Fork 12
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
Trying to convert a simple xml file to geodcat #31
Comments
@ArthurGenet said:
I think the issue is that the GeoDCAT-AP XSLT was designed to process ISO 19115:2003 / ISO 19139:2007 records, whereas, if I'm not mistaken, your file implements the latest versions of these standards. You can find some sample records and test the XSLT on them in the demo of the GeoDCAT-AP API: http://geodcat-ap.semic.eu/api/
Reading the log, I'm not sure which is the problem. Some issues raised when using SAXON were related to the fact that the GeoDCAT-AP XSLT is using XSLT 1.0 instead of XSLT 2.0, but I don't know if this is the case here. |
@andrea-perego thanks a lot for your answer |
A possible first step is to create a copy of the GeoDCAT-AP XSLT, and update the namespace URIs as per ISO 19139-3. This may help see if the XSLT returns something, and, in such a case, what is left out. For the records, providing support to the new version of ISO 19115 was considered as possible future work in GeoDCAT-AP. In view of this, @AntoRot contributed a comparison between the old and new version of ISO 19115, that is included in appendix to the GeoDCAT-AP specification: https://semiceu.github.io/GeoDCAT-AP/releases/2.0.0/#comparison-between-inspire-and-iso19115-12014 I wonder whether there is now interest in moving forward this work. @AntoRot , @pvgenuchten , @uvoges , @sgrellet , WDYT? |
Thanks @andrea-perego
I see more and more national & community wide projects that bring around the same table people coming from both "communities". |
Hello @andrea-perego, |
Dear @andrea-perego, I think that this could be a useful work in view of a widespread use of the latest version of ISO 19115 and future versions of the INSPIRE TGs that will have to take into account the new ISO 19115 family standards, currently not used. Anyway I'm available to contribute. |
geonetwork has a basic iso19115-3 to dcat conversion, which could be a starting point |
Do you know which version of dcat this is.? GeoDCAT-AP - Version 2.0? |
Hello,
I am trying to convert a ISO-19115 xml file to a geodcat file with the Python code.
The result I get is:
Does that mean that there are problems in my xml? Do you have an xml file that works I could download?
I've also tried to run the xsl with Apache Nifi (https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.6.0/org.apache.nifi.processors.standard.TransformXml/) but there was an error:
The text was updated successfully, but these errors were encountered: