Exercise 2: Generating schematic diagrams

Komplexität: Einsteiger Erforderliche Daten: ArcGIS Tutorial Data Setup Datenpfad: C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap Ziel: Learn about generating schematic diagrams from the result of a manual selection, from a selection by attributes, and from a tracing result.

In this exercise, you will generate your first schematic diagrams from the result of a manual selection, from a selection by attributes, and from a tracing result. You will also generate an inside plant diagram from an opened diagram.

Schritte:
  1. Start ArcMap.
  2. Open the ElecDemo.mxd file stored in C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap.

Enabling the Viewer Windows running mode

A schematic diagram can be opened in a viewer window. A viewer window can be opened by clicking Windows and clicking Viewer on the ArcMap menu. You can also work with the Viewer Windows running mode as the default mode so that each time a diagram is opened or generated, it is automatically displayed in a viewer window without changing the active data frame. Here are the detailed steps to activate the Viewer Windows running mode.

Schritte:
  1. Click the Schematic menu on the Schematic toolbar and click Schematic Options.

    The Schematic Options dialog box opens.

  2. Click the General tab.
  3. Check Automatically open schematic diagrams in a viewer window in the Viewer Windows section.

    General tab - final

  4. Click OK.

    The Schematic Options dialog box closes.

From now on, each time a schematic diagram is opened or generated, it is displayed in a viewer window, and the active data frame is preserved.

HinweisHinweis:

To deactivate this mode, uncheck the check box on the General tab.

Generating a diagram from features manually selected

Schritte:
  1. Click Bookmarks on the main menu and click Manual Selection.
  2. Click the Select Features tool Select Features tool icon and draw a box in the map to select everything in the current view .

    Manual Selection - selected features

  3. Click the Generate New Schematic Diagram button Generate New Schematic Diagram icon.

    The New Schematic Diagram dialog box opens.

  4. Click the browse button next to the Schematic Dataset or Folder text box to specify in which schematic dataset the schematic diagram is going to be stored.
  5. Browse to the ElecDemo geodatabase available in the C:\ ArcGIS\ArcTutor\Schematics\Schematics\ folder and double-click the ElecDemo schematic dataset.
  6. Click the Feeders schematic folder and click Add so the schematic diagram to be generated is stored in this specific Feeders schematic folder in the ElecDemo schematic dataset.
  7. Click the Schematic Diagram Template drop-down arrow and choose GeoSchematic from the list.
  8. Keep the default [Create New Data Frame] option selected in the Output Data Frame drop-down list.
    HinweisHinweis:

    If you choose Geography from the list, the diagram will be displayed in the Geography data frame on top of the map.

  9. Type Manual Selection in the Schematic Diagram Name text box for the diagram to be generated.
  10. In the Input From area, keep the Selection Set In Data Frame option selected and make sure that the Geography data frame containing the selection set you have just created is selected in the drop-down list.

    New Schematic Diagram dialog box - Manual Selection

  11. Click OK.

The diagram generation starts, and the resulting schematic diagram displays. As the Viewer Windows mode is activated, the newly created schematic diagram is displayed in a viewer window, and the active data frame containing the geographic features are preserved. A new data frame related to this diagram has been created in the Table Of Contents but is not active.

Manual Selection - generated diagram

HinweisHinweis:

You can adjust the size of the symbols in the diagram using the Decrease Symbol Sizes Decrease Label Sizes icon and Increase Symbol Sizes Increase Symbol Sizes icon buttons if needed.

Generating a diagram based on a schematic selection

The Save Diagram As command can also be used to generate a new diagram based on the current selection set. When no schematic feature is selected in the active diagram, it copies the entire diagram, but when schematic features are selected, only that selection set is saved in the new diagram.

Schritte:
  1. Activate the Manual Selection data frame.
  2. Click the Select Features tool Select Features tool icon and, by drawing a box with the tool, select a few schematic features on the active Manual Selection schematic diagram you have just generated.

    Selection on Manual Selection

  3. Click the Schematic drop-down menu on the Schematic toolbar and click Save Diagram As.
  4. Pick up the ElecDemo:\Feeders (C:\ArcGIS\ArcTutor\ Schematics\Schematics\ElecDemo.gdb) location in the Schematic dataset or Folder drop-down list.
  5. Type DiagramFromSchematicSelection in the Schematic Diagram Name text box.
  6. Keep the default [Create New Data Frame] option.

    Save As Diagram from schematic selection

  7. Click Save.

    A new data frame is added to the Table Of Contents. As the Viewer Windows mode is activated, the new diagram is displayed in a viewer window.

    DiagramFromSchematicSelection - generated

  8. Right-click the new DiagramFromSchematicSelection diagram data frame in the Table Of Contents and click Remove.
  9. Remove the Manual Selection data frame.
  10. Remove the DiagramFromSchematicSelection data frame.
  11. Click Selection on the ArcMap menu and click Clear Selected icon Clear selected features.
  12. Click Bookmarks on the ArcMap menu and click Overview.

Generating a diagram from a selection by attributes

