How does the Standard builder operate from GIS features organized into a geometric network?
Diagram templates are always associated with schematic feature classes. For the Standard builder, these schematic feature classes are related to the GIS feature classes with which the builder is supposed to deal.
When generating a diagram based on the Standard builder from a set of GIS features organized into a geometric network, the builder populates the schematic feature classes—that is, it creates the schematic features expected in the diagram as follows:
- It analyzes the geometric network features currently highlighted in the map document after a selection or tracing operation.
- For each feature layer with highlighted GIS features, it verifies whether it is expected to deal with these features—that is, it verifies that a schematic feature class associated with the related GIS feature class exists for the diagram template.
If there is such a schematic feature class for the diagram template, for each feature currently highlighted in the feature layer, it creates the associated schematic feature in memory, evaluates its attributes, and initializes its topology and geometry.
- If schematic rules are specified for the related diagram template, they are executed on all the schematic features built in memory.
- If there is a default schematic layout algorithm configured for the diagram template, the algorithm is executed and the geometry for all the in-memory schematic features is updated accordingly.
- All the schematic features in memory are saved in the schematic feature classes in the schematic dataset.
- All the created schematic features are queried from the schematic feature classes, and the diagram is displayed.
Then, at any time and for its lifetime—that is, until it is deleted from the schematic dataset—the diagram can be
- Reopened.
- Edited, laid out, and saved.
- Updated so its content stays in accord with the geometric network features, and each change that impacted the associated GIS features is reported on the associated schematic feature. For diagrams based on GIS versioned data, it can also be updated from any other reference version; this means that even if diagram generation was based on a specific version, if this GIS data version no longer exists or is no more the reference version, the diagram reference version can also be changed so the diagram content evolves with the change of GIS reference version.
Diagram templates based on the Standard builder can also be used to generate mixed diagrams that contain schematic features associated with the GIS features highlighted in the map document and schematic features coming from custom queries that operate from any type of database. In this case, there are intermediate steps during the generation process:
- Schematic feature classes with custom queries configured to be launched during diagram building—that is, queries with the Query on Generate/Update evaluation mode—are processed just before executing the rules.
- Schematic feature classes with custom queries configured to be launched during diagram loading—that is, queries with the Query on Start Editing evaluation mode—are processed just after executing the rules.
When configuring the Standard builder properties, you can enable a specific running mode called Automatic schematic feature class creation. When this mode is enabled, the Standard builder will be able to deal with all GIS features highlighted in the map even if, at the time of the generation, there is no schematic feature class associated with the GIS feature classes of the highlighted features in the map. When running in this mode, the builder automatically creates the missing schematic feature classes for the diagram template before populating them.