Version: 10.2.1c and 10.2.1c SP3 |
ArcFM Desktop > ArcFM > Water Tracing > Water Tracing Step 7: Initialize Water Trace Weights |
The Initialize Water Trace Weights function prepares a new database for water tracing functions by populating the field with the model name WaterTraceWeight; this field must also be associated with the WaterTraceWeight weight created when the geometric network is built. Initializing also adds to this field information found in bitgates. See About Water Tracing for a description of how bits are used to support tracing.
If the Initialize Water Trace Weights button doesn't appear on your ArcFM Solution toolbar, you may add it. |
Before You Begin
Before using the Initialize Water Trace Weights function, configure the water network features with the appropriate weights and model names. More information about this is available in Configure Water Tracing.
Also, ensure your MaxLocksPerFile Registry settings are high values (200,000 for example). A low setting will cause errors during initialization. There are three MaxLocksPerFile entries in the Registry at the following locations:
|
How Geometric Networks Affect Initializing Water Trace Weights
You can use the Initialize Water Trace Weights function before or after creating a geometric network. However, it is recommended that you run Initialize Water Trace Weights before creating the geometric network because the initialization process will go quicker. Running this function after creating a geometric network can be very slow.
|
Initializing Trace Weights in SDE Geodatabases
If you are using the initialize Water Trace Weights function on a dataset in an SDE geodatabase, it is highly recommended that you use it before registering the dataset as versioned and before you create a geometric network. If the dataset is versioned, it may require a significant amount of time to initialize trace weights. For example, the process could take several days for a dataset with more than 100,000 edges because of the overhead involved in updating weight-associated fields in a versioned database.
You can initialize trace weights in an SDE geodatabase when:
You cannot initialize trace weights in an SDE geodatabase when:
Function Availability
Below is a table that describes when the Initialize Water Trace Weights function is available in each type of geodatabase.
Geodatabase Type | Geometric Network | Registered as Versioned | Initializing Trace Weights Available |
---|---|---|---|
personal | no | n/a | yes |
personal | yes | n/a | yes |
file | no | n/a | no |
file | yes | n/a | yes |
SDE | no | no | yes |
SDE | no | yes | no |
SDE | yes | no | no |
SDE | yes | yes | yes |
Initialize Without a Geometric Network or Versions
This procedure applies to personal and SDE geodatabases and cannot be performed on file geodatabases. Initializing trace weights before creating the geometric network is much faster than initializing with the network already created. To initialize trace weight values before the network is created:
Dropping geometric networks and deleting versions may have dire consequences. Before doing either of these, consult with your Database Administrator and refer to Esri documentation. |
Ensure a geometric network does not exist.
If a geometric network does exist but you want to initialize the dataset without the geometric network; drop the geometric network and compress the geodatabase.
If initializing an SDE geodatabase, check whether the dataset is registered as versioned.
If the dataset is registered as versioned, delete any versions and unregister the dataset as versioned.
Select the dataset.
Click the Initialize Water Trace Weights button.
ArcFM creates the following .txt files:
In Windows 7, Windows Server 2008 and Windows Server 2008 R2, these files are stored in the following directory: C:\Users\[user]\AppData\Local\Temp.
After initialization is complete, build or rebuild the geometric network and register or re-register the dataset as versioned.
Initialize With Geometric Network
This procedure applies to file and personal geodatabases and cannot be performed on SDE geodatabases. Initializing trace weights when the network already exists will take more time than without the network. To initialize trace weight values after the network is created:
Initialize a Dataset Registered as Versioned and With a Geometric Network
This procedure applies to only SDE geodatabases. Before using this procedure, be aware that initializing trace weights when the network already exists and the dataset is registered as versioned could take a significant amount of time and generate several conflicts.
If you must use this procedure, consider deleting all versions before starting. |