diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/CHANGELOG.txt b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/CHANGELOG.txt deleted file mode 100644 index b510c586..00000000 --- a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/CHANGELOG.txt +++ /dev/null @@ -1,815 +0,0 @@ -ideas/open issues/questions ----------------------------- -- gui: button 'create tables' -- gui: button 'drop tables' -- gui: button 'create scripts' -- ordered assocs -- make use of quoted identifiers -- --logValidOverlaps -- support ili2 views -- --initNameMapping -- einfache Liste mit den neu erzeugten Vertexpunkte (aufgrund der Overlap-Bereinigung) -- Schalter für das "disablen" der Overlaps-Bereinigung. Bei vorhandenen gueltigen Overlaps erfolgen: a) Import mit NULL als Polygon, ohne Fehlermeldung, b) Import mit NULL als Polygon, mit Warning, c) kein Import, Fehlermeldung - -LATEST ---------------------------- - -ili2db 4.6.1 (2021-11-10) ------------------------------- -- Enum values are inserted twice when generating a script (#426) -- export only required MODELs in HEADERSECTION (#413) -- export by --topics with no baskets should create an empty transfer file (#432) -- --sqlColsAsText erzeugt leere Geometrien (#423) -- iox-ili-1.21.8 - -ili2db 4.6.0 (2021-09-10) ------------------------------- -- replaced the legacy GUI with a message box -- fix "illegal value null for attrname" (#401) -- ili2fgdb: fix NullPointerException with --strokeArcs (#399) -- fix export of struct attr in VIEW (#397) -- added Iox2jsonUtility -- support --skipReferenceErrors on export -- fix missing model if --exportModels uses a translated model in another ili-file (#405) -- fix mapping of struct at model level if --exportModels used (#405) -- remove duplicate ReduceToBaseModel (duplicate in iox-ili) (#405) -- ili-cache: set ILI_CACHE_FILENAME=MD5 to use short filenames in $HOME/.ilicache (#420) -- new option --sqlExtRefCols to map EXTERNAL references as t_ili_tid FK (#283) -- new option --sqlColsAsText to map simple type attributes to text columns (#402) -- new option --exportBatchSize to set JDBC batchSize (#414) -- new option --importFetchSize to set JDBC fetchSize (#334) -- ili24: implement MULTICOORD (#408) -- support --option=booleanValue (#393) -- use metaattribute @ili2db.dispName with --createEnumTxtCol (#349) -- iox-ili-1.21.7 -- ili2c-5.2.3 - -ili2db 4.5.0 (2021-03-12) ------------------------------- -- ili2h2gis: add schema support (#383) -- ili2h2gis: Primary Key ohne auto_increment (#380) -- ili2h2gis: JSON mapping not working (#387) -- uniform return value (#375) -- ili2pg: create bigint attributes (#348) -- ili2pg: new option --createDateTimeChecks (#330) -- ili2pg: new option --createTextChecks (#331, #340) -- size of setting columns in metatables increased to 10240 (#374) -- support expanding of custom MultilingualText structures (#288) -- ili2c-5.2.0 -- ehisqlgen-1.14.0 - -ili2db 4.4.6 (2021-02-12) ------------------------------- -- import fails with --noSmartMapping (#381) -- ili2gpkg: failed to import MultiPoint -- ili2pg-4.4.1 failed to build polygons (#376) -- NPE with schema import and --createMetaInfo and a VIEW with implicit typed attributes (#385) -- failed to import with --importTid class that extends a structure (#336) -- failed to export bags in multiple subclasses (#352) -- fix export Unknown WKB type 8 (iox-ili#92) -- ili2h2gis: schemaimport fails if class has a comment (#379) -- iox-ili-1.21.5 - -ili2db 4.4.5 (2020-12-28) ------------------------------- -- add support for h2gis db (#343) -- add --xtflog (#368) -- iox-ili-1.21.4 -- ili2c-5.1.5 - -ili2db 4.4.4 (2020-10-02) ------------------------------- -- fixed MultiSurface export / Unexpected WKB type 3 (#358) -- remove use of ObjectOutputStream.writeObject() (#354) -- Separate GUI (Swing) classes from Main class (#357) -- export: switch delayedObjects from heap to file (#363) -- ili import: Unexpected behavior with EXTENDED enumerations (#362) -- ili import: create metainfo about OID domain (#365) -- Rounder: do not try to round illegal values/NaN (#367) -- fix NaN in arc segmentation (#367) -- iox-ili-1.21.3 -- ili2c-5.1.4 - -ili2db 4.4.3 (2020-05-04) ------------------------------- -- improved ili 2.4/2.3 model lookup -- ili2gpkg: added CRS 'MAGNA-SIRGAS / CTM12', 38820, 'STC' to init script -- iox-ili-1.21.0 -- ili2c-5.1.1 - -ili2db 4.4.2 (2020-04-01) ------------------------------- -- fix Export with empty geometry fails with NPE (#338) -- iox-ili-1.20.18 -- ili2c-5.0.8 - -ili2db 4.4.1 (2020-03-02) ------------------------------- -- Create SQL script (--createscript) for SQL Server) generates wrong insert commands (#328) -- Broken ili1 export (#326) -- ili2ora: Fix npe thrown when executing createscript operation (#332) -- ili2ora: add tablespace support (#335) -- iox-ili 1.20.17 -- ili2c-5.0.6 - -ili2db 4.4.0 (2020-01-31) ------------------------------- -- create db tables ony in a derived language (#221) -- add kind of association (Association, Composition, Aggregation) into meta tables (#323) -- Cardinality of "BAG OF" is missing in the metadata tables (#171) -- if --sqlEnableNull add NOT NULL meta-attribute for ili MANDATORY attrs (#180) -- Exception when calling schemaimport with views (#310) -- JTS parser fails reading a MultiPolygonZ from Geopackage (#325) -- BASKET OID AS INTERLIS.UUIDOID: Problem bei XTF-Export aus PostGIS (#287) -- enable export of BID without --createBasketCol (if object/basket assignment possible) (#287) -- log missing/wrong id for enum values -- fix missing baskets in statistics -- iox-ili-1.20.16 - -ili2db 4.3.3 (2019-12-23) ------------------------------- -- fix --update without stable BID (#315) -- fix --update n:n ASSOCATION (#315, #316) -- fix export to base model if base class abstract (#314) -- iox-ili-1.20.15 - -ili2db 4.3.2 (2019-11-08) ------------------------------- -- fix extended geometry attributes in model generates duplicated geometry fields in DB (#296) -- iox-ili-1.20.14 - -ili2db 4.3.1 (2019-10-25) ------------------------------- -- fix --replace if forward reference in xtf (#299) -- fix missing objects in exported xtf -- fix "--deleteData" has no effect (#295) -- move --deleteData from schemaimport to import code (#291) -- fixed duplicate metainfo records (#255) - -ili2db 4.3.0 (2019-09-20) ------------------------------- -- fix LocalisedMText, MultilingualMText smart mapping (#306) -- export XTF in a different language (#222) -- fixed polymorph export contains cantonal model reference (#282) - -ili2db 4.2.0 (2019-09-06) ------------------------------- -- new option --modelSrsCode model=epsgCode -- new option --exportCrsModels modelname -- new option --expandLocalised (#289) -- new meta attribute to flag a CLASS as having OID (#207) -- skiped topics during import should not be validated (#125) -- tag CLASS tables (like STRUCTUREs) (#268) -- remove reference to javax.xml.bind.DatatypeConverter/sun.misc (because of removal in jdk11) -- ili2gpkg: allow relationship loops -- ili2gpkg: Add two SRSs to init.sql (32635 and 4686) (#300) -- fixed incomplete schema import if reference to class in other model -- fixed export of superfluous TID in standalone assocs (#292) -- iox-ili-1.20.13 -- ili2c-5.0.2 -- ehisqlgen-1.13.8 - -ili2db 4.1.0 (2019-05-03) ------------------------------- -- added --export3 to export from ili2db-3.x schemas -- fixed --delete if no import meta tables -- round numeric values on import/export (--disableRounding) #201 -- ili2mysql: failed to create table T_KEY_OBJECT #280 -- ili2gpkg: fixed multiple geometry attr in extended classes #257 -- remove constraint that t_id must be unqiue across all tables #145 -- support multiple translated ili1 models #224 -- fixed data import into json mapped structures #277 -- ili2fgdb: fixed "dangling references" on export #276 - -ili2db 4.0.0 (2019-04-05) BETA ------------------------------- -- IMPORTANT: ili2db 4.x breaks schema compatibility with ili2db 3.x -- T_ILI2DB_MODEL.file -> filename -- T_ILI2DB_IMPORT_BASKET.import -> importrun -- T_ILI2DB_ATTRNAME.owner -> colowner -- T_ILI2DB_SETTINGS.settings new length 1024 -- T_ILI2DB_BASKETS.domains new column -- set ch.ehi.ili2db.ver3_translation=True (in T_ILI2DB_SETTINGS) to get ver3 translation -- remove ch.ehi.ili2db.ver4_translation=True (in T_ILI2DB_SETTINGS) to get ver4 translation -- xtf24: import/export coord generics -- attributes of 1:n associations -- ehisqlgen-1.13.7 -- iox-ili-1.20.11 -- ili2c-5.0.0 -- fixed: missing resource ch.ehi.basics.wizard -- replaced TOML file reader with INI file reader -- Fehler beim polymorphen Schreiben von Modellen mit CatalogueObjects #229 -- separate tid import from tid column creation #274 -- --createscript creates wrong sql insert commands #261 -- Wrong dependency scope for ili2db in ili2pg artefact #272 -- remove implicit schema import with --import #112 -- make --ver4-translation the default #271 -- Confusing error message in Export #264 -- failed to insert setting #157 -- cleanup column/table names of ili2db metatables #238 -- check sql table names for reserved words #267 -- check sql names for mysql reserved words #265 -- check sql names for oracle reserved words #266 -- NullPointerException on import after schemaimport with v4-SNAPSHOT #259 -- unexpected namesapce http://www.interlis.ch/INTERLIS2.2 #258 -- --createscript should include CREATE SCHEMA stmt #260 -- Create SQL script should insert values for enumerations and t_ili2db meta tables #124 -- remove default SRS code #111 -- Change --defaultSrsCode to 2056 #80 -- ili2db schema import: missing fk in one-to-many relationships with attributes #228 -- JSON-Stringobjekt vs. JSON-Array #247 -- ili2pg: SSL-connection to DB Server possible? #176 -- add --dbparams option to support additional connection parameters #252 -- remove tag @iliname from db comments #251 -- reference ili2c-5.x #253 -- ignore ordering of JSON properties #245 -- add mysql support #234 -- new option --validate #237 -- ch.ehi.ili2db.c1Min should be the value from the ili-model #226 -- map BAG/LIST to JSON by default #218 -- Add t_type property in meta-info table and constraint on the column #242 -- ili2gpkg: support ARRAY mapping (to JSON) #240 -- use postgis geometry types instead of AddGeometryColumn #236 -- support smart mapping of structures to JSON #128 -- Create SQL script without creating tables in the database #85 -- --createEnumTabs with --createFk should create FKs to enum tabs #19 -- ili2pg Fehler auf AI KKGEO #225 -- ili2mssql: remove db specific default CRS #127 - -ili2pg 3.12.2 (2018-09-07) ------------------------------ -- Add geometry meta info to T_ILI2DB_COLUMN_PROP -- Add FK meta info to T_ILI2DB_COLUMN_PROP -- MSSQL: Add prePreScript and postPosScript template methods -- MSSQL: fixed connection string is to long for ilicache/filesystem -- switched from ant to gradle build -- ili2fgdb: fixed reference resolution -- ili2fgdb: fixed query of int column -- fgdb4j-1.1.1 -- ehisqlgen-1.13.6 -- iox-ili-1.20.9 - -ili2pg 3.12.1 (2018-08-13) ------------------------------ -- iox-ili 1.20.8 - -ili2pg 3.12.0 (2018-08-04) ------------------------------ -- fixed: create secondary table (with geometry attr) per main table with smart2 -- new option --skipReferenceErrors -- with --export multiple datasets can be exported (--dataset set1;set2) -- new option --importBid to import transient BIDs -- import BID only if stable BID or --importBid -- use basket db-internal id if no explicit BID - -ili2pg 3.11.5 (2018-07-06) ------------------------------ -- ili2c-4.7.9 -- iox-ili-1.20.7 -- fixed Viewable.getAttributesAndRoles2() workaround -- fixed import: table t_ili2db_meta_attrs may not exist, if db schema created with a pre 3.11.2 version -- added --ver4-noSchemaImport to avoid implicit schema import during data import - -ili2pg 3.11.4 (2018-06-22) ------------------------------ -- fixed object references reolution with DB records based on EXTERNAL instead of OID AS -- fixed export validation error "incompatible values" if LocalisationCH_V1.LocalisedText without language -- use models from xtf element MODEL instead of first basket -- use OutParam instead of Holder -- ili2c-4.7.8 -- iox-ili-1.20.6 -- ehibasics-1.2.0 -- ehisqlgen-1.13.5 - -ili2fgdb/ili2pg/ili2gpkg 3.11.3 (2018-04-12) ------------------------------ -- ehisqlgen-1.13.4 -- ili2fgdb: fixed resource leaks -- ili2fgdb: fixed MultiSurface export -- ili2db: fixed import/export of a reference to a concrete extension class, which is an extension of an already concrete base class -- ili2db: use common Version.properties - -ili2pg 3.11.2 (2018-02-08) ------------------------------ -- added new option --iliMetaAttrs -- read all ili-meta-attributes into a new table t_ili2db_meta_attrs -- iox-ili-1.20.2 -- ili2c-4.7.7 -- ehisqlgen-1.13.3 - -ili2pg 3.11.1 (2017-12-29) ------------------------------ -- fixed export of TIDs if CLASS is without OID but --importTid was used -- ili2c-4.7.6 -- iox-ili-1.20.1 - -ili2pg 3.11.0 (2017-11-28) ------------------------------ -- added MultiPoint smart mapping -- added ARRAY smart mapping -- read CRS from ili -- create datasetName on --import -- ili2c-4.7.5 -- iox-ili-1.20.0 -- ehisqlgen-1.12.0 - -ili2pg 3.10.10 (2017-11-03) ------------------------------ -- added mssql support -- added mssql keywords to list of reserved words - -ili2fgdb 3.10.9 (2017-10-26) ------------------------------ -- ili2db: new option --exportModels to export according to a base model -- ili2pg: fixed --setupPgExt if external connection -- ili2db: log current date/time -- ili2db: add geometry extent info to t_ili2db_column_prop -- ili2fgdb: fixed schema import of 3D shapes (z-values) -- ili2fgdb: hardcoded XYFalseOrigin values for LV03/LV95 -- iox-ili 1.19.8 - -ili2fgdb 3.10.8 (2017-09-14) ------------------------------ -- ili2fgdb: fixed import/export of NULL shapes -- ili2fgdb: fixed export of classes with multiple geometries -- ili2fgdb: fixed export of curve section (ignore Spiral, Bezier3Curve, EllipticArc) -- ili2fgdb: close boundaries of polygons, if not yet closed -- ili2fgdb: fixed export of Dates (if user stored timestamps) -- ili2fgdb: fixed setting of xyResolution and xyTolerance -- iox-ili 1.19.7 - -ili2pg/ili2fgdb 3.10.7 (2017-08-23) ------------------------------ -- fixed import of references to existing objects in db -- fixed statistics - -ili2pg 3.10.6 (2017-08-21) ------------------------------ -- fixed import of forward references -- iox-ili 1.19.5 -- fixed missing origin model of TRANSLATION OF in t_ili2db_model.modelname - -ili2gpkg 3.10.5 (2017-08-18) ------------------------------ -- ehisqlgen-1.11.2 -- fixed export of models with identical column names in different secondary tables -- fixed read/write of java class names to t_ili2db_settings - -ili2fgdb 3.10.4 (2017-08-16) BETA ------------------------------ -- ili2fgdb: fixed JVM crash -- ili2fgdb: fixed sub-selects in prepared stmts -- ili2fgdb: fixed NULL literal in select value list - -ili2fgdb 3.10.3 (2017-08-15) BETA ------------------------------ -- ili2fgdb: fixed "failed to create folder jdbc:ili2fgdb:../file.gdb" if using forward slashes in --dbfile arg - -ili2fgdb 3.10.2 (2017-08-14) BETA ------------------------------ -- ili2fgdb: fixed time import/export -- ili2fgdb: added --fgdbXyResolution -- ili2fgdb: added --fgdbXyTolerance -- ili2fgdb: fixed NPE while --import - -ili2fgdb 3.10.1 (2017-08-14) BETA ------------------------------ -- ili2fgdb: support all datatypes -- ili2fgdb: support export of structures -- iox-ili 1.19.5 -- fixed --preScript/--postScript argument handling - -ili2fgdb 3.10.0 (2017-07-06) BETA ------------------------------ -- initial support of ESRI FileGDB API 1.5 -- read ilidoc as enum element description - -ili2pg/ili2gpkg 3.9.1 (2017-06-27) ------------------------------ -- added metaInfo/textKind=MTEXT -- read/use @ili2db.dispName from enum elements -- PostGIS: unique constraints changed to ST_AsBinary() for geometries -- fixed "Unexpected WKB type 2" if MULTILINESTRING -- iox-ili-1.19.4 -- ehisqlgen-1.11.1 - -ili2pg/ili2gpkg 3.9.0 (2017-06-19) ------------------------------ -- added list of reserved sqlite and postgresql keywords -- added option --preScript/--postScript to support before- and after-import custom sql -- added verify that given --defaultSrsAuth/Code exists in DB -- added option --setupPgExt to create postgresql extensions 'uuid-ossp' and 'postgis' -- added option --createMetaInfo to create meta tables with info from model -- added option --coalesceMultiLine -- improve performance of db table existence check -- fixed export: export of objects without OID in inheritance tree mixed with/without stable OID -- ili2c-4.7.3 -- iox-ili-1.19.1 -- ehisqlgen-1.11.0 - -ili2pg/ili2gpkg 3.8.1 (2017-04-21) ------------------------------ -- fixed schema import: FK of embedded assocations in subtypes must be NULLable -- fixed import: failed to insert FK of structele to subtyped parents -- fixed export: failed to export extended attributes -- fixed export: fixed use of unqualified columnname (disturbed sqlite JDBC driver) -- fixed export: export of CLASS inheritance tree mixed with/without stable OID -- ili2c-4.7.2 -- iox-ili-1.18.1 - -ili2pg/ili2gpkg 3.8.0 (2017-04-10) ------------------------------ -- new option --ver4-translation to support TRANSLATION OF in ili2db 4.x mode (incompatible with ili2db 3.x versions) -- new option --translation to assign a translated ili1 model to its orginal language equivalent -- fixed: import of EXTERNAL references to objects with UUID as oid -- fixed: export of pre 1582-10-15 dates -- fixed: BLACKBOX is mapped to a wrong sql type -- fixed: make index name unique per schema -- iox-ili-1.17.0 -- ili2c-4.7.1 - -ili2pg/ili2gpkg 3.7.0 (2017-03-26) ------------------------------ -- fixed: --createEnumTabs creates too many tables -- generate BID for baskets read from ITF files as $dataset.$topicname if --dataset is used -- new option --createDatasetCol to create dataset column in each table -- new option --skipGeometryErrors to ignore geometry errors -- new option --disableAreaValidation to disable AREA validation -- new option --forceTypeValidation to restrict customization of validation related to \"multiplicity\" -- iox-ili-1.16.0 - -ili2pg/ili2gpkg 3.6.2 (2017-03-17) ------------------------------ -- fixed --sqlEnableNull on FK columns -- itf: validate TID per table -- iox-ili-1.15.0 - -ili2pg/ili2gpkg 3.6.1 (2017-01-20) ------------------------------ -- fixed export of references to a class with subClass mapping -- add docu from ili to fk columns -- added new options --proxy, --proxyPort - -ili2pg/ili2gpkg 3.6.0 (2016-12-30) ------------------------------ -- new option --beautifyEnumDispName to replace underscore with space from dispName -- new column 'inactive' in enum tables -- import: filter data to given --topics or --baskets -- new option --createNumChecks -- ehisqlgen-1.9.0 -- fixed GeoPackage FK constraints -- new option --ILIGML20 to write eCH-0118-2.0 -- fixed: use default CRS for srsName when writing GML - -ili2pg/ili2gpkg 3.5.1 (2016-12-21) ------------------------------ -- import: failed to resolve EXTENDED EXTERNAL ReferenceAttr -- import: fixed "ERROR: relation "t_ili2db_seq" already exists" -- import: fixed java.lang.NullPointerException with CatalogueObjects_V1.Catalogues.CatalogueReference.Reference -- schemaimport: fixed table name mapping (java.lang.NullPointerException) - -ili2pg/ili2gpkg 3.5.0 (2016-11-25) ------------------------------ -- import: map LocalisedText to unlimited text -- export: failed to export all baskets of a dataset -- fixed db table/column name conflict if only case differs in ili -- fixed wrong NOT NULL on FK columns with --smart2Inheritance -- fixed --update with existing dataset -- MultiSurface not detected as geometry column during mapping configuration -- fixed sql precision for numerical types -- fixed missing "CREATE SEQUENCE t_ili2db_seq" in create script -- ehisqlgen-1.8.0 -- iox-ili-1.13.6 - -ili2pg/ili2gpkg 3.4.1 (2016-11-14) ------------------------------ -- fixed sql statement to query existing oids from a table without a t_type column -- fixed missing/wrong references when importing ITF files with TIDs unique only per table - -ili2pg 3.4.0 (2016-09-17) ------------------------------ -- support ili meta attr ili2db.mapping=MultiSurface -- import: fixed --skipPolygonBuilding (failed to create line tables) -- export: fixed mapping of sqlid to TID if --skipPolygonBuilding -- import: buffer objects with forward references to disk to save heap space -- validation: handle Itf linetables -- iox-ili-1.13.4 - -ili2pg 3.3.2 (2016-09-05) ------------------------------ -- iox-ili-1.13.2 -- validator: validate DATE, BOOLEAN, XMLDate, XMLDateTime, XMLTime, UUIDOID -- validator: validate OID AS UUIDOID -- validator: added global config section [PARAMTER] with entry validation="off" - -ili2gpkg 3.3.1 (2016-08-29) ----------------------------------- -- iox-ili-1.13.1 -- check free memory over get/set calls of all pools - -ili2pg 3.3.0 (2016-08-10) ----------------------------------- -- fixed incomplete --delete with multiple baskets -- fixed visiting of class/structure extensions in models that are not referenced but loaded (Jagdbanngebiete_V2.ili failure) -- new option --idSeqMin and --idSeqMax to set the min/max of the id sequence generator -- generate t_id as bigint (to match sequence generator) -- show maxMemory at startup -- check that --import with --dataset uses a new name - -ili2gpkg/ili2pg 3.2.0 (2016-07-08) ----------------------------------- -- new function --replace to replace a dataset -- new function --delete to delete a dataset -- new option --dataset name to name a dataset -- new option --validConfig file to configure the validation -- new option --disableValidation to disable any data validation -- fixed superfluous t_type if a concrete class without any extensions -- API: moved Ili2cUtility functions to ili2c.jar -- deprecated t_ili2db_import, t_ili2db_import_basket, t_ili2db_import_object -- ili2c-4.5.23 -- iox-ili-1.12.0 - -ili2gpkg/ili2pg 3.1.0 (2016-05-31) ----------------------------------- -- added column datasetName to table T_ILI2DB_DATASET to make a dataset identifiable from the outside -- new option --smart2Inheritance -- --smartInheritance renamed to --smart1Inheritance - -ili2gpkg/ili2pg 3.0.4 (2016-05-26) ----------------------------------- -- API: set connection as closed after processing (Config.setJdbcConnection(null);) -- ili2c-4.5.22 -- iox-ili-1.11.5 -- GPKG: fixed mapping of date value (avoid shift of one day due to timezone conversion) -- PG: fixed insert of a NULL UUID -- PG: postgresql-9.4.1208.jre6.jar - -ili2gpkg/ili2pg 3.0.3 (2016-03-09) ----------------------------------- -- map ili:TEXT to sql text type without length limit -- fixed mapping of struct attr in sub class, if struct defined after base class -- fixed mapping of struct attr with abstract structure -- GPKG: fixed mapping of 1..10 to INTEGER -- GPKG: fixed import of date/time to meet GeoPackage spec -- do not create duplicate linetables with --skipPolygonBuilding and mor than one geom attr in maintable -- fixed import of invalid dangling references - -ili2gpkg/ili2pg 3.0.2 (2016-02-10) ----------------------------------- -- fixed smart mapping of RoleDef to class with superClass mapping -- fixed import with 1:1 mapping of struct attr in a base class - -ili2gpkg/ili2pg 3.0.1 (2016-01-26) ----------------------------------- -- API: fixed typo Config.setItfTranferfile() -- fixed String index out of range if sql table name conflict - -ili2gpkg/ili2pg 3.0.0 (2016-01-23) ----------------------------- -- GPKG: fixed missing init.sql -- GPKG: fixed TOWGS84-Parameter of EPSG:21781 -- GPKG: fixed CH srs -- GPKG: added TABLE gpkg_extensions -- GPKG: added envelope to GeoPackageBinaryHeader -- GPKG: add only first geometry column to gpkg_contents and gpkg_geometry_columns -- T_ILI2DB_SETTINGS.setting changed to length 255 -- jts-core-1.14 -- new option --skipPolygonBuildingErrors -- GPKG: fixed timestamp parse exception -- fixed export without t_basket column -- fixed duplicate column name from same attribute-name in subclasses -- new option --oneGeomPerTable -- refactored table naming -- removed deprecated option --mapconfig -- new option --createUnique to map simple ili unique constraints -- API: client might open db connection (use Config.setJdbcConnection()) -- fixed missing content of table t_ili2db_inheritance -- changed content of table t_ili2db_inheritance from sqlnames to ilinames - -ili2pg 2.5.1 (2016-01-04) ----------------------------- -- support GeoPackage (--dbfile file.gpkg) -- fixed duplicate columnname if structattr in class with subclass-mapping - -ili2pg 2.5.0 (2015-12-23) ----------------------------- -- ili-obj/sql-record conversion refactored -- new option --noSmartMapping -- new option --coalesceCatalogueRef -- new option --expandMultilingual -- new option --coalesceMultiSurface -- new option --smartInheritance - -ili2pg 2.4.0 (2015-12-09) ----------------------------- -- fixed export of VIEWs -- fixed import/export of TIDs of VIEWs -- skip TRANSIENT VIEWs -- support ili2 EXTERNAL -- ili2pg: t_id with default value -- PgMain.initConfig() made public, so that it can be used by API clients -- create T_Ili_Tid column if class has OID (without explicit --importTid) -- export --baskets -- export --topics -- export BID -- support --update -- ili2c-4.5.19 - -ili2pg 2.3.1 (2015-11-23) ----------------------------- -- check for invalid placed arguments (options without "--" prefix) -- fixed loss of arearef if --skipPolygonBuilding -- fixed conversion of 3d-xtf to wkb (polyline/surface/area) -- tag errors in logfile -- iox-ili-1.11.1 -- ili2c-4.5.18 - -ili2pg 2.3.0 (2015-10-01) ----------------------------- -- switch back to enum with xtf-code (to handle extended enums) -- new option --createEnumColAsItfCode -- new option --createFk -- new option --createFkIdx -- handle t_ili_tid on export (incl. forward references) -- imp: fix use --models to create db schema -- imp: fix handle assoc without TID - - -ili2pg 2.2.0 (2015-09-10) ----------------------------- -- gml export: adjusted to approved eCH-0118-1.0 -- ili2c-4.5.17 -- iox-ili 1.11.0 - -ili2pg 2.1.7 (2015-09-04) ----------------------------- -- send top level exception also to --log file -- fixed eye handling in overlap remover -- ili2c-4.5.16 -- iox-ili 1.10.6 - -ili2pg 2.1.6 (2015-08-14) BETA ----------------------------- -- ili2c-4.5.15 -- Arc/Arc overlap remover added -- Ili2db.run(), Ili2db.runImport(), Ili2db.runExport(), Ili2db.runSchemaImport() throw Ili2dbException on error, normal return only on success - -ili2pg 2.1.5 (2015-08-10) BETA ----------------------------- -- ili2c-4.5.14 -- Arc/Straight overlap remover added - -ili2pg 2.1.4 (2015-06-16) BETA ----------------------------- -- gml export: added (pre-public eCH-0118 version) -- itf export: export from polygons to linetables -- itf import: ignore valid overlpas (result polygons might be invalid) -- bug xtfexport: use no dbschema qualifier in t_type query criteria - -ili2pg 2.1.3 (2015-04-30) BETA ----------------------------- -- itf import: import polygons with arcs -- bug iliimport --createSingleEnumTab: handle ViewDef attrs without type (type is derived from base) -- bug iliimport --createEnumTabs: handle ViewDef attrs without type (type is derived from base) -- bug gui iliimport: set %XTF_DIR to folder of selected ili-file so that imports resolve - -ili2pg 2.1.2 (2015-04-21) BETA ----------------------------- -- improved ilidir logging -- bugfix: use always semicolon as modeldir and modelname separator -- add %ILI_FROM_DB to default modeldir -- bug import: handle reference attrs -- bug export: handle EXTENDED attrs -- bug iliimport: handle ViewDef attrs without type (type is derived from base) - -ili2pg 2.1.1 (2015-04-09) BETA ----------------------------- -- support xtf-surface -- build polygons out of itf line tables -- bug import: fixed polygon building; use external/file based cache -- bug export: read ili from database -- bug export: differentiate ili-cache location on database and dbschema -- ili2c 4.5.12 - -ili2pg 2.0.3 (2012-08-17) BETA ----------------------------- -- added comments on tables and columns -- metatables renamed (T_ILI2DB_BASKET, T_ILI2DB_MODEL, T_ILI2DB_IMPORT, ...) -- added T_ILI2DB_DATASET -- added T_ILI2DB_IMPORT_BASKET -- added T_ILI2DB_BASKET/dataset -- define primary key on T_ILI2DB_ATTRNAME -- define primary key on T_ILI2DB_CLASSNAME -- define primary key on T_ILI2DB_INHERITANCE -- define primary key on T_KEY_OBJECT -- define primary key on T_ILI2DB_MODELS -- use system dependent path-separator to seperate modeldirs and models -- import T_ILI2DB_IMPORT/importfile with absolute path -- bug: fixed creation of column name based on qualified ili attribute name -- bug: fixed join syntax if MS-ACCESS -- bug: fixed NullPointerException with structele export -- bug: read ili-model only from db if table with models exists -- bug: fixed export of boolean -- bug: multi import of same MODEL - -ili2pg 2.0.2 (2012-03-05) BETA ----------------------------- -- schema support -- log db version info -- bug GUI: NullPointerException if schema import -- attribute renaming -- table renaming -- INTERLIS_DATE/XMLDate/XMLDateTime/XMLTime -- line attributes - -ili2pg 2.0.1 (2012-02-10) BETA ----------------------------- -- enum with itf-code -- Enum_txt -- single commit -- ordering of itf-attributes -- delete existing data at import -- collect statistics per class -- logfile -- customize max sql-name length -- avoid superfluous tables from MODEL INTERLIS - -ili2ora 1.4.1 (2008-01-29) ----------------------------- -- bug: missing JTS in distribution - -ili2ora 1.4.0 (2008-01-28) ----------------------------- -- added support to store geometry as OGC WKB (-geomwkb switch) for use without oracle locator/spatial -- added support to store geometry as OGC WKT (-geomwkt switch) for use without oracle locator/spatial -- create primary key - -ili2ora 1.3.3 (2007-11-21) ----------------------------- -- recompiled with java 1.4 as target -- Bug: IndexOutOfBoundsException if 3D COORD -- Bug: failed to parse all oracle specific cmdline arguments -- Bug: NullPointerException if filename without path on cmdline -- changed default CRS back to EPSG:21781 (="CH1903 / LV03" on ora 10.2; seems to be different on different ora versions) - -ili2ora 1.3.2 (2007-11-13) ----------------------------- -- changed default CRS authority to NULL - -ili2ora 1.3.1 (2007-11-12) ----------------------------- -- ili2c 3.5.5 -- new GUI -- new commandline option to select default SRS - -ili2ora 1.1.1 (2005-08-10) ----------------------------- -- remove flag -trace in startup script (improve speed) -- Bug: jvm crash (iom_java.dll uses wrong C runtime library) - -ili2ora 1.1.0 (2005-07-05) ----------------------------- -- T_Seq is mandatory for structs -- report unknown types on import -- export structs -- handle structs of other models -- Bug: incorrect encoding of non-ansi characters -- Bug: incorrect schema generation for decimals -- Bug: insert/query-statement incorrect if name of attribute/role mapped -- Bug: incorrect schema generation for boolean -- Bug: incorrect export if embedded link undefined -- Bug: use sql name of attribute to link from struct value to parent - -ili2ora 1.0.0 (2005-05-09) ----------------------------- -- add columns T_ParentAttr,T_Seq to tables that represent structures -- use T_ILI2ORA_CLASSNAME (instead of mapping config file) at export -- ordered structs -- unload data - - -ili2ora 0.3.0 (2005-04-05) ----------------------------- -- read mapping config from an xml file -- insert mapping into table T_ILI2ORA_CLASSNAME -- insert inheritance tree into table T_ILI2ORA_INHERITANCE -- update gui during workload -- handle structs -- handle boolean datatype -- create createscript -- add sample zpl -- add ili2ora model -- replace debug dlls with release dlls in distribution -- upgrade xerces-c to 2.6.0 - -ili2ora 0.2.0 (2005-02-21) ----------------------------- -- load data -- info about progress -- button 'check models' -- Bug: returned immediately after option -trace - -ili2ora 0.1.0 (2005-02-10) ----------------------------- -- initial release -- translates INTERLIS 2 data model definitions to an oracle schema. \ No newline at end of file diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.apache b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.apache deleted file mode 100644 index 70cb54a0..00000000 --- a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.apache +++ /dev/null @@ -1,56 +0,0 @@ -/* - * The Apache Software License, Version 1.1 - * - * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Xerces" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation and was - * originally based on software copyright (c) 1999, International - * Business Machines, Inc., http://www.ibm.com. For more - * information on the Apache Software Foundation, please see - * . - */ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.lgpl b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.lgpl deleted file mode 100644 index b1e3f5a2..00000000 --- a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/LICENSE.lgpl +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/README.txt b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/README.txt deleted file mode 100644 index a76b13cc..00000000 --- a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/README.txt +++ /dev/null @@ -1,28 +0,0 @@ -ili2ora - INTERLIS 2-loader for oracle - -Features -Translates INTERLIS 2 data model definitions to an oracle schema. -Loads INTERLIS 2 data into an oracle database. -Unloads INTERLIS 2 data from an oracle database. - -License -ili2ora is licensed under the LGPL (Lesser GNU Public License). - -Status -ili2ora is in beta/transition state. - -System Requirements -For the current version of ili2ora, you will need a JRE (Java Runtime Environment) installed on your system, version 1.6 or later. -The JRE (Java Runtime Environment) can be downloaded for free from the Website http://www.java.com/ . -ili2ora was tested with Oracle 9. - -Installing ili2ora -To install ili2ora, choose a directory and extract the distribution file there. - -Running ili2ora -ili2ora can be started with - -java -jar ili2ora.jar [options] file.xtf - -Comments/Suggestions -Please send comments to ce@eisenhutinformatik.ch. diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/ili2db.html b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/ili2db.html deleted file mode 100644 index e84325af..00000000 --- a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/docs/ili2db.html +++ /dev/null @@ -1,2623 +0,0 @@ - - - - - - -Anleitung zur Programmfamilie ili2db - - - -
-

Anleitung zur Programmfamilie ili2db

- -
-

Überblick

-

ilid2db ist eine in Java erstellte Programmfamilie, die zurzeit ili2pg, -ili2fgdb, ili2gpkg, ili2ora, ili2mssql, ili2mysql und ili2h2gis umfasst.

-

Damit kann eine -Interlis-Transferdatei (itf oder xtf) einem Interlis-Modell entsprechend -(ili) mittels 1:1-Transfer in eine Datenbank (PostgreSQL/Postgis bzw. -GeoPackage) gelesen werden oder aus der Datenbank mittels einem 1:1-Transfer -eine solche Transferdatei erstellt werden. Folgende Funktionen sind möglich:

-
    -
  • erstellt das Datenbankschema aus einem Interlis Modell
  • -
  • importiert Daten aus einer Transferdatei in die Datenbank
  • -
  • exportiert Daten aus der Datenbank in eine Transferdatei
  • -
-

Folgende Transferformate werden unterstĂŒtzt:

-
    -
  • INTERLIS 1
  • -
  • INTERLIS 2
  • -
  • GML 3.2 [1]
  • -
-
-

Schemaimport in die Datenbank

-

Beim Schemaimport (--schemaimport) wird anhand des INTERLIS Modells das -Datenbankschema angelegt.

-

Diverse Optionen beeinflussen die Abbildung.

-

Den Geometrien kann mittels Parameter ein EPSG-Code zugewiesen werden. -Die Geometrie-Attribute können optional indexiert werden.

-

Beispiel:

-
-java -jar ili2gpkg.jar --schemaimport --dbfile mogis.gpkg path/to/dm01av.ili
-
-
-
-

Import in die Datenbank

-

Der Import (--import) schreibt alle Objekte (im Sinne der eigentlichen Daten) -der Transferdatei in die Datenbank.

-

Diverse Optionen beeinflussen, was mit den bestehenden Daten in der DB geschieht.

-

Area- und Surface-Geometrien werden bei Interlis 1 polygoniert.

-

Kreisbögen werden als Kreisbögen importiert und somit nicht segmentiert -(oder können optional auch segmentiert werden).

-

Beispiel:

-
-java -jar ili2gpkg.jar --import --dbfile mogis.gpkg path/to/data.xtf
-
-
-
-

Export aus der Datenbank

-

Der Export (--export) schreibt alle Daten aus der Datenbank in eine -Transferdatei.

-

Mit weiteren Optionen wird gesteuert, welche Daten aus der Datenbank exportiert -werden.

-

Genau einer der Parameter --models, --topics, --baskets oder --dataset -muss zwingend verwendet werden, um die zu exportierenden DB-Records auszuwÀhlen.

-

Der Parameter --exportModels definiert das Export-Modell, indem die Daten -exportiert werden (der Parameter ist also keine Alternative, -sondern ein Zusatz fĂŒr --models, --topics, --baskets oder --dataset). -Als Export-Modelle sind Basis-Modelle (also z.B. Bundes-Modell -statt Kantons-Modell) oder ĂŒbersetzte Modelle (also z.B. DM_IT statt DM_DE) zulĂ€ssig. -Ohne die Option --exportModels werden die Daten so wie sie erfasst sind -(bzw. importiert wurden), exportiert.

-

Geometrien vom Typ Area und Surface werden bei Interlis 1 wÀhrend dem -Export in Linien umgewandelt.

-

Beispiel:

-
-java -jar ili2gpkg.jar --export --models DM01 --dbfile mogis.gpkg path/to/output.xtf
-
-
-
-

Log-Meldungen

-

Die Log-Meldungen sollen dem Benutzer zeigen, was das Programm macht. -Am Anfang erscheinen Angaben zur Programm-Version. -Falls das Programm ohne Fehler durchlÀuft, wird das am Ende ausgegeben.:

-
-Info: ili2fgdb-3.10.7-20170823
-...
-Info: compile models...
-...
-Info: ...export done
-
-

Bei einem Fehler wird das am Ende des Programms vermerkt. Der eigentliche -Fehler wird aber in der Regel schon frĂŒher ausgegeben.:

-
-Info: ili2fgdb-3.10.7-20170823
-...
-Info: compile models...
-...
-Error: DM01.Bodenbedeckung.BoFlaeche_Geometrie: intersection tids 48, 48
-...
-Error: ...import failed
-
-
-
-

Fehlerhafte Daten

-

Um fehlerhaften Daten zu importieren (um sie danach (z.B. im GIS) zu flicken), muss mindestens die -Validierung ausgeschaltet werden (--disableValidation). Das DB Schema muss -aber auch so angelegt werden, dass fehlerhafte Werte als Text importiert werden können (--sqlColsAsText) -bzw. durch NULL ersetzt werden können (--sqlEnableNull). -Und die Programmlogik fĂŒr den Datenimport muss die Fehler -tolerieren (--skipReferenceErrors und --skipGeometryErrors), so dass -z.B. eine Referenz auf ein nicht vorhandenes Objekt ignoriert wird.

-

Um solche Daten zu importieren (um sie danach zu flicken):

-
-java -jar ili2gpkg.jar --schemaimport --sqlEnableNull --sqlColsAsText --dbfile mogis.gpkg path/to/mo.ili
-java -jar ili2gpkg.jar --import --skipReferenceErrors --skipGeometryErrors --disableValidation --dbfile mogis.gpkg path/to/data.xtf
-
-

Bei ITF (Interlis 1): Fehlerhafte AREA Attribute können fĂŒr -den ganzen Datensatz nicht als Polygone -gelesen werden, weil ein Programm nicht erkennen kann, welche Linien und -Punkte falsch sind (Punkt und/oder Linie zu viel oder zu wenig; Linie zu kurz oder zu lang); -und somit nicht erkennen kann, bei welchem Polygon der Fehler ist. -Dass diese Daten nicht gelesen werden können, hat also nicht in erster Linie -mit der Validierung zu tun, sondern damit, dass aus den Linien+Punkten -keine Polygone gebildet werden können. Die Polygonbildung muss also -ausgeschaltet werden (--skipPolygonBuilding).

-

Um solche Daten zu importieren (um sie danach zu flicken):

-
-java -jar ili2gpkg.jar --schemaimport --sqlEnableNull --sqlColsAsText --skipPolygonBuilding --dbfile mogis.gpkg path/to/mo.ili
-java -jar ili2gpkg.jar --import --skipReferenceErrors --skipPolygonBuilding --skipGeometryErrors --disableValidation --dbfile mogis.gpkg path/to/data.itf
-
-
-
-

Laufzeitanforderungen

-

Das Programm setzt Java 1.6 voraus.

-

PostGIS: Als Datenbank muss mindestens PostgreSQL 8.3 und PostGIS -1.5 vorhanden sein. Falls das Interlis Datenmodell INTERLIS.UUIDOID als -OID verwendet, wird die Funktion uuid_generate_v4() verwendet. -Dazu muss die PostgreSQL-Erweiterung uuid-ossp konfiguriert sein -(CREATE EXTENSION "uuid-ossp";). Mit der Option --setupPgExt -erstellt ili2pg die fehlenden notwendigen Erweiterungen.

-

FileGDB: Es muss Visual Studio 2015 C and C++ Runtimes -installiert sein. Je nach Java Version (Die Java Version ist massgebend, nicht die Windows Version) muss -die 32-bit oder 64-bit Version dieser Laufzeitbibliothek installiert sein. Falls diese Laufzeitbibliothek nicht -installiert ist, gibt es einen Fehler beim laden der FileGDB.dll. -Zur Laufzeit entpackt ili2fgdb zwei DLLs/Shared-Libraries und lÀdt -diese. Der Benutzer benötigt also die Berechtigungen, um diese Bibliotheken zu -laden.

-

GeoPackage: Zur Laufzeit entpackt ili2gpkg eine DLL/Shared-Library und lÀdt -diese. Der Benutzer benötigt also die Berechtigungen, um die Bibliothek zu laden.

-
-
-

Lizenz

-

GNU Lesser General Public License

-
-
-
-

Funktionsweise

-

In den folgenden Abschnitten wird die Funktionsweise anhand einzelner -AnwendungsfĂ€lle beispielhaft beschrieben. Die detaillierte Beschreibung -einzelner Funktionen ist im Kapitel „Referenz“ zu finden.

-
-

Schemaimport-Funktionen

-
-

Fall 1.1

-

Die Tabellen existieren nicht und sollen in der Datenbank angelegt -werden (--schemaimport).

-

PostGIS: java -jar ili2pg.jar --schemaimport --dbdatabase mogis ---dbusr julia --dbpwd romeo path/to/dm01.ili

-

GeoPackage: java -jar ili2gpkg.jar --schemaimport --dbfile -mogis.gpkg path/to/dm01.ili

-

FileGDB: java -jar ili2fgdb.jar --schemaimport --dbfile -mogis.gdb path/to/dm01.ili

-

Es werden keine Daten importiert, sondern nur die leeren Tabellen -angelegt.

-

PostGIS: Die leeren Tabellen werden im Default-Schema des Benutzers -julia angelegt. Die Geometrie-Spalten werden in der Tabelle -public.geometry_columns registriert.

-

Als Host wird der lokale Rechner angenommen und fĂŒr die Verbindung zur -Datenbank der Standard-Port.

-

GeoPackage: Die Geometrie-Spalten werden in den Tabellen -gpkg_contents und gpkg_geometry_columns registriert.

-

Falls die Datei mogis.gpkg noch nicht existiert, wird sie erzeugt und -mit den fĂŒr GeoPackage nötigen Metatabellen initialisiert. -Falls die Datei schon existiert, werden die Tabellen ergĂ€nzt.

-

FileGDB: Falls die Datei mogis.gdb noch nicht existiert, wird sie erzeugt. -Falls die Datei schon existiert, werden die Tabellen ergÀnzt.

-
-
-

Fall 1.2 (nur PostGIS)

-

Das gewĂŒnschte Schema und die Tabellen existieren nicht und es soll das -DB-Schema und -Datenmodell angelegt werden:

-

PostGIS: java -jar ili2pg.jar --schemaimport --dbdatabase mogis ---dbschema dm01av --dbusr julia --dbpwd romeo path/to/dm01.ili

-

Es werden keine Daten importiert, sondern nur das Schema dm01av (--dbschema dm01av) und die -leeren Tabellen angelegt. Die Geometrie-Spalten werden in der Tabelle -public.geometry_columns registriert.

-
-
-

Fall 1.3

-

Die Tabellen existieren nicht und sollen in der Datenbank angelegt -werden. Es werden keine Daten importiert, sondern nur die leeren Tabellen -angelegt:

-

PostGIS: java -jar ili2pg.jar --schemaimport --dbhost ofaioi4531 --dbport -5432 --dbdatabase mogis --dbusr julia --dbpwd romeo ---createEnumTabs --createBasketCol --log path/to/logfile path/to/dm01.ili

-

GeoPackage: java -jar ili2gpkg.jar --schemaimport --dbfile mogis.gpkg ---createEnumTabs --createBasketCol --log path/to/logfile path/to/dm01.ili

-

FileGDB: java -jar ili2fgdb.jar --schemaimport --dbfile mogis.gdb ---createEnumTabs --createBasketCol --log path/to/logfile path/to/dm01.ili

-

Alle Tabellen werden in der Datenbank erstellt. -Die Geometrie-Spalten werden registriert. Als Primary-Key -wird ein zusĂ€tzliches Attribut erstellt (t_id). ZusĂ€tzlich wir ein -t_basket Attribut erstellt (--createBasketCol). Dieses zeigt als FremdschlĂŒssel auf eine -Meta-Hilfstabelle (Importdatum, Benutzer, Modellname, Pfad der -Itf-Datei).

-

Die AufzÀhltypen werden in Lookup-Tables abgebildet (--createEnumTabs).

-

Es wird ein Logfile angelegt (--log path/to/logfile). -Dieses enthÀlt Zeitpunkt des Schemaimports, Name -des Benutzers, Datenbankparameter (ohne Passwort), Name (ganzer Pfade) -der Ili-Datei, sÀmtliche Namen der importierten Tabellen. AllfÀllige Fehlermeldungen -(bei Importabbruch) werden auch in die Logdatei geschrieben.

-
-
-

Fall 1.4

-

Enumerations werden zusĂ€tzlich als Textattribut hinzugefĂŒgt:

-

PostGIS: java -jar ili2pg.jar --schemaimport --createEnumTxtCol ---dbdatabase mogis --dbusr julia --dbpwd romeo path/to/dm01.ili

-

GeoPackage: java -jar ili2gpkg.jar --schemaimport --createEnumTxtCol ---dbfile mogis.gpkg path/to/dm01.ili

-

FileGDB: java -jar ili2fgdb.jar --schemaimport --createEnumTxtCol ---dbfile mogis.gdb path/to/dm01.ili

-

Das Modell wird in die Datenbank importiert. Es werden keine Daten importiert, sondern nur die leeren Tabellen -angelegt. -ZusĂ€tzlich werden die -Attribute vom Typ Enumeration in ihrer TextreprĂ€sentation (Attribut -„art“ = 0 ⇒ „art_txt“ = „Gebaeude“) hinzugefĂŒgt (--createEnumTxtCol).

-
-
-

Fall 1.5

-

Den Geometrien wird ein spezieller SRS (Spatial Reference System) -Identifikator hinzugefĂŒgt:

-

PostGIS: java -jar ili2pg.jar --schemaimport --defaultSrsAuth EPSG ---defaultSrsCode 2056 --dbdatabase mogis --dbusr julia --dbpwd romeo -path/to/dm01.ili

-

GeoPackage: java -jar ili2gpkg.jar --schemaimport --defaultSrsAuth EPSG ---defaultSrsCode 2056 --dbfile mogis.gpkg path/to/dm01.ili

-

FileGDB: java -jar ili2fgdb.jar --schemaimport --defaultSrsAuth EPSG ---defaultSrsCode 2056 --dbfile mogis.gdb path/to/dm01.ili

-

Das Modell wird in die Datenbank importiert. Es werden keine Daten importiert, sondern nur die leeren Tabellen -angelegt. -ZusĂ€tzlich wird jeder -Geometrie eine SRS-ID (EPSG-Code 2056) hinzugefĂŒgt -(--defaultSrsAuth EPSG --defaultSrsCode 2056). -Ebenfalls wird derselbe Identifikator fĂŒr -die Registrierung der Geometriespalten in den Metatabellen der Datenbank -benutzt.

-
-
-

Fall 1.6

-

Geometrien werden indexiert:

-

PostGIS: java -jar ili2pg.jar --schemaimport --createGeomIdx --dbdatabase -mogis --dbusr julia --dbpwd romeo path/to/dm01.ili

-

GeoPackage: java -jar ili2gpkg.jar --schemaimport --createGeomIdx --dbfile -mogis.gpkg path/to/dm01.ili

-

Das Modell wird in die Datenbank importiert. Es werden keine Daten importiert, sondern nur die leeren Tabellen -angelegt. -Die Geometrien werden -indexiert (--createGeomIdx).

-

FileGDB: Die Geometrien sind grundsÀtzlich immer indexiert.

-
-
-
-

Import-Funktionen

-
-

Fall 2.1

-

Die Tabellen existieren bereits und der Inhalt der Tabellen soll -erweitert werden (--import):

-

PostGIS: java -jar ili2pg.jar --import --dbdatabase mogis --dbusr -julia --dbpwd romeo path/to/260100.itf

-

GeoPackage: java -jar ili2gpkg.jar --import --dbfile mogis.gpkg -path/to/260100.itf

-

FileGDB: java -jar ili2fgdb.jar --import --dbfile mogis.gdb -path/to/260100.itf

-

Das Itf 260100.itf wird importiert und die Daten den bereits vorhanden -Tabellen hinzugefĂŒgt. Die Tabellen können zusĂ€tzliche Attribute -enthalten (z.B. bfsnr, datum etc.), welche beim Import leer bleiben.

-
-
-

Fall 2.2

-

Die Tabellen existieren bereits und der Inhalt der Tabellen soll durch -den Inhalt des itf ersetzt werden (--import):

-

PostGIS: java -jar ili2pg.jar --import --deleteData --dbdatabase -mogis --dbusr julia --dbpwd romeo --log path/to/logfile path/to/260100.itf

-

GeoPackage: java -jar ili2gpkg.jar --import --deleteData --dbfile -mogis.gpkg --log path/to/logfile path/to/260100.itf

-

FileGDB: java -jar ili2fgdb.jar --import --deleteData --dbfile -mogis.gdb --log path/to/logfile path/to/260100.itf

-

Das Itf 260100.itf wird importiert und die bestehenden Daten in den -bereits vorhanden Tabellen gelöscht (--deleteData). Die Tabellen können zusÀtzliche -Attribute enthalten (z.B. bfsnr, datum etc.), welche beim Import leer -bleiben.

-

Es wird ein Logfile angelegt (--log path/to/logfile). Dieses enthÀlt Zeitpunkt des Imports, Name -des Benutzers, Datenbankparameter (ohne Passwort), Name (ganzer Pfade) -der Ili- und Itf-Datei, sÀmtliche Namen der importierten Tabellen inkl. -Anzahl der importierten Elemente pro Tabelle. AllfÀllige Fehlermeldungen -(bei Importabbruch) werden auch in die Logdatei geschrieben.

-
-
-

Fall 2.3

-

Tauchen beim Import des Itf Fehler auf (z. B. mangelnde -ModellkonformitÀt oder verletzte Constraints in der DB), bricht der -Import ab.

-

PostGIS, GeoPackage: Bei einem Fehler werden keine Daten importiert, -d.h. der Import in die Datenbank ist ein einzelner Commit.

-

FileGDB: Da die FileGDB keine Transaktionen unterstĂŒtzt, werden die Daten -teilweise importiert, und die FileGDB befindet sich danach evtl. in einem -inkonsistenten Zustand.

-
-
-
-

Export-Funktionen

-
-

Fall 3.1

-

Die Tabellen werden aus der Datenbank in eine Interlis 1-Transfer-Datei -geschrieben (--export):

-

PostGIS: java -jar ili2pg.jar --export --models DM01AV --dbhost -ofaioi4531 --dbport 5432 --dbdatabase mogis --dbusr julia --dbpwd romeo -path/to/output.itf

-

GeoPackage: java -jar ili2gpkg.jar --export --models DM01AV --dbfile -mogis.gpkg path/to/output.itf

-

FileGDB: java -jar ili2fgdb.jar --export --models DM01AV --dbfile -mogis.gdb path/to/output.itf

-

Die Daten aller Tabellen des Interlis-Modells DM01AV (--models DM01AV) -werden in die -Interlis 1-Transferdatei output.itf geschrieben. Fehlende Tabellen in -der Datenbank werden dementsprechend als leere Tabellen oder gar nicht -(gemĂ€ss Definition im Datenmodell) in die Datei geschrieben. Fehlende -Attribute in einer Datenbanktabelle werden mit einem „@“ substituiert.

-

Anhand des Parameters --models wird definiert, welche Daten exportiert -werden. Alternativ kann auch der Parameter --topics, --baskets oder --dataset -verwendet werden, um die zu exportierenden Daten auszuwÀhlen. Einer -dieser Parameter muss also zwingend beim Export angegeben werden.

-
-
-

Fall 3.2

-

Die Tabellen werden aus der Datenbank in eine Interlis 2-Transfer-Datei -geschrieben (--export):

-

PostGIS: java -jar ili2pg.jar --export --models DM01AV --dbhost -ofaioi4531 --dbport 5432 --dbdatabase mogis --dbusr julia --dbpwd romeo -path/to/output.xtf

-

GeoPackage: java -jar ili2gpkg.jar --export --models DM01AV --dbfile -mogis.gpkg path/to/output.xtf

-

FileGDB: java -jar ili2fgdb.jar --export --models DM01AV --dbfile -mogis.gdb path/to/output.xtf

-

Die Daten aller Tabellen des Interlis-Modells DM01AV (--models DM01AV) -werden in die -Interlis 2-Transferdatei output.xtf geschrieben. Fehlende Tabellen und -Attribute in der Datenbank werden gar nicht in die Datei geschrieben.

-

Anhand des Parameters --models wird definiert, welche Daten exportiert -werden. Alternativ kann auch der Parameter --topics, --baskets oder --dataset -verwendet werden, um die zu exportierenden Daten auszuwÀhlen. Einer -dieser Parameter muss also zwingend beim Export angegeben werden.

-
-
-
-

PrĂŒf-Funktionen

-
-

Fall 4.1

-

Die Daten in der Datenbank werden anhand des Interlis-Modells geprĂŒft (--validate):

-

PostGIS: java -jar ili2pg.jar --validate --models DM01AV --dbhost -ofaioi4531 --dbport 5432 --dbdatabase mogis --dbusr julia --dbpwd romeo

-

GeoPackage: java -jar ili2gpkg.jar --validate --models DM01AV --dbfile -mogis.gpkg

-

FileGDB: java -jar ili2fgdb.jar --validate --models DM01AV --dbfile -mogis.gdb

-

Anhand des Parameters --models wird definiert, welche Daten geprĂŒft -werden. Alternativ kann auch der Parameter --topics, --baskets oder --dataset -verwendet werden, um die zu prĂŒfenden Daten auszuwĂ€hlen. Einer -dieser Parameter muss also zwingend beim PrĂŒfen angegeben werden.

-
-
-
-

Migration von 3.x nach 4.x

-

Die von ili2b 4.x benutzten Schemaabbildungsregeln sind zum Teil nicht -kompatibel mit den Regeln von ili2db 3.x. -Das einfachste fĂŒr die Datenmigration ist darum:

-
    -
  • Daten mit 3.x exportieren
  • -
  • Schema mit 4.x anlegen
  • -
  • Daten mit 4.x importieren
  • -
-

Ab ili2db 4.1 gibt es eine Option --export3 um Daten aus einer mit 3.x angelegten -DB zu exportieren.

-

Die wichtigsten Optionen, um zu 3.x kompatibles Verhalten zu erhalten sind:

-
    -
  • --createTidCol damit --importTid und --exportTid funktioniert
  • -
  • --doSchemaImport damit --import auch die Tabellen anlegt
  • -
  • --ver3-translation um bei Modellen mit TRANSLATION OF die 3.x Tabellen zu erhalten
  • -
-
-

Fall 5.1

-

Die Tabellen existieren nicht und sollen in der Datenbank angelegt -werden und die Daten sollen importiert werden (--import):

-

PostGIS: java -jar ili2pg.jar --import --doSchemaImport --dbhost ofaioi4531 --dbport -5432 --dbdatabase mogis --dbusr julia --dbpwd romeo ---createEnumTabs --createBasketCol --log path/to/logfile path/to/260100.itf

-

GeoPackage: java -jar ili2gpkg.jar --import --doSchemaImport --dbfile mogis.gpkg ---createEnumTabs --createBasketCol --log path/to/logfile path/to/260100.itf

-

FileGDB: java -jar ili2fgdb.jar --import --doSchemaImport --dbfile mogis.gdb ---createEnumTabs --createBasketCol --log path/to/logfile path/to/260100.itf

-

Alle Tabellen werden in der Datenbank erstellt (--doSchemaImport) und das Itf 260100.itf -importiert. Die Geometrie-Spalten werden registriert. Als Primary-Key -wird ein zusĂ€tzliches Attribut erstellt (t_id). ZusĂ€tzlich wir ein -t_basket Attribut erstellt (--createBasketCol). Dieses zeigt als FremdschlĂŒssel auf eine -Meta-Hilfstabelle (Importdatum, Benutzer, Modellname, Pfad der -Itf-Datei).

-

Die AufzÀhltypen werden in Lookup-Tables abgebildet (--createEnumTabs).

-

Es wird ein Logfile angelegt (--log path/to/logfile). Dieses enthÀlt Zeitpunkt des Imports, Name -des Benutzers, Datenbankparameter (ohne Passwort), Name (ganzer Pfade) -der Ili- und Itf-Datei, sÀmtliche Namen der importierten Tabellen inkl. -Anzahl der importierten Elemente pro Tabelle. AllfÀllige Fehlermeldungen -(bei Importabbruch) werden auch in die Logdatei geschrieben.

-
-
-
-
-

Referenz

-

In den folgenden Abschnitten werden einzelne Aspekte detailliert, aber -isoliert, beschrieben. Die Funktionsweise als Ganzes wird anhand -einzelner AnwendungsfĂ€lle beispielhaft im Kapitel „Funktionsweise“ -(weiter oben) beschrieben.

-

Die Dokumentation gilt grundsĂ€tzlich fĂŒr alle ili2xy Varianten, ausser es -gibt einen spezifischen Hinweis auf PostGIS, GeoPackage oder FileGDB.

-
-

Aufruf-Syntax

-

PostGIS: java -jar ili2pg.jar [Options] [file]

-

GeoPackage: java -jar ili2gpkg.jar [Options] [file]

-

FileGDB: java -jar ili2fgdb.jar [Options] [file]

-

Der RĂŒckgabewert ist wie folgt:

-
-
    -
  • 0 import/export ok, keine Fehler festgestellt
  • -
  • !0 import/export nicht ok, Fehler festgestellt
  • -
-
-

Optionen:

- ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionBeschreibung
--import

Importiert Daten aus einer Transferdatei in die Datenbank.

-

Die Tabellen werden implizit auch angelegt, falls sie noch nicht vorhanden sind (siehe Kapitel Abbildungsregeln). Falls die Tabellen in der Datenbank schon vorhanden sind, können sie zusÀtzliche Spalten enthalten (z.B. bfsnr, datum etc.), welche beim Import leer bleiben.

-

Falls beim Import ein Datensatz-Identifikator (--dataset) definiert wird, darf dieser Datensatz-Identifikator in der Datenbank noch nicht vorhanden sein. Um die bestehenden Daten zu ersetzen, kann die Option --replace verwendet werden.

-

TODO Die Tabellen sind schon vorhanden (und entsprechen (nicht) der ili-Klasse)

-
--updateAktualisiert die Daten in der Datenbank anhand einer Transferdatei, d.h. neue Objekte werden eingefĂŒgt, bestehende Objekte werden aktualisiert und in der Transferdatei nicht mehr vorhandene Objekte werden gelöscht. Diese Funktion bedingt, dass das Datenbankschema mit der Option --createBasketCol erstellt wurde, und dass die Klassen und Topics eine stabile OID haben.
--replaceErsetzt die Daten in der Datenbank anhand eines Datensatz-Identifikators (--dataset) mit den Daten aus einer Transferdatei. Diese Funktion bedingt, dass das Datenbankschema mit der Option --createBasketCol erstellt wurde.
--deleteLöscht die Daten in der Datenbank anhand eines Datensatz-Identifikators (--dataset). Diese Funktion bedingt, dass das Datenbankschema mit der Option --createBasketCol erstellt wurde.
--export

Exportiert Daten aus der Datenbank in eine Transferdatei.

-

Mit dem Parameter --models, --topics, --baskets oder --dataset wird definiert, welche Daten exportiert werden. -Existieren zum gegeben Modell (--models) oder Topic (--topics) in der DB keine Daten, wird ohne Fehlermeldung eine leere Transferdatei erstellt. -Wird eine Datensatz (--dataset) oder Basket (--baskets) bezeichnet, der in der DB nicht vorhanden ist, bricht der Export mit einem Fehler ab.

-

Ob die Daten im Interlis 1-, Interlis 2- oder GML-Format geschrieben werden, ergibt sich aus der Dateinamenserweiterung der Ausgabedatei. FĂŒr eine Interlis 1-Transferdatei muss die Erweiterung .itf verwendet werden. FĂŒr eine GML-Transferdatei muss die Erweiterung .gml verwendet werden.

-

Die Optionen --topics und --baskets bedingen, dass das Datenbankschema mit der Option --createBasketCol erstellt wurde.

-
--export3Exportiert Daten aus einer Datenbank die mit ili2db 3.x angelegt wurde in eine Transferdatei.
--validate

PrĂŒft die Daten in der Datenbank (ohne Export in eine Transferdatei).

-

Mit dem Parameter --models, --topics, --baskets oder --dataset wird definiert, welche Daten geprĂŒft werden.

-

Die Optionen --topics und --baskets bedingen, dass das Datenbankschema mit der Option --createBasketCol erstellt wurde.

-
--schemaimportErstellt die Tabellenstruktur in der Datenbank (siehe Kapitel Abbildungsregeln).
--iliMetaAttrs filename

Name der Konfigurationsdatei, die zusÀtzliche Interlis-Metaattribute enthÀlt (Meta-Attribute, die in den ili-Dateien nicht enthalten sind). -Die Konfigurationsdatei ist Zeilenorientiert und besteht aus Abschnitten. Pro Modellelement gibt es einen Abschnitt. Der Abschnitt beginnt mit dem qualifizierten Elementnamen in eckigen Klammern. Innerhalb des Abschnitts sind die Metaattribute zu diesem Modellelement. Beispiel:

-
-[Model1.Topic1.Structure1]
-MetaAttr1=AttrValue1
-MetaAttr2=AttrValue2
-[Model1.Topic1.ClassA.AttrB]
-MetaAttrN=AttrValueN
-
-
--validConfig filenameName der Konfigurationsdatei, die fĂŒr die Validierung verwendet werden soll.
--disableValidationSchaltet die Validierung der Daten aus.
--disableAreaValidationSchaltet die Validierung der AREA Topologie aus.
--forceTypeValidationBeschrÀnkt die Aufweichung der Validierung mittels --validConfig auf "multiplicity".
--dbhost hostPostGIS: Der hostname der Datenbank. Default ist localhost.
--dbport portPostGIS: Die Port-Nummer, unter der die Datenbank angesprochen warden kann. Default ist 5432.
--dbdatabase databasePostGIS: Der Name der Datenbank.
--dbusr username

PostGIS: Der Benutzername fĂŒr den Datenbankzugang und EintrĂ€ge in Metatabellen.

-

GeoPackage: Der Benutzername fĂŒr EintrĂ€ge in Metatabellen.

-
--dbpwd passwordPostGIS: Das Passwort fĂŒr den Datenbankzugriff.
--dbparams filenameDatei (UTF-8 codiert) mit zusĂ€tzlichen Parametern fĂŒr den Datenbankzugriff. Einfaches zeilenorientiertes Format mit Parameter=Wert pro Zeile. Die möglichen Parameter sind beim jeweiligen JDBC Treiber beschrieben.
--dbschema schemaPostGIS: Definiert den Namen des Datenbank-Schemas. Default ist kein Wert, d.h. das aktuelle Schema des Benutzers der mit –user definiert wird.
--dbfile filename

GeoPackage: Name der GeoPackage-Datei.

-

FileGDB: Name der ESRI File Geodatabase-Datei.

-
--setupPgExtPostGIS: erstellt postgreql Erweiterungen 'uuid-ossp' und 'postgis' (falls noch nicht vorhanden)
--disableRoundingBeim Import und Export werden die Daten per Default gerundet gem. Angaben im Modell. Mit dieser Option findet keine Rundung statt.
--deleteDatabei einem Datenimport (--import) werden alle Daten in den existierenden/benutzten Tabellen gelöscht (Mit DELETE, die Tabellenstruktur bleibt unverÀndert).
--defaultSrsAuth authSRS Authority fĂŒr Geometriespalten, wo sich dieser Wert nicht ermitteln lĂ€sst (fĂŒr ili1 und ili2.3 immer der Fall). Gross-/Kleinschreibung ist signifikant. Default ist EPSG
--defaultSrsCode codeSRS Code fĂŒr Geometriespalten, wo sich dieser Wert nicht ermitteln lĂ€sst. Kein Default
--modelSrsCode model=epsgCodeSRS Code fĂŒr Geometriespalten des gegebenen Modells, wo sich dieser Wert nicht pro Attribut ermitteln lĂ€sst. Mehrere Definitionen können durch Strichpunkt getrennt wrden, z.B.: --modelSrsCode ModelA=2056;ModelB=21781
--fgdbXyResolution valueFileGDB: XY-Auflösung fĂŒr Geometriespalten
--fgdbXyTolerance valueFileGDB: XY-Toleranz fĂŒr Geometriespalten
--modeldir path

Dateipfade, die Modell-Dateien (ili-Dateien) enthalten. Mehrere Pfade können durch Semikolon ‚;‘ getrennt werden. Es sind auch URLs von Modell-Repositories möglich. Default ist

-

%ILI_FROM_DB;%XTF_DIR;http://models.interlis.ch/;%JAR_DIR

-

Es werden folgende Platzhalter unterstĂŒtzt:

-

%ILI_FROM_DB ist ein Platzhalter fĂŒr die in der Datenbank vorhandenen Modelle (in der Tabelle t_ili2db_model).

-

%XTF_DIR ist ein Platzhalter fĂŒr das Verzeichnis mit der Transferdatei.

-

%JAR_DIR ist ein Platzhalter fĂŒr das Verzeichnis des ili2db Programms (ili2pg.jar bzw. ili2gpkg.jar Datei).

-

%ILI_FROM_DB sollte i.d.R. der erste Pfad sein (damit mehrere Imports und Exports das selbe Modell verwenden).

-

Der erste Modellname (Hauptmodell), zu dem ili2db die ili-Datei sucht, ist nicht von der INTERLIS-Sprachversion abhÀngig. Es wird in folgender Reihenfolge nach einer ili-Datei gesucht: zuerst INTERLIS 2.3, dann 1.0 und zuletzt 2.2.

-

Beim Auflösen eines IMPORTs wird die INTERLIS Sprachversion des Hauptmodells berĂŒcksichtigt, so dass also z.B. das Modell Units fĂŒr ili2.2 oder ili2.3 unterschieden wird.

-
--models modelnameNamen des Modells (nicht zwingend identisch mit dem Dateinamen!), fĂŒr das die Tabellenstruktur in der Datenbank erstellt werden soll. Mehrere Modellnamen können durch Semikolon ‚;‘ getrennt werden. Normalerweise muss der Namen nicht angegeben werden, und das Programm ermittelt den Wert automatisch aus den Daten. Wird beim --schemaimport nur eine ili-Datei als file angegeben, wird der Name des letzten Modells aus dieser ili-Datei als modelname genommen.
--dataset nameName/Identifikator des Datensatzes (Kurzform fĂŒr mehrere BIDs). Kann z.B. eine BFSNr oder ein KantonskĂŒrzel sein. Beim Daten Export können mehrere Datensatznamen durch Semikolon ‚;‘ getrennt werden. Bedingt die Option --createBasketCol.
--baskets BIDBID der Baskets, die importiert, exportiert oder validiert werden sollen. Mehrere BIDs können durch Semikolon ‚;‘ getrennt werden.
--topics topicnameTopic-Namen der Baskets, die importiert, exportiert oder validiert werden sollen. Mehrere Namen können durch Semikolon ‚;‘ getrennt werden. Es muss der qualifizierte Topic-Name (Model.Topic) verwendet werden.
--createscript filenameErstellt zusÀtzlich zur Tabellenstruktur in der Datenbank ein SQL-Skript um die Tabellenstruktur unabhÀngig vom Programm erstellen zu können. Das Skript wird zusÀtzlich zu den Tabellen in der Datenbank erzeugt, d.h. es ist nicht möglich, nur das Skript zu erstellen (ohne Datenbank).
--dropscript filenameErstellt ein SQL-Skript um die Tabellenstruktur unabhÀngig vom Programm löschen zu können.
--preScript filenameSQL-Skript, das vor dem (Schema-)Import/Export ausgefĂŒhrt wird.
--postScript filenameSQL-Skript, das nach dem (Schema-)Import/Export ausgefĂŒhrt wird.
--noSmartMappingAlle strukturellen Abbildungsoptimierungen werden ausgeschaltet. (s.a. --smart1Inheritance, --coalesceCatalogueRef, --coalesceMultiSurface, --coalesceMultiLine, --coalesceMultiPoint, --expandMultilingual, --expandLocalised, --coalesceArray)
--smart1InheritanceBildet die Vererbungshierarchie mit einer dymamischen Strategie ab. FĂŒr Klassen, die referenziert werden und deren Basisklassen nicht mit einer NewClass-Strategie abgebildet werden, wird die NewClass-Strategie verwendet. Abstrakte Klassen werden mit einer SubClass-Strategie abgebildet. Konkrete Klassen, ohne Basisklasse oder deren direkte Basisklassen mit einer SubClass-Strategie abgebildet werden, werden mit einer NewClass-Strategie abgebildet. Alle anderen Klassen werden mit einer SuperClass-Strategie abgebildet.
--smart2InheritanceBildet die Vererbungshierarchie mit einer dymamischen Strategie ab. Abstrakte Klassen werden mit einer SubClass-Strategie abgebildet. Konkrete Klassen werden mit einer NewAndSubClass-Strategie abgebildet.
--coalesceCatalogueRefStrukturattribute deren maximale KardinalitĂ€t 1 ist, deren Basistyp CHBase:CatalogueReference oder CHBase:MandatoryCatalogueReference ist und die ausser „Reference“ keine weiteren Attribute haben, werden direkt mit einem FremdschlĂŒssel auf die Ziel-Tabelle (die die konkrete CHBase:Item Klasse realisiert) abgebildet, d.h. kein Record in der Tabelle fĂŒr die Struktur mit dem „Reference“ Attribut.
--coalesceMultiSurfaceStrukturattribute deren maximale KardinalitĂ€t 1 ist, deren Basistyp CHBase:MultiSurface ist und die ausser „Surfaces“ keine weiteren Attribute haben, werden direkt als Spalte mit dem Typ MULTISURFACE (oder MULTIPOLYGON, falls --strokeArcs) abgebildet.
--coalesceMultiLineStrukturattribute deren maximale KardinalitĂ€t 1 ist, deren Basistyp CHBase:MultiLine ist und die ausser „Lines“ keine weiteren Attribute haben, werden direkt als Spalte mit dem Typ MULTICURVE (oder MULTILINESTRING, falls --strokeArcs) abgebildet.
--coalesceMultiPointStrukturattribute deren maximale KardinalitÀt 1 ist, die nur ein Attribut haben, werden direkt als Spalte mit dem Typ MULTIPOINT abgebildet.
--coalesceArrayStrukturattribute mit dem Metaattribut ili2db.mapping=ARRAY, die nur ein Attribut haben, werden direkt als Spalte mit dem Typ ARRAY abgebildet.
--coalesceJsonStrukturattribute mit dem Metaattribut ili2db.mapping=JSON, werden direkt als Spalte mit dem Typ JSON abgebildet.
--expandMultilingualStrukturattribute deren maximale KardinalitĂ€t 1 ist, deren Basistyp LocalisationCH_V1.MultilingualText oder LocalisationCH_V1.MultilingualMText ist (oder das Metaattribut ili2db.mapping=Multilingual haben) und die ausser „LocalisedText“ keine weiteren Attribute haben, werden direkt als Spalten in der Tabelle des Strukturattributes abgebildet, d.h. keine Records in den Tabellen fĂŒr die Multilingual-Strukturen.
--expandLocalisedStrukturattribute deren maximale KardinalitĂ€t 1 ist, deren Basistyp LocalisationCH_V1.LocalisedText oder LocalisationCH_V1.LocalisedMText (oder das Metaattribut ili2db.mapping=Localised haben) ist und die ausser „Language“ und „Text“ keine weiteren Attribute haben, werden direkt als Spalten in der Tabelle des Strukturattributes abgebildet, d.h. keine Records in den Tabellen fĂŒr die Multilingual-Strukturen.
--createGeomIdxErstellt fĂŒr jede Geometriespalte in der Datenbank einen rĂ€umlichen Index. (siehe Kapitel Abbildungsregeln/Geometrieattribute)
--createEnumColAsItfCodeBildet bei AufzÀhlungsattributen den AufzÀhlungswert als ITF-Code ab. Diese Option ist nur zulÀssig, wenn im Modell keine Erweiterungen von AufzÀhlungen vorkommen. Ohne diese Option wird der XTF-Code als AufzÀhlwert in der Datenbank verwendet. (siehe Kapitel Abbildungsregeln/AufzÀhlungen)
--createEnumTxtColErstellt fĂŒr AufzĂ€hlungsattribute eine zusĂ€tzliche Spalte mit dem Namen des AufzĂ€hlwertes. (siehe Kapitel Abbildungsregeln/AufzĂ€hlungen)
--createEnumTabsErstellt pro AufzÀhlungsdefinition eine Tabelle mit den einzelnen AufzÀhlwerten. (siehe Kapitel Abbildungsregeln/AufzÀhlungen)
--createSingleEnumTabErstellt eine einzige Tabelle mit allen AufzÀhlwerten aller AufzÀhlungsdefinitionen. (siehe Kapitel Abbildungsregeln/AufzÀhlungen)
--createEnumTabsWithIdErstellt pro Basis-AufzĂ€hlungsdefinition eine Tabelle mit den einzelnen AufzĂ€hlwerten, inkl. aller AufzĂ€hlungserweiterungen von dieser Basisdefinition. -So können auch FremdschlĂŒssel (--createFk) definiert werden. (siehe Kapitel Abbildungsregeln/AufzĂ€hlungen)
--createMetaInfoErstellt zusÀtzliche Meta-Tabellen T_ILI2DB_TABLE_PROP, T_ILI2DB_COLUMN_PROP, T_ILI2DB_META_ATTRS mit weiteren Angaben aus dem Interlis Modell. (siehe Kapitel Metadaten)
--beautifyEnumDispNameVerschönert den Anzeigetext fĂŒr das AufzĂ€hlelement. Beim Import wird die Spalte mit dem XTF-Code ohne Untersstriche befĂŒllt ("Strasse befestigt" statt "Strasse_befestigt") (siehe Kapitel Abbildungsregeln/AufzĂ€hlungen)
--createStdColsErstellt in jeder Tabelle zusÀtzliche Metadatenspalten T_User, T_CreateDate, T_LastChange. (siehe Kapitel Abbildungsregeln/Tabellen)
--t_id_Name nameDefiniert den Namen fĂŒr die interne technische SchlĂŒsselspalte in jeder Tabelle (nicht zu verwechseln mit dem externen Transferidentifikator). Default ist T_Id. (siehe Kapitel Abbildungsregeln/Tabellen)
--idSeqMin zahlPostGIS: Definiert den Minimalwert fĂŒr den Generator der internen technischen SchlĂŒssel
--idSeqMax zahlPostGIS: Definiert den Maximalwert fĂŒr den Generator der internen technischen SchlĂŒssel
--createTypeDiscriminatorErstellt fĂŒr jede Tabelle (auch wenn das Modell keine Vererbung benutzt) eine Spalte fĂŒr den Typdiskriminator. FĂŒr Klassen mit Vererbung wird die Spalte immer erstellt. (siehe Kapitel Abbildungsregeln/Tabellen)
--structWithGenericRefErstellt generische Spalten fĂŒr den FremdschlĂŒssel bei Tabellen die Interlis-Strukturen abbilden. Ohne diese Option wird pro Strukturattribut eine Spalte erstellt (in der Tabelle, die die Struktur abbildet). (siehe Kapitel Abbildungsregeln/Strukturen)
--disableNameOptimizationSchaltet die Nutzung von unqualifizierten Klassennamen aus. FĂŒr alle Tabellennamen werden qualifizierte Interlis-Klassennamen (Model.Topic.Class) verwendet (und in einen gĂŒltigen Tabellennamen abgebildet). (siehe Kapitel Abbildungsregeln/Namenskonventionen)
--nameByTopicFĂŒr alle Tabellennamen werden teilweise qualifizierte Interlis-Klassennamen (Topic.Class) verwendet (und in einen gĂŒltigen Tabellennamen abgebildet). (siehe Kapitel Abbildungsregeln/Namenskonventionen)
--nameLang langFĂŒr alle Tabellen- und Spaltennamen werden Namen aus dem Interlis-Modell der gegebenen Sprache verwendet. Die möglichen Sprachnamen ergeben sich aus den Interlis-Modellen (MODEL Name (lang) ...). -Mehrere Sprachen können durch Semikolon getrennt werden, um die PrioritĂ€t zu regeln. Ist fĂŒr einen Namen kein Modell in einer der gegebenen Sprache vorhanden, wird der Namen aus dem Modell in der Ursprungssprache verwendet.
--maxNameLength lengthDefiniert die maximale LĂ€nge der Namen fĂŒr Datenbankelemente (Tabellennamen, Spaltennamen , usw.) Default ist 60. Ist der Interlis-Name lĂ€nger, wird er gekĂŒrzt. (siehe Kapitel Abbildungsregeln/Namenskonventionen)
--sqlEnableNullErstellt keine NOT NULL Anweisungen bei Spalten die Interlis-Attribute abbilden. (siehe Kapitel Abbildungsregeln/Attribute)
--sqlExtRefColsErstellt Spalten die Interlis-Rollen oder Interlis-Referenz-Attribute abbilden als Textspalten, so dass der Referenzwert aus der Transferdatei in der Spalte aufgenommen werden kann und die referenzierten Objekte nicht vorliegen mĂŒssen. (siehe Kapitel Abbildungsregeln/Beziehungen)
--strokeArcsSegmentiert Kreisbogen beim Datenimport. Der Radius geht somit verloren. Die Kreisbogen werden so segmentiert, dass die Abweichung der erzeugten Geraden kleiner als die Koordinatengenauigkeit der StĂŒtzpunkte ist.
--oneGeomPerTablePostGIS: Erzeugt Hilfstabellen, falls in einer Klasse/Tabelle mehr als ein Geometrie-Attribut ist, so dass pro Tabelle in der Datenbank nur eine Geometriespalte ist.
--skipPolygonBuildingBei ITF-Dateien werden die Linientabellen gelesen, so wie sie in der ITF-Datei sind, d.h. es werden keine Polygon gebildet.
--skipGeometryErrorsGeometry Fehler werden ignoriert (und nicht rapportiert). Spezifischere Fehlermeldungen mĂŒssen mittels --validConfig konfiguriert werden.
--skipReferenceErrorsReferenzfehler (z.B. Verweise auf nicht vorhandene Objekte) werden ignoriert (und nicht rapportiert). Die Option bedingt, dass der Schema Import mit --sqlEnableNull erfolgte, damit die fehlenden Referenzen beim Insert auf der DB nicht zu einem NULL Constraint Fehler fĂŒhren.
--keepAreaRefBei ITF-Dateien wird fĂŒr AREA Attribute der Gebietsreferenzpunkt als zusĂ€tzliche Spalte in der Tabelle eingefĂŒgt.
--createTidColErstellt in jeder Tabelle eine zusÀtzlich Spalte T_Ili_Tid. (siehe Kapitel Abbildungsregeln/Tabellen)
--importTidLiest die Transferidentifikation (TID aus der Transferdatei) in eine zusÀtzliche Spalte T_Ili_Tid. (siehe Kapitel Abbildungsregeln/Tabellen). Bedingt beim Schema Import die Option --createTidCol.
--exportTidVerwendet den Wert der Spalte T_Ili_Tid als Transferidentifikation (TID in der Transferdatei). (siehe Kapitel Abbildungsregeln/Tabellen). Bedingt beim Schema Import die Option --createTidCol.
--importBidLiest die BehÀlteridentifikation (BID aus der Transferdatei) in die Spalte T_Ili_Tid der Tabelle t_ili2db_basket.
--importFetchSizeDefiniert den fetchsize fĂŒr die Statements beim import.
--exportBatchSizeDefiniert den batchSize fĂŒr die Statements beim export.
--createBasketColErstellt in jeder Tabelle eine zusÀtzlich Spalte T_basket um den BehÀlter identifizieren zu können. (siehe Kapitel Abbildungsregeln/Metadaten)
--createDatasetColErstellt in jeder Tabelle eine zusÀtzlich Spalte T_datasetname mit dem Namen/Identifikator des Datensatzes. Die Option bedingt die Option --dataset. Die Spalte ist redundant zur Spalte datasetname der Tabelle t_ili2db_dataset (siehe Kapitel Abbildungsregeln/Metadaten).
--createFkErzeugt eine FremdschlĂŒsselbedingung bei Spalten die Records in anderen Tabellen referenzieren.
--createFkIdxErstellt fĂŒr jede FremdschlĂŒsselpalte in der Datenbank einen Index. Kann auch ohne die Option --createFk benutzt werden.
--createUniqueErstellt fĂŒr INTERLIS-UNIQUE-Constraints in der Datenbank UNIQUE Bedingungen (sofern abbildbar).
--createNumChecksErstellt fĂŒr numerische Datentypen CHECK-Constraints in der Datenbank.
--createTextChecksErstellt fĂŒr Text Datentypen CHECK-Constraints in der Datenbank. (nicht nur Leerzeichen; bei TEXT keine ZeilenumbrĂŒche)
--createDateTimeChecksErstellt fĂŒr Datum und Zeit Datentypen CHECK-Constraints in der Datenbank.
--createTypeConstraintsErstellt fĂŒr die t_type Spalte ein CHECK-Constraint in der Datenbank.
--sqlColsAsTextBildet alle (einfachen/unstrukturierten) Interlis-Attribute als TEXT-Spalten ab, so dass fehlerhafte Daten importiert werden können.
--createImportTabsErstellt die t_ili2db_import Tabellen in der Datenbank.
--doSchemaImportBeim Datenimport werden die Tabellen angelegt, d.h. es muss nicht zuerst ein --schemaimport gemacht werden.
--ver4-noSchemaImportNicht mehr verwenden, wird entfernt. Beim Datenimport wird keine Tabellen angelegt, d.h. es muss zuerst explizit ein --schemaimport gemacht werden.
--ver3-translationVerwendet ili2db 3.x Abbildungsregeln fĂŒr ĂŒbersetzte Modelle (Inkompatibel mit ili2db 4.x Abbildungen).
--ver4-translationNicht mehr verwenden, wird entfernt. Verwendet ili2db 4.x Abbildungsregeln fĂŒr ĂŒbersetzte Modelle (Inkompatibel mit ili2db 3.x Abbildungen).
--translation modelT=modelUDefiniert bei ĂŒbersetzten INTERLIS 1 Modellen (modelT), das Modell der Ursprungssprache (ModelU). Mehrere Übersetzungen können durch Strichpunkt getrennt wrden, z.B.: --translation modelT1=modelU;modelT2=modelU
--exportModels modelnameBeim Export/PrĂŒfen werden die Daten gem. dem gegebenen Export-Modell exportiert/geprĂŒft. Ohne die Option --exportModels werden die Daten so wie sie erfasst sind (bzw. importiert wurden), exportiert/validiert. Mehrere Modellnamen können durch Semikolon ‚;‘ getrennt werden. Als Export-Modelle sind Basis-Modelle (also z.B. Bundes-Modell statt Kantons-Modell) oder ĂŒbersetzte Modelle (also z.B. DM_IT statt DM_DE) zulĂ€ssig.
--exportCrsModels modelnameBeim Export/PrĂŒfen werden die Daten gem. dem gegebenen Modell, das ein alternatives CRS zum Original Modell hat, exportiert/geprĂŒft. Ohne die Option --exportCrsModels werden die Daten so wie sie erfasst sind, exportiert/validiert.
--ILIGML20Verwendet beim Export eCH-0118-2.0 als Transferformat.
--log filenameSchreibt die log-Meldungen in eine Datei.
--xtflog result.xtf | Schreibt die log-Meldungen in eine INTERLIS 2-Datei. Die Datei result.xtf entspricht dem Modell IliVErrors.
--- - - - -
---proxy host
-
Definiert den Name des Hosts der als Proxy fĂŒr den Zugriff auf Modell-Repositories benutzt werden soll.
-
-
-
--proxyPort portPort auf dem Proxy.
--guiStartet ein einfaches GUI.
--traceErzeugt zusĂ€tzliche Log-Meldungen (wichtig fĂŒr Programm-Fehleranalysen)
--helpZeigt einen kurzen Hilfetext an.
--versionZeigt die Version des Programmes an.
-
-
-

Abbildungsregeln

-
-

Umfang der Abbildung

-

Alle explizit genannten Modelle (mit --models) werden vollstÀndig importiert. -Direkt oder indirekt importierte Modelle (via IMPORTS) werden nicht importiert, -ausser denjenigen Klassen die direkt oder indirekt via Assoziationen oder -Referenzattribute referenziert werden.

-

Wird via --models kein Modell explizit bezeichnet, wird das letzte Modell der -ili-Datei importiert.

-

Wird das Schema als Teil des Daten-Imports (--doSchemaImport ) -angelegt (ohne --models), werden die Modelle gemÀss dem Element MODELS aus der Transferdatei angelegt.

-
-
-

Klassen/Strukturen

-

Je nach Programmoption, werden Klassen unterschiedlich abgebildet. Die -Abbildungsregeln fĂŒr den Tabellennamen sind im Abschnitt -Namenskonventionen beschrieben.

- ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-CLASS A=
-END A;
-
-
-CREATE TABLE A (
-  T_Id integer PRIMARY KEY
-);
-
-

FĂŒr jede Klasse wird eine Tabelle erstellt.

-

Jede Tabelle hat mindestens eine Spalte T_Id. Diese Spalte ist der Datenbank interne PrimĂ€rschlĂŒssel (und nicht die TID aus der Transferdatei).

-
2
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_Type varchar(60) NOT NULL
-);
-
-