Schritte:
  1. Click Selection on the main menu and click Select By Attributes Select By Attributes.

    The Select By Attributes dialog box opens.

  2. Click the Layer drop-down arrow and click PrimaryLine.
  3. Double-click Feeder from the fields list.
  4. Click the equal sign button Equal button.
  5. Click Get Unique Values.
  6. Double-click '411064000' from the unique values list.

    The Select By Attributes dialog box appears with the following query information:

    Select By Attributes - final

  7. Click Apply and click Close.
  8. Click Selection on the main menu and click Zoom To Selected icon Zoom To Selected Features.
  9. Click the Generate New Schematic Diagram button Generate New Schematic Diagram icon.

    The New Schematic Diagram dialog box opens.

  10. Click ElecDemo:\Feeders in the Schematic Dataset or Folder text box so the generated diagram will be stored in the Feeders schematic folder.
  11. Click the Schematic Diagram Template drop-down arrow and choose GeoSchematic in the list.
  12. Keep the default [Create New Data Frame] option selected in the Output Data Frame drop-down list.
  13. Type Feeder 411064000 in the Schematic Diagram Name text box for the diagram to be generated.
  14. Make sure the Selection Set In Data Frame option is checked and the Geography data frame is currently selected in the drop-down list.

    New Schematic Diagram dialog box - Feeder 411064000

  15. Click OK.

    The generated schematic diagram displays in a new data frame. As the Viewer Windows mode is activated, it opens in a viewer window.

  16. Resize the diagram viewer window. Use the Zoom In tool Zoom In tool icon for a better view of the diagram if needed.
  17. Click the Decrease Symbol Sizes Decrease Symbol Sizes icon and Increase Symbol Sizes Increase Symbol Sizes icon buttons to change the size of the symbols if needed.

    Feeder 411064000 generated

  18. Close the Feeder 411064000 viewer window.

Generating an inside plant diagram

Schritte:
  1. Click the Open Schematic Diagrams command Open Schematic Diagrams icon.

    The Select Schematic Diagrams To Open dialog box appears.

  2. Navigate to the C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap\ElecDemo.gdb geodatabase.
  3. Double-click the ElecDemo schematic dataset, then double-click the Inside Plants schematic subfolder.
  4. Click Substation 08 in the diagram list.

    Substation 08 to open

  5. Click Add.

    The Substation 08 diagram opens in a viewer window. This diagram details the equipment inside a substation.

    Substation 08 diagram opened

The schematic features in this diagram come from a set of object tables that detail inside plant contents. They are also dynamically linked to some GIS data contained in the Geography map, for example, to the Substation in this map. The next steps highlight these relations:

Schritte:
  1. Click the Schematic drop-down menu on the Schematic toolbar and click Schematic Options.
  2. Click the Selection tab, then check the three check boxes on this tab and click OK.
  3. Activate the Substation 08 data frame.
  4. Click the Select Features tool Select Features tool icon and click the polygon that displays around all the Substation 08 equipment.

    Substation 08 with selected container

  5. Activate the Geography data frame.
  6. Click Propagate Schematic Selection To Map icon Propagate Schematic Selection To Map.

    The related Substation is selected in the Geography data frame.

  7. Click Bookmarks on the main menu and click Substation 08 to locate the selected Substation feature.
  8. Arrange the Substation viewer window to get a clear view of the selected features in both the Geography and Substation 08 views.

    Propagate from Substation 08 - results

  9. Click Propagate Map Selection To Schematic icon Propagate Map Selection To Schematic.

    All the schematic features inside the polygon are automatically selected in the Substation 08 diagram.

    Propagate to Substation 08 - results

    HinweisHinweis:

    Note that the Substation schematic feature in the Feeder 411064000 diagram has been also automatically selected.

  10. Clear the selected features on the map.
  11. Remove the Feeder 411064000 data frame.
  12. Remove the Substation 08 data frame.

Generating a diagram from a trace

Schritte:
  1. Load the Utility Network Analyst toolbar (if it is not already displayed).
  2. Click the arrow button next to the Add Junction Flag tool and click the Add Edge Flag tool Add Edge Flag tool icon.
  3. Click the primary line between Feeder 0804 Harrison and the substation to add an edge flag.

    Add Flag Edge - result

  4. Click the Trace Task drop-down arrow on the Utility Network Analyst toolbar and click Trace Downstream, then click Solve icon Solve.
  5. Click Bookmarks on the main menu and click Feeder 0804-Harrison.

    The tracing result appears as follows:

    Harrison Tracing Result

  6. Click the Generate New Schematic Diagram button Generate New Schematic Diagram icon.

    The New Schematic Diagram dialog box opens.

  7. Click ElecDemo:\Feeders in the Schematic Dataset or Folder text box.
  8. Click the Schematic Diagram Template drop-down arrow and choose GeoSchematic from the list.
  9. Keep the default [Create New Data Frame] option selected in the Output Data Frame drop-down list.
  10. Type Feeder 0804-Harrison in the Schematic Diagram Name text box for the diagram to be generated.
  11. Make sure the Tracing Result option is checked.

    New Schematic Diagram, Feeder 0804-Harrison

  12. Click OK.

    The new diagram generation starts. It displays in a viewer window.

  13. Click the Analysis drop-down menu in the Utility Network Analysis toolbar and click Clear Results, then click Clear Flags.
  14. Resize the viewer window related to the newly created Feeder 0804-Harrison schematic diagram.

    Feeder 0804-Harrison generated

  15. Remove the Feeder 0804-Harrison data frame.
  16. Click File and click Exit.
  17. Click No when the following message appears: Save changes to ElecDemo.mxd?

7/10/2012