European Commission logo
INSPIRE Community Forum

missing associations to OM_Observation in xsd

Hello everybody,

I plan to transform German Soil data in the INSPIRE Soil model. Unfortunately, I met the following problem when trying:

The Data Specification describes for several FeatureTypes that there are associations with the OM_Observation object (e.g. p.37: "Any soil profile can be characterized as a whole by a number of properties, of which the following are included in the model: its soil type according to the WRB soil classification scheme (WRBSoilName) and/or any other soil classification scheme (otherSoilName) with the limitation to one per dataset, and zero or more other parameters, which are expressed through soilProfileObservation associations with OM_Observation objects (see Figure 11).").

The UML diagram in Figure 11 also contains these associations (soilSiteObservation, soilProfileObservation, profileElementObservation, soilDerivedObjectObservation). Nevertheless, in the xsd (https://inspire.ec.europa.eu/schemas/so/4.0/Soil.xsd), I cannot find any of those associations even though I would them expect to appear in it. Am I missing something?

All the best and thank you for your help.

Johanna

  • Robert TOMAS

    Dear Johanna, you are right - it is an unfortunate bug. We will regenerate the Soil schema (XSD) as soon as possible and let you/community know about.

    Thank you for pointing it out.

    Robert Tomas

  • Johanna Ott

    Dear Robert,

    thank you for your response. Can you give a rough estimate on how long this would take?

     

    All the best

    Johanna

  • Michael LUTZ

    Dear Johanna,

    sorry for taking so long to respond.

    You can find an updated version (4.0.1) of the schema for testing attached and also online under https://inspire.ec.europa.eu/draft-schemas/so/4.0/Soil.xsd.

    Please check whether this updated schema fixes the issue and whether you are able to use it without problems.

    Since all additional properties are optional in the schema, it should be fully backwards-compatible. But please double-check whether also XML documents without the properties (i.e. valid against the old v4.0 schemas) still validate also against the new schema.

    Thanks & best regards,
    Michael

  • Johanna Ott

    Dear Michael,

    Thank you for updating the schema. It fixes the issue I had and I could use it without any other problems so far. Also, I did not have any issues concerning backwards compatibility.

    In case I run into any more issues with the schema, I will let you know.

     

    All the best

    Johanna

  • Tomas LINDBERG

    By Tomas LINDBERG

    Hello,

    does anyone know if  the request described at https://ies-svn.jrc.ec.europa.eu/issues/2209  is also fixed in this schema? I was sure it had been fixed by can't seem to find the documentation now (not very good at reading xsd-documents).

    In the html-version of the data model it doesn't seem to be fixed.

    Thanks,

    Tomas

     

     

     

     

  • Katharina SCHLEIDT

    By Katharina SCHLEIDT

    OK, while it seems that the cardinalities mentioned by Johanna above are partially fixed, I cannot find any of the associations to OM_Observation in the V4.0 XSD of the soil data model.

    Pertains to the following:

    • SoilSite - missing association soilSiteObservation with target OM_Observation
    • SoilProfile - missing association soilProfileObservation with target OM_Observation
    • ProfileElement - missing association profileElementObservation with target OM_Observation
    • SoilDerivedObject - missing association soilDerivedObjectObservation with target OM_Observation

    Should be fixed.

    :)

    Kathi

  • Michael LUTZ

    Dear Thomas,

    unfortunately, the change agreed in https://themes.jrc.ec.europa.eu/discussion/view/3421/inspire-soil-theme-change-of-the-multiplicity-of-the-soilderivedobjectobservation was never formally implemented as a corrigendum to the Soil Technical Guidelines and data model.

    It is therefore also not (yet) reflected in the proposed schema update that we published at https://inspire.ec.europa.eu/draft-schemas/so/4.0/Soil.xsd.

    We will investigate whether the proposed change can be made and will then update the schema accordingly.

  • Michael LUTZ

    Dear Kathi,

    the changes are already made in the proposed schema update that we published at https://inspire.ec.europa.eu/draft-schemas/so/4.0/Soil.xsd.

    You probably looked at the official schema at https://inspire.ec.europa.eu/schemas/so/4.0/Soil.xsd.

  • Tomas LINDBERG

    By Tomas LINDBERG

    Dear Michel,

    Thanks for looking into this! Will you notify here on the forum when it is formally decided whether it is accepted as corrigendum?

  • Katharina SCHLEIDT

    By Katharina SCHLEIDT

    Dear Michael,

    sorry for not looking at the draft version, question to this: are the draft versions also legal for provision, at least in cases such as this one where the draft version is closer to the IRs than the official one? With about a year to go until data should be finalized, having an agreed schema to work off of would be most valuable!

    :)

Earth Science

Earth Science

Join this group to share your knowledge, learn and collaborate with INSPIRE Earth Science Cluster for Geology, Soils, Natural Risk Zones, Mineral resources, and Energy resources