Mit der Option --createTypeDiscriminator erhÀlt jede Tabelle (die eine Klasse oder Struktur reprÀsentiert, die keine Basisklasse hat) eine zusÀtzliche Spalte T_Type. Diese Spalte enthÀlt den konkreten Klassenname (der SQL-Name des qualifizierten INTERLIS-Klassennamens [2]) des Objektes jedes einzelnen Records.

-

Tabellen fĂŒr Klassen die eine Basisklasse haben, erhalten diese Spalte nicht.

-
3
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_LastChange timestamp NOT NULL,
- T_CreateDate timestamp NOT NULL,
- T_User varchar(40) NOT NULL
-);
-
-
Mit der Option --createStdCols erhalten alle Tabellen drei zusĂ€tzliche Spalten fĂŒr den Zeitpunkt der letzten Änderung, den Zeitpunkt der Erstellung und den Benutzer, der die letzte Änderung durchgefĂŒhrt hat. Diese Spalten mĂŒssen durch die Applikation nachgefĂŒhrt werden, und werden typischerweise fĂŒr die Implementierung eines optimistischen Lockings benötigt/benutzt.
4
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_Ili_Tid varchar(200) NULL
-);
-
-

Mit der Option --createTidCol erhÀlt jede Tabelle (die eine Klasse reprÀsentiert, die keine Basisklasse hat) eine zusÀtzliche Spalte T_Ili_Tid. Diese Spalte enthÀlt die TID aus der Transferdatei.

