claeis / ilishaper

creates simplified, derived Interlis data
GNU Lesser General Public License v2.1
1 stars 0 forks source link

--modeldir %ITF_DIR;%JAR_DIR; auf Windows Dos Prompt geht nicht #6

Open sjib opened 6 days ago

sjib commented 6 days ago

Bei mir auf dem Windows Dos Prompt funktioniert folgender Aufruf mit --modeldir nicht:

java -jar ilishaper-1.0.1.jar --deriveData --config myselectiondss.ini --modeldir %ITF_DIR;http://models.interlis.ch/;%JAR_DIR/ilimodels; --out Derivatdaten.xtf transferdatensatz_2015_d_LV95_T-20241022_with_ARCS.xtf

grafik

oder auch

C:\Daten\Firma\7_Partnerorganisationen\71_KOGIS\710_INTERLIS\Software\ilishaper\ilishaper-1.0.1>java -jar ilishaper-1.0.1.jar --deriveData --config myselectiondss.ini --modeldir %ITF_DIR;http://models.interlis.ch/;%JAR_DIR;  --out Derivatdaten.xtf transferdatensatz_2015_d_LV95_T-20241022_with_ARCS.xtf
Info: ilishaper-1.0.1-9daa926fdc23c4eb3949dac91cf697e04d0d94eb
Info: ili2c-5.6.1-96fd952315cdc3e1661ebc4eceb44ffa975f3c60
Info: iox-ili-1.23.2-bdddc5e5c761f44d6cbd639ceaef15602b3635c9
Info: java.version 22.0.2
Info: User <Stefan>
Info: Start date 2024-11-21 10:12
Info: maxMemory 4147200 KB
Info: dataFile <transferdatensatz_2015_d_LV95_T-20241022_with_ARCS.xtf>
Info: configFile <myselectiondss.ini>
Info: srcModel <DSS_2015_LV95>
Info: lookup model <DSS_2015_LV95> in repository <http://models.interlis.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.admin.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.kgk-cgc.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.interlis.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.llv.li/>
Info: lookup model <DSS_2015_LV95> in repository <https://405.sia.ch/models/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.ag.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.ai.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.kgk-cgc.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.ar.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.kgk-cgc.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.be.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.bl.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.bs.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.gl.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.gr.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.lu.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.gis-daten.ch/nw-ow/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.sg.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.sh.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://geo.so.ch/models/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.sz.ch/>
Info: model SZ_Waermenutzung_V2: duplicate version without precursor; version 2020-03-30 ignored
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.tg.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.kgk-cgc.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.ti.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://webgis.lisag.ch/models/>
Info: lookup model <DSS_2015_LV95> in repository <https://models.geo.zg.ch/>
Info: lookup model <DSS_2015_LV95> in repository <http://models.geo.zh.ch/>
Info: lookup model <DSS_2015_LV95> in repository <https://vsa.ch/models/>
Info: lookup model <redtest> 2.3 in repository <http://models.interlis.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.admin.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.kgk-cgc.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.interlis.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.llv.li/>
Info: lookup model <redtest> 2.3 in repository <https://405.sia.ch/models/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.ag.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.ai.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.kgk-cgc.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.ar.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.kgk-cgc.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.be.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.bl.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.bs.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.gl.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.gr.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.lu.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.gis-daten.ch/nw-ow/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.sg.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.sh.ch/>
Info: lookup model <redtest> 2.3 in repository <https://geo.so.ch/models/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.sz.ch/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.tg.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.kgk-cgc.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.ti.ch/>
Info: lookup model <redtest> 2.3 in repository <https://webgis.lisag.ch/models/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.zg.ch/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.zh.ch/>
Info: lookup model <redtest> 2.3 in repository <https://vsa.ch/models/>
Info: lookup model <redtest> 2.3 in repository <https://models.geo.ar.ch/Toppings/>
Info: lookup model <redtest> 2.3 in repository <https://data.geo.so.ch/>
Info: lookup model <redtest> 2.3 in repository <https://geo.so.ch/usabilityhub/>
Info: lookup model <redtest> 2.3 in repository <http://data.geo.sz.ch/public/Konfiguration/Toppings/>
Info: lookup model <redtest> 2.3 in repository <http://models.geo.sz.ch/>
Info: model SZ_Waermenutzung_V2: duplicate version without precursor; version 2020-03-30 ignored
redtest: model not found
failed to read source models

Erst wenn ich explizit den Dateipfad angebe und ili und xtf beide dort habe wo die *.jar Datei drin ist geht es:

java -jar ilishaper-1.0.1.jar --deriveData --config myselectiondss.ini --modeldir C:\Daten\Firma\7_Partnerorganisationen\71_KOGIS\710_INTERLIS\Software\ilishaper\ilishaper-1.0.1\ --out Derivatdaten.xtf transferdatensatz_2015_d_LV95_T-20241022_with_ARCS.xtf

Kann mir jemand erklären warum? Und wie ich die Parameter %ITF_DIR;und%JAR_DIR; auf Windows korrekt verwende? Muss ich nochirgendwelche Einträge machen?

sjib commented 6 days ago

@claeis In der Dok müsste man noch ilivalidator durch ilishaper ersetzen

%JAR_DIR ist ein Platzhalter für das Verzeichnis des ilivalidator Programms (ilivalidator.jar Datei).

https://github.com/claeis/ilishaper/blob/main/docs/ilishaper.rst