Updating diagram samples

Sample 1—Updates on Standard builder diagrams generated from GIS features organized into a geometric network

The figures below show how Standard builder schematic diagrams generated from GIS features organized into a geometric network can be updated according to the options on the Update Diagram dialog box.

A—Updating a schematic diagram initially generated from a trace

Figure 1.A.1 shows a part of a sample geometric network where a Find Connected trace operation is going to be executed starting from a green flag positioned on a feature point.

A Find Connected trace starting from the green flag is going to be performed on this area

Figure 1.A.2 shows the trace result, returned as drawings, which is going to be used as input to generate a schematic diagram. Since a barrier is positioned on an edge at the right of the network, the trace result stops at this location. It also stops at the top and bottom because there are opened switches at those locations that stop the trace from being executed beyond them. Figure 1.A.3 shows the DiagramFromHighlightedTrace schematic diagram generated from this trace result.

Find Connected trace result when it is returned as drawings and schematic diagram generated from this trace result

Figure 1.A.4 shows the same trace result returned as a selection set that is going to be used to generate the DiagramFromSelectedTrace diagram. Figure 1.A.5 shows the resulting DiagramFromSelectedTrace schematic diagram.

Find Connected trace result when it is returned as a selection set and schematic diagram generated from this trace result

Figure 1.A.6 shows the changes that have impacted the area since the diagrams were generated:

  • Some GIS features have been removed (they were located in the purple circle in figure 1.A.6 below).
  • The switch at the bottom, which was open when the diagram was generated, is now closed.
Changes in the area from which the DiagramFromHighlightedTrace and DiagramFromSelectedTrace schematic diagrams have been generated

Figures 1.A.7 and 1.A.8 show the DiagramFromHighlightedTrace and DiagramFromSelectedTrace schematic diagrams after updating using the Synchronize against original selection/trace/query option.

DiagramFromHighlightedTrace and DiagramFromSelectedTrace schematic diagrams updated

For the DiagramFromHighlightedTrace schematic diagram, initially generated from a trace result returned as drawings, the trace parameters were saved in the schematic dataset when the diagram was generated. During the update, the trace is reexecuted in memory and the diagram content is updated according to the new Find Connected trace result: the removed features are no longer part of this new trace result and, since the switch at the bottom is now closed, the Find Connected trace executes beyond it; a large part of the network beyond this switch is now returned in the new trace result. These changes are reflected in the diagram after it's updated.

For the DiagramFromSelectedTrace schematic diagram, which was generated from the same trace result but returned as a selection set, no trace parameters have been persisted in the schematic dataset when the diagram was generated. The diagram is updated according to the initial feature selection set used to generate it. For the removed features, which no longer exist in the geodatabase, the associated schematic features are removed from the diagram after updating. For the switch, which is now closed, the related schematic feature in the updated diagram appears with a new symbol (the one used to symbolize closed switches). But, since they were not included in the initial feature selection set, the GIS features beyond the closed switch are not added in the updated diagram.

B—Updating a schematic diagram initially generated from a selection set of GIS features

Figure 1.B.1 shows a part of a sample geometric network. Figure 1.B.2 shows a selection set on this area that is going to be used as input for generating a schematic diagram.

Sample features selection set from which a schematic diagram is going to be generated

Figure 1.B.3 shows the DiagramFromSelection schematic diagram generated from this GIS feature selection set. Then the diagram is laid out using the Hierarchical—Main Line Tree schematic layout algorithm (figure 1.B.4), and some schematic features located at the right are removed using the Remove Schematic Features command Remove Schematic Features command icon (figure 1.B.5). These editing operations are saved.

Sample schematic diagram from its generation to its final layout

The purpose now is to show the result of updates on the diagram content depending on the different update options that can be configured on the Update Diagram dialog box:

Updating using the Synchronize against original selection/trace/query option with the Persist manually removed, reduced or reconnected features option unchecked

In this case, the update operates from the GIS features that were initially used to generate the diagram. Figure 1.B.6 shows the diagram content after updating. The state of a TransformerBank GIS feature has changed since the diagram was generated; this new state is reported on the associated schematic feature in the diagram. The schematic features that were previously removed from the diagram are restored after updating because the Persist manually removed, reduced or reconnected features option was unchecked.

DiagramFromSelection schematic diagram updated using the Synchronize against original selection/trace/query option and the Persist manually removed, reduced or reconnected features check box unchecked

Updating from a new feature selection set specified on the geometric network