-

Diese Spalte ist NICHT der Datenbank interne PrimĂ€rschlĂŒssel.

-
5
-!!@ili2db.oid=MyOID
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_Ili_Tid varchar(200) NULL
-);
-
-

Mit dem Metaattribut ili2db.oid erhÀlt die Tabelle (die eine Klasse reprÀsentiert, die keine Basisklasse hat) eine zusÀtzliche Spalte T_Ili_Tid, wie wenn die Klasse eine OID hÀtte. Diese Spalte enthÀlt die TID aus der Transferdatei.

-

MyOID muss eine im Modell vorhandene OID-Domain Definition sein (z.b. INTERLIS.UUIDOID). Das Metaattribut steht typischerweise in einer externen Datei, die beim Schemaimport mit --iliMetaAttrs mitgegeben wird.

-

Diese Spalte ist NICHT der Datenbank interne PrimĂ€rschlĂŒssel.

-
6
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- oidname integer PRIMARY KEY
-);
-
-
Mit der Option --t_id_Name oidname wird der Namen der Spalte fĂŒr den Datenbank internen PrimĂ€rschlĂŒssel (nicht die Spalte fĂŒr die TID aus der Transferdatei) festgelegt.
7
-STRUCTURE C =
-END C;
-
-
-CREATE TABLE C (
- T_Id integer PRIMARY KEY,
- T_seq integer NOT NULL
-);
-
-

