Description:
The merge network features command merges network edge features allowing the transfer of attributes
from one of the merged features to the other. The command is designed to be similar to Merge Features command
available in the ArcMap Editor within ArcGIS Desktop. The command also supports merge domain constraints.
For coded value fields, it will assign the default value to the new feature. For range domains,
there are three choices: default value, sum and weighted average, it will assign the value based
on the specific choice. For complex edge features, the command re-establishes connectivity at
mid-span with junction features.
Known Limitations: The command does not support the user of Group Layers. If group layers are present in the
Map Document, the command will fail with an error message.
Products: ArcEditor: VB6
Platforms: WindowsRequires: An edit session with network junction featuresMinimum ArcGIS Release: 9.0 |
How to use:
- Double click on the _Install.BAT file.
- From the 'Developer Samples' commands category, add the 'Merge Network Features' command to the Editor toolbar.
- Load a geometric network and start an edit session.
- Set the Target Layer to an edge feature class, the 'Merge Network Features' command will create the merged feature in this feature class.
- Select two or more connected network edges from the same feature class.
- Click the 'Merge Network Features'.
- Choose from which of the two features the attributes will be transferred.
| clsMergeNetFeats.cls
|
Implementation for the editor command. |
| frmMergeOptions.frm
|
Implementation of the Merge Network Features form. |
| MergeNetFeats.vbp |
The project file for the sample editor command. |
| MergeNetFeats.dll |
The compiled project. |
| _INSTALL.bat |
Batch file that registers the dll and calls Register_with_Component_Categories.reg |
| MergeNetFeats.reg |
Registry file that registers the various classes with their appropriate component categories. |
Download the VB6 files
Download the files for all languages
Key Libraries: Editor, Geodatabase
Key CoClasses:Editor
Key Interfaces: INetworkFeature, IComplexEdgeFeature, IFeatureClass, IRowSubtypes, IDomain, ISubtypes
Key Members:INetworkFeature::GeometricNetwork, IComplexEdgeFeature::ConnectatIntermediateVertices, IFeatureClass::Fields, IRowSubtypes::InitDefaultValues, ISubtypes.Domain, IDomain.MergePolicy