Figure 1.B.7 shows a new set of GIS features from which the DiagramFromSelection schematic diagram is going to be updated. This selection set comprises some of the GIS features initially used for the DiagramFromSelection schematic diagram generation and some new GIS features that are located a bit south.

New selection set that is going to be used as input for the diagram update

Figure 1.B.8 shows the DiagramFromSelection content after it is updated from this current selection set using the Append new features to the active diagram option and keeping the Persist manually removed, reduced or reconnected features option checked. All the schematic features contained in the diagram are kept at their saved positions. The state change of the TransformerBank GIS feature is reflected on the associated schematic feature. Since the Persist manually removed, reduced or reconnected features option is checked, the removed schematic features remain hidden after updating. For any new GIS features in the input selection set, a new schematic feature is created in the DiagramFromSelection schematic diagram and placed at its geographic location.

DiagramFromSelection content after appending a new GIS feature selection set during update

Figure 1.B.9 shows the DiagramFromSelection schematic diagram content after it is updated from this current selection set using the Overwrite the active diagram option. Only the schematic features in the diagram that were already associated with GIS features in the current selection set persist in the diagram; they are kept at their saved positions. The state change of the TransformerBank GIS feature is reflected on the associated schematic feature. For any new GIS features in the input selection set, a new schematic feature is created in the DiagramFromSelection schematic diagram and placed at its geographic location.

DiagramFromSelection content update when using a new GIS feature selection to overwrite the diagram content

Sample 2—Updates on Network Dataset builder diagrams

The figures below show how a schematic diagram based on the Network Dataset builder is updated.

Figure 2.1 shows the area where a route network analysis is going to be performed. The input stops are positioned in the map.

Stops created for the route network analysis

Figure 2.2 shows the solved route network analysis, and figure 2.3 shows the schematic diagram generated from this solved route network analysis.

Solved route network analysis and schematic diagram generated from this input network analysis

Figure 2.4 shows the changes that have impacted the area since the diagram was generated. Barriers are now positioned on two streets, and the type of two streets changed.

Changes in the area since from which the diagram was generated

Figure 2.5 shows the new route analysis result that is going to be used as input for the schematic diagram update. Figure 2.6 shows the diagram after it is updated from the new resulting route. The schematic database has been updated with the new network analysis result. The edge feature state change has been reported in the schematic database, and the associated schematic feature appears with the new color after update.

New solved network analysis and diagram content after update from this new input

Sample 3—Updates on XML builder diagrams

The figures below show how a schematic diagram generated by the XML builder is updated.

Figure 3.1 shows the state of the schematic diagram before update. It contains two schematic nodes and one schematic link. The schematic link symbology varies according to the Category attribute values.

XML builder diagram update - initial diagram

Figure 3.2 highlights the changes that have impacted the XML file since it was used to generate the diagram. The NodeFeature and LinkFeature items highlighted in cyan color are new items in the XML file compared to its first version. The Category propertyset property related to the Link-1 LinkFeature item (highlighted in yellow color) appears with another value in the new XML file version compared to its first version.

XML builder diagram update - highlighting differences

Figure 3.3 shows the schematic diagram after updating when using the new version of the XML file as the input XML file. A new schematic node and a new schematic link have been created in the schematic database for the two new NodeFeature and LinkFeature items found in the input XML file. The new value set for the Category propertyset property has been taken into account and updated in the related schematic database field. All these changes are now reflected in the diagram.

XML builder diagram update result illustration

Sample 4—Updates on Standard builder diagrams entirely built from custom queries

The figures below show a Standard builder schematic diagram whose content was entirely built from custom queries, before and after its update using the Synchronize against original selection/trace/query option.

Standard builder diagram built by custom queries illustration

Figure 4.1 shows the state of the schematic diagram before updating.

Figure 4.2 shows the GIS features on which the schematic diagram is based. It highlights the changes that impacted the database contents since the diagram was generated.

Figure 4.3 shows the schematic diagram after the update.

(1) Because the schematic features that were previously displayed in zone 1 are no longer in the database, they have been removed from the schematic database and so from the diagram during the update process.

(2) Because new features have been created in the database, the queries configured for the schematic feature classes now return those new features. This causes new associated schematic features to be created in the schematic database and displayed in the updated diagram.

(3) The new attribute values specified for the GIS features are reported on the associated schematic features in the schematic database and thus in the updated diagram.

NoteNote:

When the queries specified for the schematic feature classes associated with the Standard builder diagram template are configured to be reexecuted automatically each time the schematic diagrams containing those related schematic features are loaded, the diagram content is exactly the same as soon as the diagram is loaded without having to update it.

Related Topics


1/10/2012