Strukturen werden im Allgemeinen abgebildet wie Klassen.

-

Die Strukturtabelle enthÀlt zusÀtzlich eine Spalte T_seq, die die Reihenfolge der Strukturelement festlegt.

-

Da Strukturelemente keine TID haben, erhalten sie auch mit der Option --createTidCol kein Spalte T_Ili_Tid.

-
8
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_basket integer NOT NULL
-);
-
-
Mit der Option --createBasketCol erhĂ€lt jede Tabelle eine zusĂ€tzliche Spalte T_basket. Diese Spalte enthĂ€lt den FremschlĂŒssel auf die Tabelle t_ili2db_basket.
9
-CLASS A =
-END A;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_datasetname varchar(200)
-                         NOT NULL
-);
-
-

Mit der Option --createDatasetCol erhÀlt jede Tabelle eine zusÀtzliche Spalte T_datasetname.

-

Die Spalte ist redunant zur Spalte datasetname der Tabelle t_ili2db_dataset (siehe Kapitel Abbildungsregeln/Metadaten)

-
-
-
-

Vererbung

-

Im allgemeinen lÀsst sich Vererbung nach drei unterschidlichen -Strategien abbilden:

-
-
NewClass
-
Diese Strategie ist fĂŒr jede Klasse möglich. Bei dieser -Strategie wird fĂŒr eine Klasse eine neue Tabelle angelegt, ein -Interlis-Objekt verteilt sich somit auf Records in mehreren Tabellen.
-
SuperClass
-
Diese Strategie ist nur fĂŒr Klassen mit einer Super-Klasse -möglich. Bei dieser Strategie wird fĂŒr die Klasse keine neue Tabelle -angelegt, d.h. die Attribute der Klasse werden als weitere Spalten in -der Tabelle der Super-Klasse ergĂ€nzt.
-
SubClass
-
Diese Strategie ist nur fĂŒr Klassen mit mindestens einer -Sub-Klasse möglich. Bei dieser Strategie wird fĂŒr eine Klasse keine neue -Tabelle angelegt, d.h. die Attribute der Klasse werden als weitere -Spalten in den Tabellen der Sub-Klassen ergĂ€nzt.
-
-

