Coder Social home page Coder Social logo

Comments (6)

eblondel avatar eblondel commented on June 1, 2024 1

@mrouan i've fixed the issue in geometa. Could you re-install geometa and retry your code (with a new R session to inherit geometa changes in ows4R)?

from ows4r.

eblondel avatar eblondel commented on June 1, 2024

@mrouan can you send me the XML file you try to push?

from ows4r.

mrouan avatar mrouan commented on June 1, 2024

https://portail.indigeo.fr/geonetwork/srv/fre/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7d9ad2e5-afcc-4f53-9b62-ac48e67069fb

from ows4r.

eblondel avatar eblondel commented on June 1, 2024

can you describe how did you proceed with your test? Is it that you first read this xml using ows4R/geometa? and then you tried to push it to another catalogue?

I see a bug in geometa when reading the uuidref, and instead set :uuidref. I think it is related to that. Just to get confirmation of that, try to read your metadata with ows4R or directly with geometa:

md = readISO19139(url = "https://portail.indigeo.fr/geonetwork/srv/fre/xml.metadata.get?uuid=7d9ad2e5-afcc-4f53-9b62-ac48e67069fb")

If you inspect the metadata content info / feature catalogue attributes, you should get back the attribute name wrongly parsed:

names(md$contentInfo[[1]]$featureCatalogueCitation[[1]]$attrs)[1]

Then overwrite this attribute name to the correct one ``uuidref```, and try to re-do the insert with CSW transaction, normally it should work:

names(md$contentInfo[[1]]$featureCatalogueCitation[[1]]$attrs)[1] <- "uuidref"

Meanwhile i will look at geometa

Thanks

from ows4r.

mrouan avatar mrouan commented on June 1, 2024

fixed !

from ows4r.

eblondel avatar eblondel commented on June 1, 2024

Great, if ows4R is useful for your work, feel free to star it

from ows4r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.