Please enable JavaScript to view this site.

Version:

Navigation: Configurations

Version Diff

Prev Top Next More

Here you can define the tables from which the changes between the edited version and the base version are calculated in order to determine the changed attribute data objects.

Parameter

Value

postserver.versiondiff.tables

This parameter is only used for object classes that are modeled as complex objects

Comma-separated list of tables and fields from which the difference is calculated between the edit and base version. Each table must contain the UT OBJ_ID in a column. The list has the following format:

Table[IDField|IDField|…],Table[IDField|IDField|…],…

The IDField parameter describes one ore more fields in the table that contain an UT OBJ_ID. If during difference calculation a difference in a row is detected, then all OBJ_IDs from the defined field IDField are included in the result set and the corresponding UT Objects are discharged.

The following minimum setting are recommended:

OCL_UT_OBJECT[OBJ_ID],UT_DATA_CAPTURE[OBJ_ID],UT_OBJECT_COORD[OBJ_ID]

In the case of discharging objects from versions, changed objects are only recognized when there is a difference in one of the configured tables between edit version and base version. Depending on project requirements it may be necessary to configure additional tables.

From theVertiGIS Integrator Build 290, an extended format is supported for configuring tables for the difference calculation. You can prepend an optional prefix to each IDField to describe whether the OBJ_ID from the parent version or the child version will be included into the result set. Use the following syntax to configure the prefixes: 

Table[CP:IDField|CP:IDField|…],Table[CP:IDField|CP:IDField|…],…

The optional prefix has the following meaning:

C: transfer OBJ_ID from the child version into the result set.

P: transfer OBJ_ID from the parent version into the result set.

Example:

OCL_UT_E_STATION[CP:OBJ_ID]
If a line was changed in the OCL_UT_E_STATION table, it will transfer the OBJ_ID from the child version and from the parent version into the result set.

In addition, it is now possible to define the comparison fields for an IDField. The OBJ_ID is included only into the result set if one or more comparison fields are defined,and the comparison field content is different in the parent and child version. Comparison fields (CPField) can be defined using the following syntax:

Table[IDField(CPField%CPField%...)|IDField|…],Table[IDField|IDField|…],

Example:

OCL_UT_E_STATION[OBJ_ID(FUNCT%TYPE)] 
If a line was changed in the OCL_UT_E_STATION table, then transfer the OBJ_ID only, if the fields FUNCT or TYPE have changed. 

postserver.versiondiff.basic.objectclasses

This parameter is only used for object classes that are modeled as basic objects.

Comma-separated list of UT Class Ids and Subtype Ids from which the difference is calculated between edit and base version. The list has the following format:

UT Class[Subtype 1|Subtype 2|…],UT Class[Subtype 1|Subtype 2|…],…

The IDField parameter describes one ore more fields in the table that contain an UT OBJ_ID. If during the difference calculation a difference in a row is detected, then all the OBJ_IDs from that defined IDField are included in the result set and the corresponding UT Objects are discharged.

Example:

7000[1],133000[1|2],133006[1],144001[1|3|4]

© 2024 VertiGIS GmbH. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 10.0 (fa3b2a93)