ili2db bildet die Vererbung nach einer je nach Klasse unterschiedlichen -Strategie (--smart1Inheritance oder --smart2Inheritance) oder fĂŒr alle -Klassen einheitlich nach der NewClass-Strategie (--noSmartMapping) ab.

-

Bei --smart1Inheritance wird wie folgt abgebildet: Fuer Klassen, die -referenziert werden und deren Basisklassen nicht mit einer -NewClass-Strategie abgebildet werden, wird die NewClass-Strategie -verwendet. Abstrakte Klassen werden mit einer SubClass-Strategie -abgebildet. Konkrete Klassen, ohne Basisklasse oder deren direkte -Basisklassen mit einer SubClass-Strategie abgebildet werden, werden mit -einer NewClass-Strategie abgebildet. Alle anderen Klassen werden mit -einer SuperClass-Strategie abgebildet.

-

Bei --smart2Inheritance wird wie folgt abgebildet: Abstrakte Klassen werden -mit einer SubClass-Strategie abgebildet. -Konkrete Klassen werden mit einer NewAndSubClass-Strategie abgebildet.

- ------ - - - - - - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-CLASS A =
- Attribut_1 : TEXT*20;
-END A;
-
-
-
-CLASS B EXTENDS A =
- Attribut_2 : TEST*20;
-END B;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
- T_Type varchar(60) NOT NULL,
- Attribut_1 varchar(20)
-);
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
- Attribut_2 varchar(20)
-);
-
-
Bei --noSmartMapping wird fĂŒr jede Klasse eine Tabelle erstellt. Ein Objekt A ergibt -ein Record in Tabellen A. -Ein Objekt B ergibt je ein Record in Tabellen A und B. Die T_Id ist bei beiden Records identisch.
2
-CLASS A (ABSTRACT) =
- Attribut_1 : TEXT*20;
-END A;
-
-
-
-CLASS B EXTENDS A =
- Attribut_2 : TEST*20;
-END B;
-
-
-
-
-
-CLASS C EXTENDS B =
- Attribut_3 : TEST*20;
-END C;
-
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
- T_Type varchar(60) NOT NULL,
- Attribut_1 varchar(20),
- Attribut_2 varchar(20),
- Attribut_3 varchar(20)
-);
-
-
Bei --smart1Inheritance wird fĂŒr abstrakte Klassen (A) keine Tabelle erstellt (ausser sie wird -referenziert). FĂŒr die allgemeinste konkrete Klasse (B) wird eine Tabelle erstellt. -FĂŒr erweiterte konkrete Klassen (C), die eine konkrete Klasse erweitern, -wird keine eigene Tabelle erstellt.
3
-CLASS A (ABSTRACT) =
- Attribut_1 : TEXT*20;
-END A;
-
-
-
-CLASS B EXTENDS A =
- Attribut_2 : TEST*20;
-END B;
-
-
-
-
-CLASS C EXTENDS B =
- Attribut_3 : TEST*20;
-END B;
-
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
- T_Type varchar(60) NOT NULL,
- Attribut_1 varchar(20),
- Attribut_2 varchar(20)
-);
-
-CREATE TABLE C (
- T_Id integer PRIMARY KEY,
- T_Type varchar(60) NOT NULL,
- Attribut_1 varchar(20),
- Attribut_2 varchar(20),
- Attribut_3 varchar(20)
-);
-
-
Bei --smart2Inheritance wird fĂŒr abstrakte Klassen (A) keine Tabelle erstellt (auch nicht, wenn sie -referenziert wird). FĂŒr konkrete Klassen (B und C) wird je eine vollstĂ€ndige Tabelle erstellt -(inkl. geerbte Attribute).
-

