Geometric Network Configuration Manager

This post discusses the release of a sample utility called Geometric Network Configuration Manager.  In some instances when it is necessary to temporarily remove a geometric network, this tool can recreate the geometric network from a backed definition file.

The add-in can be downloaded from here.

The source code is available here or here on github.

Configuration Manager has a very long lineage.  More than a decade ago the Prototype Lab published Geodatabase Designer for documenting geodatabases and exchanging schema.  Designer is now obsolete but fortunately much of its capabilities are now incorporated into ArcMap or other tools such as ArcGIS Diagrammer and XRay for ArcCatalog.

However the one feature from Designer that has yet to be replicated is the ability to save and restore geometric networks.  This useful if loading large amounts data or performing a schema change like switching a feature class from a simple edge to a complex edge.

Prerequisites

Libraries Used

The following section will walkthrough the steps required to backup geometric network, remove it and then restore it.  The use case for this workflow could be for bulk data loading or transferring a geometric network from a test server to a production server.

Walkthrough

Following the successful installation of the add-in.  Display the Geometric Network Tools toolbar and click the first button to launch the main dialog.  Drag and drop a geometric network into the configuration manager window.

The complete definition of the geometric network will be loaded into the dialog.  The four tabs below the ribbon make it is possible to review and, in some cases, modify classes, weights and connectivity rules.

The geometric network definition is current stored in memory and should really be saved to a file so that it can backed-up or restored at a later time.  Click the save or Save As button to export the definition to a file with a esriGeoNet extension.

Recreating a geometric network is just a matter of loading an esriGeoNet file and clicking Export.  The application will prompt the user for the name and location of the exported geometric network.  If the geometric network already exists, it will be overwritten.

Known Issues:

  • The dialog that appears when the Export button is click may be hidden by the Configuration Manager window.  Either minimize or move the window to the side to continue with the export operation.
  • Add and removing of network classes and weights is currently not supported.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

8 Comments

  1. fabianoferrazza says:

    it’s extremely useful! there will be an official release?

  2. gman says:

    I’m having a problem in that when I export the network, drop the network, then use ‘export’ as described above to re-apply it to the same dataset I copied it from, I get build errors on the network. Then I am unable to load it to ArcMap to look at the Network Build Errors and get the msg “Error opening feature class- The FC participates in a geom network that could not be opening- DBMS table not found”. I’ve tried several times and cannot get a clean network to reload once extracted. Anyone else having similar issues. Hard to believe we still cannot export the network by itself with native tools!
    Thanks, Gavin

  3. littledroog says:

    i get the installation succesful message but when i try to lounge the manager, i get this message:

    Object reference not set to an instance of an object at ESRI,PrototypeLab.Zeta.ButtonGeometricNetwork.OnClick() in c:\Users\richie\Documents\Visual Studio 2012\Proyects\ESRI,PrototypeLab.Zeta\ESRI,PrototypeLab.Zeta\ButtonGeometricNetwork

  4. littledroog says:

    i get the installation succesful message but when i try to lounge the manager, i get this message:

    Object reference not set to an instance of an object at ESRI,PrototypeLab.Zeta.ButtonGeometricNetwork.OnClick() in c:\Users\richie\Documents\Visual Studio 2012\Proyects\ESRI,PrototypeLab.Zeta\ESRI,PrototypeLab.Zeta\ButtonGeometricNetwork.cs:line 46

    help?