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

KBS mit ÖREBlex #29

Open
vvmruder opened this issue Jun 8, 2023 · 1 comment
Open

KBS mit ÖREBlex #29

vvmruder opened this issue Jun 8, 2023 · 1 comment
Assignees

Comments

@vvmruder
Copy link
Contributor

vvmruder commented Jun 8, 2023

Im Moment kommt bei der Transformation der KBS mit ÖREBlex ein fehlerhaftes Resultat raus:

Info: ilivalidator-1.13.0-62cfa8b782145aa070f601c38de8b47e43961e1e
Info: ili2c-5.3.2-6fb5df2877070aeb16c7b39a206a61e2518682c8
Info: iox-ili-1.21.15-f055cd0e781e5b2754c475ec4573eb3bed12bd8b
Info: User <kalle>
Info: Start date 2023-06-08 08:18
Info: maxMemory 7917568 KB
Info: dataFile <result/OeREBKRMtrsfr_V2_0.oereblex.xtf>
Info: pluginFolder </home/kalle/tools/ilivalidator-1.13.0/plugins>
Info: modeldir <%ITF_DIR;http://models.interlis.ch/;%JAR_DIR/ilimodels>
Info: setRepositories(): uri </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result> (IliManager.java:92)
Info: setRepositories(): uri <http://models.interlis.ch/> (IliManager.java:92)
Info: setRepositories(): uri </home/kalle/tools/ilivalidator-1.13.0/ilimodels> (IliManager.java:92)
Info: lookup model <CHAdminCodes_V1> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: getIliFiles(): scan ili-files in folder </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>... (RepositoryAccess.java:109)
Info: lookup model <CHAdminCodes_V1> 2.3 in repository <http://models.interlis.ch/>
Info: getIliFiles(): read ilimodels.xml from <http://models.interlis.ch/>... (RepositoryAccess.java:123)
Info: lookup model <CHAdminCodes_V1> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: getIliFiles(): scan ili-files in folder </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>... (RepositoryAccess.java:109)
Warning: Folder /home/kalle/tools/ilivalidator-1.13.0/ilimodels doesn't exist; ignored
Info: getIliSite(): read ilisite.xml from </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result>... (RepositoryAccess.java:165)
Info: getIliSite(): read ilisite.xml from <http://models.interlis.ch/>... (RepositoryAccess.java:165)
Info: getIliSite(): read ilisite.xml from </home/kalle/tools/ilivalidator-1.13.0/ilimodels>... (RepositoryAccess.java:165)
Info: lookup model <CHAdminCodes_V1> 2.3 in repository <http://models.geo.admin.ch/>
Info: getIliFiles(): read ilimodels.xml from <http://models.geo.admin.ch/>... (RepositoryAccess.java:123)
Info: lookup model <GeometryCHLV03_V1> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <GeometryCHLV03_V1> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <GeometryCHLV03_V1> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <GeometryCHLV03_V1> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <OeREBKRMkvs_V2_0> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <OeREBKRMkvs_V2_0> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <OeREBKRMkvs_V2_0> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <OeREBKRMkvs_V2_0> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <OeREBKRMtrsfr_V2_0> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <OeREBKRMtrsfr_V2_0> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <OeREBKRMtrsfr_V2_0> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <OeREBKRMtrsfr_V2_0> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <CoordSys> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <CoordSys> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <CatalogueObjects_V1> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <CatalogueObjects_V1> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <CatalogueObjects_V1> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <CatalogueObjects_V1> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <InternationalCodes_V1> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <InternationalCodes_V1> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <InternationalCodes_V1> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <InternationalCodes_V1> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <Units> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <Units> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <OeREBKRM_V2_0> 2.3 in repository </home/kalle/projects/rudert-geoinformatik/openoereb/mgdm2oereb/mgdm2oereb/result/>
Info: lookup model <OeREBKRM_V2_0> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <OeREBKRM_V2_0> 2.3 in repository </home/kalle/tools/ilivalidator-1.13.0/ilimodels/>
Info: lookup model <OeREBKRM_V2_0> 2.3 in repository <http://models.geo.admin.ch/>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/CH/CHBase_Part2_LOCALISATION_V1.ili>
Info: ilifile </home/kalle/.ilicache/models.interlis.ch/refhb23/CoordSys-20151124.ili>
Info: ilifile </home/kalle/.ilicache/models.interlis.ch/refhb23/Units-20120220.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/CH/CHBase_Part3_CATALOGUEOBJECTS_V1.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/CH/CHBase_Part4_ADMINISTRATIVEUNITS_V1.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/CH/CHBase_Part1_GEOMETRY_V1.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/V_D/OeREB/OeREBKRM_V2_0.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/V_D/OeREB/OeREBKRMkvs_V2_0.ili>
Info: ilifile </home/kalle/.ilicache/models.geo.admin.ch/V_D/OeREB/OeREBKRMtrsfr_V2_0.ili>
Info: validate data...
Info: setConfigValue(): modelele <PARAMETER>, param <allObjectsAccessible>, value <true> (ValidationConfig.java:150)
Info: first validation pass...
Info: second validation pass...
Info: validate unique constraint Localisation_V1.MultilingualText.Constraint1...
Info: validate mandatory constraint LocalisationCH_V1.LocalisedText.Constraint1...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.LegendeDarstellungsdienst.DarstellungsDienst...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.LegendeDarstellungsdienst.DarstellungsDienst...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.EigentumsbeschraenkungLegende.Eigentumsbeschraenkung...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.HinweisVorschrift.Eigentumsbeschraenkung...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.HinweisVorschrift.Vorschrift...
Info: validate unique constraint OeREBKRM_V2_0.Amt.Amt.Constraint1...
Info: validate unique constraint OeREBKRM_V2_0.MultilingualUri.Constraint1...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.ZustaendigeStelleEigentumsbeschraenkung.Eigentumsbeschraenkung...
Info: validate multiplicity of role OeREBKRM_V2_0.Dokumente.ZustaendigeStelleDokument.Dokument...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.LegendeDarstellungsdienst.Legende...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.DarstellungsDienstEigentumsbeschraenkung.Eigentumsbeschraenkung...
Info: validate target of role OeREBKRM_V2_0.Dokumente.ZustaendigeStelleDokument.ZustaendigeStelle...
Info: validate multiplicity of role OeREBKRM_V2_0.Dokumente.ZustaendigeStelleDokument.ZustaendigeStelle...
Info: validate multiplicity of role OeREBKRMkvs_V2_0.Thema.ThemaGesetz.Thema...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.HinweisVorschrift.Eigentumsbeschraenkung...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.DarstellungsDienstEigentumsbeschraenkung.DarstellungsDienst...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.EigentumsbeschraenkungLegende.Legende...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.ZustaendigeStelleEigentumsbeschraenkung.ZustaendigeStelle...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.DarstellungsDienstEigentumsbeschraenkung.DarstellungsDienst...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.EigentumsbeschraenkungLegende.Legende...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.GeometrieEigentumsbeschraenkung.Geometrie...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.HinweisVorschrift.Vorschrift...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.ZustaendigeStelleEigentumsbeschraenkung.ZustaendigeStelle...
Error: line 56157: OeREBKRMtrsfr_V2_0.Transferstruktur.Eigentumsbeschraenkung: tid eigentumsbeschraenkung_296: Vorschrift should associate 1 to * target objects (instead of 0)
Error: line 20429: OeREBKRMtrsfr_V2_0.Transferstruktur.Eigentumsbeschraenkung: tid eigentumsbeschraenkung_541: Vorschrift should associate 1 to * target objects (instead of 0)
Info: validate mandatory constraint OeREBKRMtrsfr_V2_0.Transferstruktur.Geometrie.Constraint1...
Info: validate target of role OeREBKRMtrsfr_V2_0.Transferstruktur.GeometrieEigentumsbeschraenkung.Eigentumsbeschraenkung...
Info: validate multiplicity of role OeREBKRMtrsfr_V2_0.Transferstruktur.GeometrieEigentumsbeschraenkung.Eigentumsbeschraenkung...
Info: object count 1278 (structured elements 3543)
Info: result/OeREBKRMtrsfr_V2_0.oereblex.xtf: OeREBKRMtrsfr_V2_0.Transferstruktur BID=ch.BelasteteStandorte
Info:       5 objects in CLASS OeREBKRM_V2_0.Amt.Amt
Info:     315 objects in CLASS OeREBKRM_V2_0.Dokumente.Dokument
Info:       1 objects in CLASS OeREBKRMtrsfr_V2_0.Transferstruktur.DarstellungsDienst
Info:     315 objects in CLASS OeREBKRMtrsfr_V2_0.Transferstruktur.Eigentumsbeschraenkung
Info:     315 objects in CLASS OeREBKRMtrsfr_V2_0.Transferstruktur.Geometrie
Info:     315 objects in CLASS OeREBKRMtrsfr_V2_0.Transferstruktur.HinweisVorschrift
Info:      12 objects in CLASS OeREBKRMtrsfr_V2_0.Transferstruktur.LegendeEintrag
Info: ...validation failed
Info: close(): LinkPool KEY: size 3804, filesize 2261660 </tmp/ioxtmp6120075434059762038> (BTree.java:396)
Info: close(): LinkPool KEY: keySize 0, 60 (BTree.java:397)
Info: close(): LinkPool KEY: valueSize 0, 8 (BTree.java:398)
Info: close(): LinkPool VAL: size 45648 </tmp/ioxtmp2535841051031212465> (BTreeImpl.java:77)
Info: close(): LinkPool VAL: valueSize 0, 8 (BTreeImpl.java:78)
Info: close(): ObjectPool: size 1153536 </tmp/ioxtmp6966637200218402789> (ObjPoolImpl2.java:69)
Info: End date 2023-06-08 08:18 validation took 00h:00m:03s.0582ms

@romefi könntest du mal schauen ob da was im Ausgangsdatensatz nicht stimmt? Ich kann keinen Fehler bei der Trafo finden.

Das Resultat der Trafo:
OeREBKRMtrsfr_V2_0.oereblex.xtf.zip

@romefi
Copy link
Collaborator

romefi commented Jun 12, 2023

@vvmruder Könntest du mal mit diesem XTF testen? OeREBKRMtrsfr_V2_0.oereblex.xtf.zip

Hab's versucht nach mgdm2oereb zu pushen und gab auch bei mir ein Fehler. Vielleicht habe ich beim Push was falsch gemacht.

Wenn es damit auch nicht gehen sollte, muss ich mir den Ausgangsdatensatz nochmal anschauen.

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

No branches or pull requests

2 participants