EXTENDED Attribute ergeben keine Spalte, nur die Basis-Definition des -Attributs ergibt eine Spalte.

-
-
-

Attribute (allgemein)

- ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-textLimited : TEXT*10;
-textUnlimited : TEXT;
-mtextLimited : MTEXT*10;
-mtextUnlimited : MTEXT;
-
-
-textLimited varchar(10) NULL
-textUnlimited text NULL
-mtextLimited varchar(10) NULL
-mtextUnlimited text NULL
-
-
 
2
-aufzaehlung : (null, eins, zwei,
-   drei, mehr (
-         vier, fuenf, sechs, sieben, acht ,neun, zehn)
-   );
-
-
-aufzaehlung varchar(255) NULL
-
-
Je nach Option, sind andere Abbildungen möglich. Siehe Kapitel AufzÀhlungen.
3
-horizAlignment : HALIGNMENT;
-vertAlignment : VALIGNMENT;
-
-
-horizAlignment varchar(255) NULL
-vertAlignment varchar(255) NULL
-
-
 
4
-aBoolean : BOOLEAN;
-
-
-aBoolean boolean NULL
-
-
 
5
-numericInt : 0 .. 10;
-numericDec : 0.0 .. 10.0;
-
-
-numericInt integer NULL
-numericDec decimal(4,1) NULL
-
-
 
