In NET, every network object consists of two parts: the geometry object (a point or a line on the map) and the feature object with its attributes, for example a cabinet, an FO cable or a manhole. Until now, some attributes were stored on the geometry object. With NET 16 they are moved to the feature objects. This happens automatically during the structure update.
This mainly affects name, info, status, creation and decommissioning date as well as assignments such as building, client or person, for almost all feature classes. The complete list with database names is in the appendix at the end of this guide.
What this means for you: Custom extensions that access these attributes directly on the geometry objects must be adapted to the change. This mainly affects views (database queries, for example for evaluations), label definitions (labeling of objects on the map) and custom form layouts.
Important: Installing NET 16 alone is not enough. Afterwards, the structure update must be run for every active NET project, and it must be run twice (see section 3).
1 Prepare the update
- Before you start, create a current backup of every affected project database. The structure update clears and removes fields; without a backup this cannot be undone.
- Plan a maintenance window. Nobody may work in the respective project during the structure update.
- You do not need to search your own views and label definitions in advance. The structure update checks them automatically and shows you what needs to be adapted (see 3b).
2 Install NET 16
Install NET 16 according to the general installation guide. Then carry out the following steps for every active NET project.
3 Run the structure update for each project
Before you start:
- If you use the EL interface: In the Infrastructure Administrator, activate the new data models for the power interface that match your modules (FO, TP, coax).
- In the structure update configurator, leave the options for forms, reports and data checks enabled.
Select the project and start the structure update as usual. The structure update runs separately for the base module and for each further module (duct, FO, TP, coax); the base module always runs first. This is why two runs are necessary.
First run
- The base module creates the new fields and transfers its values (3a).
- The pre-check shows views and label definitions that still access the old fields (3b).
- The base module then stops as planned, because the other modules have not yet transferred their values. This is normal and not an error. You do not need to deal with the remaining values reported at this point in the first run.
- The other modules continue regardless, create their new fields and transfer their values.
Second run
- Start the structure update again. The pre-check appears once more (3b).
- The structure update checks whether the old fields still contain values and stops if necessary (3c).
- The old fields on the geometry objects are removed and the segment depth is transferred (section 4).
3a Value transfer
If the field on the feature object is empty, the value is taken over from the geometry object; an existing value is never overwritten. The old field on the geometry object is only cleared if the value was taken over or the same value was already there. Otherwise it remains and is reported in 3c.
3b Pre-check: views, label definitions and forms
If the pre-check finds custom views or label definitions that still access the fields on the geometry objects, the “NET 16.0 Pre-check” dialog opens. The structure update adapts the standard NET label definitions and views itself, as well as views, label definitions and functions that TKI maintains for you as a customer adaptation. Only extensions you maintain yourself are reported.
How to view and save the list: You can see the reported entries via the magnifier icon. Enable “Create log file”. After clicking “Continue” or “Cancel”, a dialog opens in which you save the log file (CSV). It contains all reported views and label definitions with name and ID. With “Continue”, an additional confirmation prompt follows.
| Result of the check | What to do |
|---|---|
| Nothing reported | The structure update continues. |
| Only label definitions reported | Create the log file and click “Continue”. Adapt the reported label definitions after the update. Until then they can cause runtime errors in Map 3D. |
| Views reported, first run | Create the log file and click “Continue”. Cancelling at this point does not help, because the new fields of the other modules are still missing. After the first run, switch the reported views to the new fields using the log file; the appendix shows which attributes move where. |
| Views reported, second run | Create the log file and click “Cancel”. Adapt the reported views and then start the structure update again. Views that are not adapted no longer work after the update, because the old fields are removed. |
Do not delete reported views or label definitions without checking them. First clarify what they are used for. If you have questions, TKI support will help.
Custom form layouts: If you use custom form layouts with controls affected by the change, the pre-check contains the option “Update customer-specific controls”. Without such layouts the option is not shown. It is enabled by default and also appears when no views or label definitions are reported. Leave it enabled. The structure update then switches the controls of your custom forms to the new fields:
- Position, size, column width and tab are retained. The data binding (for example filters, formulas or date format), on the other hand, is reset to the NET standard; your own settings there are overwritten.
- Controls without a new counterpart, and controls whose new counterpart already exists in the same form, are not switched. In the second case a warning appears.
For this reason, check your custom forms after the update (section 4).
3c Remaining values on the geometry objects
Before the old fields are removed, the structure update checks whether they still contain values (see 3a). If this is the case in the second run, the structure update stops. No fields that still have content are removed. The message is in the structure update log and lists the attribute and the number of records for each feature class.
Individual values for which there will be no field in future, for example the building on the FO splice, are removed by the structure update without stopping and listed in the messages.
If the update stops in the second run, proceed as follows:
- Save the structure update log together with the project name.
- Open the form for points or lines and filter it on the reported attribute with the condition “is not null”. This shows all geometry objects that still carry an old value.
- Decide which value applies. If necessary, enter it on the feature object and clear the field on the geometry object. If the feature object has no matching field, decide whether the information should be maintained elsewhere or can be dropped.
- Start the structure update again. It continues where it stopped; values already transferred are kept and are not transferred again.
4 Check the result and release the project
Check each project directly after its successful structure update. Open a few known objects and check whether name, info, status and assignments are on the feature object. Adapt the label definitions reported in 3b and check the labels on the map. Run your own views and evaluations once. If you use custom form layouts, open them and check whether the moved attributes are displayed. Pay attention to warnings about controls in the structure update log (see 3b).
Check segment depth
As part of the NET 16 structure update, the previous text field for the segment depth is renamed to “Segment depth information”. The numeric fields “Depth (m)” and “Width (m)” are added to the segment. If the previous entry consists only of a number with a unit, it is additionally taken over in metres into “Depth (m)”; for example “50cm” or “50 cm” becomes 0.5. A number without a unit is taken over as metres. Entries such as “approx. 50 cm” or “0.6–0.8 m” are not converted; they are only kept as text and appear in the second of the following filters.
The “Segment” form has two form filters for this:
- Depth and depth information set: Both fields are filled. Compare a sample of the transferred numeric values with the previous text, especially for entries without a unit.
- Depth empty and depth information set: There is a text but no numeric value. Check the entries and fill in “Depth (m)” if the depth is clearly known. For entries such as “unknown”, do not guess a value.
Release the project
If the result is correct, release the project for editing again. If it is not, restore the backup and contact TKI support. Repeat steps 3 and 4 for every further active NET project.
5 Appendix: Affected attributes and feature classes
These attributes are moved from the geometry objects (tables TC_POINT and TC_LINE) to the feature objects. You need the database names when adapting views or label definitions.
| Area | Attributes (database name) |
|---|---|
| Designation | Name (NAME), Info (INFO) |
| Status and date | Status (FID_STATUS), creation date (DATE_CREATION), decommissioning date (DATE_SHUTDOWN) |
| Assignments | Client (FID_CLIENT), person (FID_PERSON), building (FID_BUILDING), parent object (FID_PARENT) |
| Length | User length (USER_LENGTH) |
| Origin from the TNIM import | FID_TNIM_SOURCE, TNIM_SOURCE_KEY |
| EL interface | FID_EL_POINT, FID_EL_LINE |
| Dropped without replacement | FID_PARENT_POINT on lines (TC_LINE). This value is not transferred. |
The following feature classes are affected. Not every attribute exists in every feature class; the data model of the respective class is decisive.
| Module | Feature classes (table) |
|---|---|
| Base | Cabinet (TC_SP_CABINET), Manhole (TC_SP_MANHOLE), Pole (TC_SP_POLE), Segment (TC_SP_SEGMENT), Switching Point (TC_SWITCHING_POINT) |
| FO | FO Terminator (TC_FO_TERMINATOR), FO Fiber (TC_FO_FIBER), FO Cable Section (TC_FO_CABLE), FO Connector (TC_FO_CONNECTOR), FO Closure (TC_FO_CLOSURE), FO Patch (TC_FO_PATCH), FO Patch Fiber (TC_FO_PATCH_FIBER), FO switching point connection line (TC_FO_CONNECTION_LINE), FO Splice (TC_FO_SPLICE), FO Splitter (TC_FO_SPLITTER), FO Splitter Path (TC_FO_SPLITTER_PATH) |
| TP | TP Terminator (TC_TP_TERMINATOR), TP Wire (TC_TP_WIRE), TP Cable Section (TC_TP_CABLE), TP Closure (TC_TP_CLOSURE), TP Patch (TC_TP_PATCH), TP switching point connection line (TC_TP_CONNECTION_LINE), TP Splice (TC_TP_SPLICE), TP Pin (TC_TP_PIN) |
| Coax | CX Terminating Resistor (TC_CX_TERMINATOR), CX Branch (TC_CX_TAP), CX Building Termination Point (TC_CX_HIP), CX Cable Section (TC_CX_CABLE), CX Connector (TC_CX_CONNECTOR), CX Remote Power Supply (TC_CX_POWER_SUPPLY), CX Amplifier (TC_CX_AMPLIFIER), CX Junction (TC_CX_SPLITTER), CX Amplifier Point (TC_CX_VRP), CX BKVrSt (TC_CX_VRST) |
| Duct | Duct (TC_SP_DUCT), Duct Insertion (TC_SP_DUCT_INSERTION), Duct Point (TC_SP_DUCT_TAP), Fitting (TC_SP_FITTING) |
| EL interface | Only FID_EL_POINT and FID_EL_LINE on cable sections, closures and terminators (FO, TP) and on cable sections and terminating resistors (coax). There are separate data models for the power interface for this (FO, TP, coax), which you must activate in the Infrastructure Administrator (see section 3). |