6
-aTime : INTERLIS.XMLTime;
-aDate : INTERLIS.XMLDate;
-aDateTime : INTERLIS.XMLDateTime;
-
-
-aTime time NULL
-aDate date NULL
-aDateTime timestamp NULL
-
-
 
7
-aOid : OID TEXT*30;
-aUuid : INTERLIS.UUIDOID;
-
-
-aOid varchar(255) NULL
-aUuid uuid NULL
-
-
 
8
-aClass : CLASS;
-
-
-aClass varchar(255) NULL
-
-
 
-
-
-

TID/OID

-

TODO

-
-
-

Beziehungen

-

Beziehungen werden abhÀngig von der maximalen KardinalitÀt auf zwei Arten abgebildet:

-
    -
  • direkt als FremdschlĂŒssel bei einer der Tabellen, die die an der Assoziation beteiligten Klassen abbilden
  • -
  • mit Hilfe einer Zwischentabelle, mit je einen FremschlĂŒssel auf die beteiligten Tabellen
  • -
-

Die StÀrke der Beziehung (Assoziation, Aggregation oder Komposition) beeinflusst die Art der Abbildung nicht.

- ------ - - - - - - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-CLASS A =
-END A;
-
-
-CLASS B =
-END B;
-
-
-
-ASSOCIATION a2b =
-  role_A -- {0..1} ClassA;
-  role_B -- {0..*} ClassB;
-END a2b;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
-);
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
- role_a integer REFERENCES A(T_id)
-);
-
-
Wenn die maximale KardinalitÀt bei einer der beiden Rollen nicht grösser als 1 ist, -wird keine Zwischentabelle erstellt.
2
-CLASS A =
-END A;
-
-
-CLASS B =
-END B;
-
-
-
-ASSOCIATION a2b =
-  role_A -- {0..*} ClassA;
-  role_B -- {0..*} ClassB;
-END a2b;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
-);
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
-);
-
-
-CREATE TABLE a2b (
- role_a integer REFERENCES A(T_id)
- role_b integer REFERENCES B(T_id)
-);
-
-
Wenn die maximale KardinalitÀt bei beiden Rollen grösser als 1 ist, -wird eine Zwischentabelle erstellt.
3
-CLASS A =
-END A;
-
-
-CLASS B =
-END B;
-
-
-
-ASSOCIATION a2b =
-  role_A (EXTERNAL)
-         -- {0..1} ClassA;
-  role_B -- {0..*} ClassB;
-END a2b;
-
-
-CREATE TABLE A (
- T_Id integer PRIMARY KEY,
-);
-
-CREATE TABLE B (
- T_Id integer PRIMARY KEY,
- role_a varchar(255)
-);
-
-
Wenn die Option --sqlExtRefCols benutzt wird, -wird bei EXTERNAL statt der FremdschlĂŒsselspalte ein Text-Spalte erstellt, die den REF Wert -aus der Transferdatei aufnimmt. So muss das refernzierte Objekt nicht importiert werden.
-
-
-

Referenzattribute

-

TODO

-
-
-

Geometrieattribute (allgemein)

-

TODO

-
-
-

SURFACE/AREA/ITF/XTF

-

TODO

-
-
-

Strukturattribute

-

Strukturen werden im Allgemeinen abgebildet wie Klassen (siehe Kapitel zu der Abbildung von Klassen). Strukturattribute (also wenn eine Struktur -als Attributstyp verwendet wird, z.B. bei BAG OF oder LIST OF) werden unabhĂ€ngig von der KardinalitĂ€t durch einen FremdschlĂŒssel bei -der Tabelle der Struktur abgebildet. Bei gewissen Strukturen wird bei Smart-Mapping eine alternative Abbildung verwendet.

- ------ - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-STRUCTURE C =
-END C;
-
-
-
-
-
-CLASS D =
- attr1 : LIST OF C;
- attr2 : LIST OF C;
-END D;
-
-
-CREATE TABLE C (
- T_Id integer PRIMARY KEY,
- T_seq integer NOT NULL,
- D_attr1 integer,
- D_attr2 integer
-);
-
-CREATE TABLE D (
- T_Id integer PRIMARY KEY
-);
-
-

FĂŒr jedes Strukturattribut wird in der Tabelle der Struktur eine Spalte fĂŒr den FremdschlĂŒssel erstellt. Der Name der Spalte ist der qualifizierte INTERLIS-Attributnamen [3].

-

Die Strukturtabelle enthÀlt zusÀtzlich eine Spalte T_seq die die Reihenfolge der Strukturelement festlegt.

-
2
-STRUCTURE C =
-END C;
-
-
-
-
-
-
-CLASS D =
- attr1 : LIST OF C;
-END D;
-
-
-CREATE TABLE C (
- T_Id integer PRIMARY KEY,
- T_seq integer NOT NULL,
- T_ParentId integer NOT NULL
- T_ParentType varchar(60) NOT NULL
- T_ParentAttr varchar(60) NOT NULL
-);
-
-CREATE TABLE D (
- T_Id integer PRIMARY KEY
-);
-
-

Mit der Option --structWithGenericRef werden statt fĂŒr jedes Strukturattribut eine Spalte nur drei Standardspalten T_ParentId, T_ParentType, T_ParentAttr angelegt. Diese drei Spalten bilden zusammen einen generischen FremdschlĂŒssel.

-

T_ParentId ist die t_id des Objektes, das das Strukturelement enthÀlt.

-

T_ParentType ist die konkrete Klasse (der SQL-Name des qualifizierten INTERLIS-Klassennamens [4]) des Objektes, das das Strukturelement enthÀlt.

-

T_ParentAttr ist der Strukturattributname (der SQL-Name des unqualifizierten INTERLIS-Attributnamens) in der Klasse des Objektes, das das Strukturelement enthÀlt.

-
-

Beispiel XML:

-
-|<BspTable.TopicA.D TID="2">
-|  <attr1>
-|    <BspTable.TopicA.C>
-|    </BspTable.TopicA.C>
-|    <BspTable.TopicA.C>
-|    </BspTable.TopicA.C>
-|  </attr1>
-|  <attr2>
-|    <BspTable.TopicA.C>
-|    </BspTable.TopicA.C>
-|  </attr2>
-|</BspTable.TopicA.D>
-
-

Beispiel fĂŒr Abbildungsvariante 1:

- ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tabelle C   
t_idt_seqD_attr1D_attr2
706 
816 
90 6
- ---- - - - - - - - - - - - - - -
Tabelle D 
t_idT_Ili_Tid
62
-

Beispiel fĂŒr Abbildungsvariante 2:

- ------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tabelle C    
t_idt_seqt_parentidt_parenttypet_parentattr
706Dattr1
816Dattr1
906Dattr2
- ---- - - - - - - - - - - - - - -
Tabelle D 
t_idT_Ili_Tid
62
-

Bei den folgenden Strukturen wird bei Smart-Mapping fĂŒr die Strukturattribute eine alternative Abbildung verwendet:

-
    -
  • Strukturen mit dem Interlis Metaattribut ili2db.mapping=MultiSurface
  • -
  • Strukturen mit dem Interlis Metaattribut ili2db.mapping=MultiLine
  • -
  • Strukturen mit dem Interlis Metaattribut ili2db.mapping=MultiPoint
  • -
  • GeometryCHLV03_V1.MultiSurface
  • -
  • GeometryCHLV03_V1.MultiLine
  • -
  • GeometryCHLV03_V1.MultiDirectedLine
  • -
  • GeometryCHLV95_V1.MultiSurface
  • -
  • GeometryCHLV95_V1.MultiLine
  • -
  • GeometryCHLV95_V1.MultiDirectedLine
  • -
  • CatalogueObjects_V1.Catalogues.CatalogueReference
  • -
  • CatalogueObjects_V1.Catalogues.MandatoryCatalogueReference
  • -
  • Strukturen mit dem Interlis Metaattribut ili2db.mapping=Multilingual
  • -
  • LocalisationCH_V1.MultilingualMText
  • -
  • LocalisationCH_V1.MultilingualText
  • -
  • Strukturen mit dem Interlis Metaattribut ili2db.mapping=Localised
  • -
  • LocalisationCH_V1.LocalisedMText
  • -
  • LocalisationCH_V1.LocalisedText
  • -
-
-
-

AufzÀhlungen

-

FĂŒr die Abbildung von AufzĂ€hlungen gibt es zwei Varianten und verschiedene Optionen.

-
    -
  • Variante 1 bei der der AufzĂ€hlwert als XTF-Code gespeichert wird
  • -
  • Variante 2 bei der der AufzĂ€hlwert als ITF-Code gespeichert wird
  • -
  • Optional kann eine zusĂ€tzliche Spalte erzeugt werden, die den Anzeigtext enthalten kann
  • -
  • Optional können zusĂ€tzliche Tabellen erzeugt werden, die alle AufzĂ€hlwerte enthalten.
  • -
- ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NummerBeispiel INTERLISBeispiel SQLKommentare
1
-farbe : (rot, blau, gruen);
-
-
-farbe varchar(255) NULL
-
-
Default-Abbilung. Der XTF-Code (der Code wie er in der XTF-Transferdatei steht) -wird als AufzÀhlwert in der Datenbank verwendet. Im Beispiel also: -rot, blau oder gruen
2
-farbe : (rot, blau, gruen);
-
-
-farbe integer NULL
-
-
Abbilung mit der Option --createEnumColAsItfCode. Der ITF-Code (der Code -wie er in der ITF-Transferdatei steht) wird als AufzÀhlwert in der Datenbank -verwendet. Im Beispiel also: 0, 1 oder 2. Diese Option ist nur zulÀssig, wenn im -Modell keine Erweiterungen von AufzÀhlungen vorkommen.
3
-farbe : (rot, blau, gruen);
-
-
-farbe varchar(255) NULL,
-farbe_txt varchar(255) NULL
-
-
Abbilung mit der Option --createEnumTxtCol. Es wird eine zusĂ€tzliche Spalte -mit dem Attributnamen+``_txt`` erstellt (Im Besipiel art_txt). -Die zusĂ€tzliche Spalte kann einen beliebigen Wert enthalten, der als Anzeigetext -gedacht ist. Beim Import wird die Spalte mit dem XTF-Code befĂŒllt. -Die Option kann bei Variante 1 oder 2 benutzt werden.
4
-DOMAIN
-  Farbe : (rot, blau,
-             !!@ili2db.dispName=grĂŒn
-             gruen
-          );
-
-
-CREATE TABLE Farbe (
- itfCode integer PRIMARY KEY,
- iliCode varchar(1024) NOT NULL,
- seq integer NULL,
- dispName varchar(250) NOT NULL,
- description varchar(1024) NULL,
- inactive boolean NOT NULL
-);
-
-

Abbildung mit der Option --createEnumTabs. Es wird pro AufzÀhlungsdefinition -eine Tabelle mit den einzelnen AufzÀhlwerten erstellt.

-

itfCode ist der ITF-Code des AufzÀhlwertes.

-

iliCode ist der qualifizierte Elementnamen (=XTF-Code) des AufzÀhlwertes.

-

seq Definiert die Reihenfolge der AufzÀhlelemente.

-

dispName definiert den Anzeigetext fĂŒr das AufzĂ€hlelement. Beim Import wird die -Spalte mit dem XTF-Code befĂŒllt. Falls das AufzĂ€hlelement das Metaattribut -@ili2db.dispName hat, wird dessen Wert verwendet.

-

description enthĂ€lt die Beschreibung des AufzĂ€hlelements. Beim Import wird die -Spalte mit dem ilidoc Kommentar aus dem Modell befĂŒllt.

-

inactive TRUE um einen AufzĂ€hlwert fĂŒr die Erfassung auszublenden, ohne dass -er gelöscht werden muss. Wird beim Import mit FALSE befĂŒllt.

-
5
-DOMAIN
-  Farbe : (rot, blau,
-             !!@ili2db.dispName=grĂŒn
-             gruen
-          );
-
-
-CREATE TABLE T_ILI2DB_ENUM (
- thisClass varchar(1024) NOT NULL,
- baseClass varchar(1024) NOT NULL,
- itfCode integer NOT NULL,
- iliCode varchar(1024) NOT NULL,
- seq integer NULL,
- dispName varchar(250) NOT NULL,
- description varchar(1024) NULL,
- inactive boolean NOT NULL
-);
-
-

Abbildung mit der Option --createSingleEnumTab. Es wird -eine einzige Tabelle fĂŒr die AufzĂ€hlwerte aller AufzĂ€hlungen erstellt.

-

thisClass ist der qualifizierte Namen der AufzÀhlungsdefinition.

-

baseClass ist der qualifizierte Namen der Basis-AufzÀhlungsdefinition

-

itfCode ist der ITF-Code des AufzÀhlwertes.

-

iliCode ist der qualifizierte Elementnamen (=XTF-Code) des AufzÀhlwertes.

-

seq Definiert die Reihenfolge der AufzÀhlelemente.

-

dispName definiert den Anzeigetext fĂŒr das AufzĂ€hlelement. Beim Import wird die -Spalte mit dem XTF-Code befĂŒllt. Falls das AufzĂ€hlelement das Metaattribut -@ili2db.dispName hat, wird dessen Wert verwendet.

-

description enthĂ€lt die Beschreibung des AufzĂ€hlelements. Beim Import wird die -Spalte mit dem ilidoc Kommentar aus dem Modell befĂŒllt.

-

inactive TRUE um einen AufzĂ€hlwert fĂŒr die Erfassung auszublenden, ohne dass -er gelöscht werden muss. Wird beim Import mit FALSE befĂŒllt.

-
6
-DOMAIN
-  Farbe : (rot, blau,
-             !!@ili2db.dispName=grĂŒn
-             gruen
-          );
-
-
-CREATE TABLE Farbe (
- T_Id integer PRIMARY KEY,
- thisClass varchar(1024) NOT NULL,
- baseClass varchar(1024) NOT NULL,
- itfCode integer NOT NULL,
- iliCode varchar(1024) NOT NULL,
- seq integer NULL,
- dispName varchar(250) NOT NULL,
- description varchar(1024) NULL,
- inactive boolean NOT NULL
-);
-
-

Abbildung mit der Option --createEnumTabsWithId. Es wird pro -Basis-AufzÀhlungsdefinition eine Tabelle mit den einzelnen AufzÀhlwerten, -inkl. aller AufzÀhlungserweiterungen von dieser Basisdefinition.

-

thisClass ist der qualifizierte Namen der AufzÀhlungsdefinition.

-

baseClass ist der qualifizierte Namen der Basis-AufzÀhlungsdefinition

-

itfCode ist der ITF-Code des AufzÀhlwertes.

-

iliCode ist der qualifizierte Elementnamen (=XTF-Code) des AufzÀhlwertes.

-

seq Definiert die Reihenfolge der AufzÀhlelemente.

-

dispName definiert den Anzeigetext fĂŒr das AufzĂ€hlelement. Beim Import wird die -Spalte mit dem XTF-Code befĂŒllt. Falls das AufzĂ€hlelement das Metaattribut -@ili2db.dispName hat, wird dessen Wert verwendet.

-

description enthĂ€lt die Beschreibung des AufzĂ€hlelements. Beim Import wird die -Spalte mit dem ilidoc Kommentar aus dem Modell befĂŒllt.

-

inactive TRUE um einen AufzĂ€hlwert fĂŒr die Erfassung auszublenden, ohne dass -er gelöscht werden muss. Wird beim Import mit FALSE befĂŒllt.

-
-
-
-

INTERLIS-Metaattribute

-

Einzelne Abbildungen können direkt im Modell ĂŒber Metaaatribute konfiguriert werden. -Metaattribute stehen unmittelbar vor dem Modellelement das sie betreffen und beginnen mit !!@. -Falls der Wert (rechts von `=`) aus mehreren durch Leerstellen getrennten Wörtern besteht, muss er mit GĂ€nsefĂŒsschen eingerahmt werden (`"..."`).

- ----- - - - - - - - - - - - - - - - - - - - - - - - - -
ModelelementMetaattributBeschreibung
AttributeDef
-ili2db.mapping
-
-
Strukturattribute mit diesem Meta-Attribut -werden als Spalte mit dem Datentyp Array oder JSON abgebildet. -D.h. es gibt keine weiteren Records in einer Hilfstabelle. -Siehe auch Programm-Optionen --coalesceArray und --coalesceJson. -Mögliche Werte: ARRAY, JSON
ClassDef
-ili2db.mapping
-
-
Strukturen mit diesem Meta-Attribut -werden als Spalte mit dem enstprechenden Multi-Geometrie Datentyp abgebildet. -D.h. es gibt keine weiteren Records in einer Hilfstabelle. -Mögliche Werte: MultiSurface, MultiLine, MultiPoint
ClassDef, -AttributeDef, -EnumElement
-ili2db.dispName
-
-
Definiert den Anzeigetext fĂŒr das entsprechende Modell-Element. -FĂŒr AufzĂ€hlelemente ist es der Wert der Saplte dispName in der jeweiligen Tabelle -mit den AufzĂ€hlwerten. -FĂŒr Klassen ist es in der Tabelle t_ili2db_table_prop der Wert mit -dem Tag ch.ehi.ili2db.dispName. -FĂŒr Attribute ist es in der Tabelle t_ili2db_column_prop der Wert mit -dem Tag ch.ehi.ili2db.dispName.
ClassDef
-ili2db.oid
-
-
Mit dem Metaattribut ili2db.oid erhÀlt die Tabelle (die eine Klasse -reprÀsentiert, die keine Basisklasse hat) eine zusÀtzliche Spalte -T_Ili_Tid, wie wenn die Klasse eine OID hÀtte. -Siehe auch Klassen/Strukturen.
-

Ein Modell kann beliebige weitere Metaattribute enthalten; diese werden -durch ili2db beim Schemaimpot in t_ili2db_meta_attrs abgelegt. -Mit Hilfe der Option --iliMetaAttrs können beliebige weitere Metaattribute -definiert werden, ohne das Modell (die ili-Datei) zu Àndern.

-
-
-

Metadaten

- ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TabelleBeschreibung
t_ili2db_attrnameAbbildung von Attributnamen
t_ili2db_basketIn der Datenbank vorhandene Baskets. Wird benötigt, wenn die Option --createBasketCol verwendet wird.
t_ili2db_classnameAbbildung der qualifizierten Interlis Klassennamen auf Sql-Namen. Nicht aus jedem Eintrag gibt es eine Datenbank-Tabelle, je nach Abbildungsart der Interlis-Klasse wird der Sql-Name nur als Inhalt der Spalte t_type verwendet.
t_ili2db_datasetIn der Datenbank vorhandene DatensÀtze (Sammlung von Baskets). Wird benötigt, wenn die Option --createBasketCol verwendet wird.
t_ili2db_importNicht mehr verwenden, wird entfernt. Wird beim Export nicht benötigt.
t_ili2db_import_basketNicht mehr verwenden, wird entfernt. Wird beim Export nicht benötigt.
t_ili2db_import_objectNicht mehr verwenden, wird entfernt. Wird beim Export nicht benötigt.
t_ili2db_inheritanceAbbildung der Interlis Klassen Vererbungshierarchie (in der Tabellen sind die qualifizierten Interlis Klassennamen). Wird beim Export nicht benötigt.
t_ili2db_enumAufzÀhlwerte, falls die Option --createSingleEnumTab verwendet wird. Wird beim Export nicht benötigt.
t_ili2db_modelModelle, die beim Import benötigt wurden (so dass der Export mit denselben Modellen erfolgen kann).
t_ili2db_settingsProgrammeinstellungen fĂŒr ili2db
t_ili2db_trafoKonfiguration der semantischen Abbildung (insb. der Vererbung)
t_ili2db_table_propWeitere Angaben zu den DB-Tabellen aus dem Interlis Modell (z.B. ob es eine Tabelle mit AufzÀhlwerten ist). Wird nur erstellt mit Option --createMetaInfo.
t_ili2db_column_propWeitere Angaben zu den DB-Spalten aus dem Interlis Modell (z.B. ob es MTEXT ist). Wird nur erstellt mit Option --createMetaInfo.
t_ili2db_meta_attrsInterlis-Meta-Attribute (auch fĂŒr Modell-Elemente, denen kein DB-Element entspricht; z.B. die einem FK gegenĂŒberliegende Rolle). Wird nur erstellt mit der Option --createMetaInfo.
t_key_objectHilfstabelle fĂŒr den ID-Generator. Wird beim Export nicht benötigt.
-

TODO alle Tabelle beschreiben

-
-

t_ili2db_basket

-

Angaben zu den einzelnen BehÀltern (Ein BehÀlter ist eine Instanz eines TOPICs).

-
    -
  • t_id Diese Spalte ist der Datenbank interne PrimĂ€rschlĂŒssel (und nicht die BID aus der Transferdatei). Wird mit der Option --createBasketCol von den einzelnen Records fĂŒr die Objekte via Spalte t_basket referenziert.
  • -
  • dataset FremdschlĂŒssel auf die Tabelle t_ili2db_dataset
  • -
  • topic Der qualifizierte Name des Interlis-TOPICs.
  • -
  • t_ili_tid BID aus der Transferdatei falls das Topic ein stabild BID hat (BASKET OID AS) oder die Option --importBid beim Datenimport benutzt wurde. Wird beim Datenexport mittels --baskets benutzt, um zu ermitteln, welche Objekte exportiert werden sollen.
  • -
  • attachmentKey Nicht mehr verwenden, wird entfernt. (Als Pfad-Prefix fĂŒr Zusatzdatein zu diesem BehĂ€lter gedacht.)
  • -
-
-
-

t_ili2db_column_prop

-

Weitere Angaben zu den DB-Spalten aus dem Interlis Modell (z.B. ob es MTEXT ist). -Wird nur erstellt mit Option --createMetaInfo. Die Tabelle ist so aufgebaut, dass -sie beliebige (auch zukĂŒnftige) Werte/Zusatzangaben aufnehmen kann.

-
    -
  • tablename Name der Tabelle
  • -
  • columnname Name der Spalte
  • -
  • subtype Name des Subtyps (Inhalt der Spalte t_type), falls die Angabe nicht fĂŒr alle Klassen gilt
  • -
  • tag Name des Wertes/der Zusatzinformation
  • -
  • setting Wert/Zusatzinformation
  • -
- ---- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TagBeschreibung
ch.ehi.ili2db.c1MinBei Geometriespalten der Minimalwert der 1. Dimension
ch.ehi.ili2db.c1MaxBei Geometriespalten der Maximalwert der 1. Dimension
ch.ehi.ili2db.c2MinBei Geometriespalten der Minimalwert der 2. Dimension
ch.ehi.ili2db.c2MaxBei Geometriespalten der Maximalwert der 2. Dimension
ch.ehi.ili2db.c3MinBei Geometriespalten der Minimalwert der 3. Dimension
ch.ehi.ili2db.c3MaxBei Geometriespalten der Maximalwert der 3. Dimension
ch.ehi.ili2db.geomTypeBei Geometriespalten die Art der Geometrie. Mögliche Wert: -POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING -MULTIPOLYGON, GEOMETRYCOLLECTION, CIRCULARSTRING -COMPOUNDCURVE, CURVEPOLYGON, MULTICURVE, MULTISURFACE -POLYHEDRALSURFACE, TIN, TRIANGLE
ch.ehi.ili2db.sridBei Geometriespalten der EPSG Code
ch.ehi.ili2db.coordDimensionBei Geometriespalten die Dimension der Geometrie
ch.ehi.ili2db.dispNameBenutzerfreundliche Bezeichnung der Spalte (z.B. im UI)
ch.ehi.ili2db.textKindFalls mehrzeilige Textspalte, der Wert MTEXT
ch.ehi.ili2db.unitName der numerischen Einheit z.B. m
ch.ehi.ili2db.foreignKeyBei FremdschlĂŒsseln der Name der Zieltabelle. Damit auch -ohne --createFk die Beziehungen ermittelt werden können
ch.ehi.ili2db.enumDomainBei AufzĂ€hlungsattributen der Name der konkreten AufzĂ€hlung. -Damit auch bei erweiterten Attributen/AufzĂ€hlungen die fĂŒr die -Subklasse relevante AufzĂ€hlung ermittelt werden kann
ch.ehi.ili2db.oidDomainBei Klassen mit OID der qualifizierte Name des -OID-Wertebereichs (z.B. INTERLIS.UUIDOID)
-
-
-

t_ili2db_table_prop

-

Weitere Angaben zu den DB-Tabellen aus dem Interlis Modell (z.B. ob es -eine Tabelle mit AufzÀhlwerten ist). Wird nur erstellt mit Option --createMetaInfo.

-
    -
  • tablename Name der Tabelle
  • -
  • tag Name des Wertes/der Zusatzinformation
  • -
  • setting Wert/Zusatzinformation
  • -
- ---- - - - - - - - - - - - - - -
TagBeschreibung
ch.ehi.ili2db.dispNameBenutzerfreundliche Bezeichnung der Tabelle (z.B. im UI)
ch.ehi.ili2db.tableKind

Art/Zweck der Tabelle

-
    -
  • ENUM Tabelle fĂŒr eine Interlis AufzĂ€hlung
  • -
  • SECONDARY Hilfstabelle, falls eine Interlis Klasse -in mehrere Tabellen unterteilt wird (z.B. wegen der -Option --oneGeomPerTable)
  • -
  • ASSOCIATION Tabelle fĂŒr eine Interlis Beziehung
  • -
  • STRUCTURE Tabelle fĂŒr eine Interlis Struktur
  • -
  • CATALOGUE Tabelle fĂŒr eine Interlis Klasse, die direkt -oder indirekt CatalogueObjects_V1.Catalogues.Item erweitert
  • -
-
-
-
-

t_ili2db_meta_attrs

-

Interlis-Meta-Attribute (auch fĂŒr Modell-Elemente, denen kein DB-Element -entspricht; z.B. die einem FK gegenĂŒberliegende Rolle). -Diese Tabelle wird nur erstellt -mit der Option --createMetaInfo. -Die Tabelle enthĂ€lt auch von ili2db aufgrund des Modells generierte -Meta-Attribute (z.B. KardinaliĂ€t einer Rolle). Die Namen dieser generierten -Meta-Attribute beginnen -mit ili2db.ili..

-
    -
  • ilielement Qualifizierter Name des betroffenen Interlis-Elements
  • -
  • attr_name Name des Meta-Attributs
  • -
  • attr_value Wert des Meta-Attributs
  • -
-

Von ili2db werden automatisch aufgrund des Interlis-Modells folgende -Meta-Attribute generiert:

- ---- - - - - - - - - - - - - - - - - - - - - - - -
TagBeschreibung
ili2db.ili.attrCardinalityMinminimum Anzahl Werte eines Attributes
ili2db.ili.attrCardinalityMaxmaximum Anzahl Werte eines Attributes
ili2db.ili.assocCardinalityMinminimum Anzahl Objekte zu einer Bezeihungs-Rolle
ili2db.ili.assocCardinalityMaxmaximum Anzahl Objekte zu einer Beziehungs-Rolle
ili2db.ili.assocKind

StÀrke der Rolle

-
    -
  • -
    ASSOCIATE Assoziation (--) Beziehung zwischen
    -
    unabhÀngigen Objekten
    -
    -
  • -
  • -
    AGGREGATE Aggregation (-<>) Beziehung zwischen
    -
    Teilobjekten und einem Ganzen. Ein Teilobjekt -kann Teil von mehreren Ganzen sein
    -
    -
  • -
  • -
    COMPOSITE Komposition (-<#>) Beziehung zwischen
    -
    Teilobjekten und einem Ganzen. Ein Teilobjekt -kann nur Teil von einem Ganzen sein
    -
    -
  • -
-
-
-
-
-

Namenskonvention

-

Die Abbildung der Klassennamen in Tabellennamen erfolgt nach drei -möglichen Strategien:

-
-
Unqualifiziert
-
Es wird der Klassennamen verwendet (ohne voranstellen -von Topic- und/oder Model-Namen). Falls der Name schon benutzt ist, wird -der voll qualifizierte Name verwendet.
-
Mit Topic qualifiziert
-
Dem unqualifizierten Klassennamen wird der -Topic-Name vorangestellt. Falls der Name schon benutzt ist, wird der -voll qualifizierte Name verwendet.
-
Voll qualifiziert
-
Der Tabellenname wird aus Model-, Topic- und -Klassenname zusammengesetzt.
-
-

Falls der Tabellenname zu lang ist, wird er gekĂŒrzt, in dem die Vokale -entfernt werden (ausser die ersten beiden und letzten beiden -Buchstaben). Falls er danach immer noch zu lang ist, werden in der der -Mitte des Namens Buchstaben entfernt.

-

Falls der Tabellenname nun einem SQL-SchlĂŒsselwort entspricht, wird er -um ein fĂŒhreneds ‚a‘ ergĂ€nzt.

-

Falls der Tabellenname nun nicht eindeutig ist, wird er um eine Ziffer -ergĂ€nzt: ‚0‘, ‚1‘, usw. bis er eindeutig ist.

-

Die automatische Namensabbildung kann ĂŒbersteuert werden, indem vor dem -ersten Import entsprechende EintrĂ€ge in der Tabelle t_ili2db_classname -gemacht werden.

- - - - - -
[1]GML 3.2; die verwendeten Kodierungsregeln entsprechen eCH-0118-1.0
- - - - - -
[2]Der SQL-Name ergibt sich aus den Namenskonventionen. Die konkrete -Übersetzung ist in der Tabelle T_ILI2DB_CLASSNAME hinterlegt.
- - - - - -
[3]Der SQL-Name ergibt sich aus den Namenskonventionen. Die konkrete -Übersetzung ist in der Tabelle T_ILI2DB_ATTRNAME hinterlegt.
- - - - - -
[4]Der SQL-Name ergibt sich aus den Namenskonventionen. Die konkrete -Übersetzung ist in der Tabelle T_ILI2DB_CLASSNAME hinterlegt.
-
-
-
-
- - diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.5.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.5.0.jar deleted file mode 100644 index c691f918..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.5.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.6.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.6.1.jar deleted file mode 100644 index f6298ad6..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/ili2pg-4.6.1.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/antlr-2.7.7.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/antlr-2.7.7.jar deleted file mode 100644 index 5e5f14b3..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/antlr-2.7.7.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/base64-2.3.9.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/base64-2.3.9.jar deleted file mode 100644 index eaf2b83c..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/base64-2.3.9.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/caffeine-2.6.2.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/caffeine-2.6.2.jar deleted file mode 100644 index f2f724bf..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/caffeine-2.6.2.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.0.jar deleted file mode 100644 index eb4d8d89..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.1.jar deleted file mode 100644 index be7b8f63..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehibasics-1.4.1.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehisqlgen-1.14.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehisqlgen-1.14.0.jar deleted file mode 100644 index 0b11a9b9..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ehisqlgen-1.14.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.0.jar deleted file mode 100644 index 66749f41..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.3.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.3.jar deleted file mode 100644 index 47af5d4d..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-core-5.2.3.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.0.jar deleted file mode 100644 index 927dc713..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.3.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.3.jar deleted file mode 100644 index bf9dd442..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2c-tool-5.2.3.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.5.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.5.0.jar deleted file mode 100644 index e49863e6..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.5.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.6.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.6.1.jar deleted file mode 100644 index 52e1de66..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/ili2db-4.6.1.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-api-1.0.3.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-api-1.0.3.jar deleted file mode 100644 index ced8da06..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-api-1.0.3.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.5.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.5.jar deleted file mode 100644 index b2461279..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.5.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.8.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.8.jar deleted file mode 100644 index 7a8ec290..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/iox-ili-1.21.8.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jackson-core-2.9.7.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jackson-core-2.9.7.jar deleted file mode 100644 index fa46a7f6..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jackson-core-2.9.7.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jcl-over-slf4j-1.7.25.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jcl-over-slf4j-1.7.25.jar deleted file mode 100644 index 8e7fec88..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jcl-over-slf4j-1.7.25.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-4.5.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-4.5.1.jar deleted file mode 100644 index 68216afb..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-4.5.1.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-platform-4.5.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-platform-4.5.1.jar deleted file mode 100644 index 5aeb3e4e..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jna-platform-4.5.1.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jts-core-1.14.0.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jts-core-1.14.0.jar deleted file mode 100644 index a690bed6..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/jts-core-1.14.0.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/postgresql-42.2.18.jre6.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/postgresql-42.2.18.jre6.jar deleted file mode 100644 index 5474379b..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/postgresql-42.2.18.jre6.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/slf4j-api-1.7.25.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/slf4j-api-1.7.25.jar deleted file mode 100644 index 0143c099..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/slf4j-api-1.7.25.jar and /dev/null differ diff --git a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/waffle-jna-1.9.1.jar b/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/waffle-jna-1.9.1.jar deleted file mode 100644 index 2d1a38c7..00000000 Binary files a/qgepqwat2ili/bin/ili2pg-4.5.0-bindist/libs/waffle-jna-1.9.1.jar and /dev/null differ