Generating and updating schematic diagrams

Release 9.3.1 E-mail This Topic Printable Version Give Us Feedback

ArcGIS Server Schematics supports generating and updating diagrams. To generate/update schematic diagrams using ArcGIS Server, you must publish geoprocessing models that include standard Schematics geoprocessing tools and perform diagram generation/update using the geoprocessing service. The following paragraphs explain how this process works.

An ArcGIS Server Schematics license is required on the server for generating and updating diagrams.

Authoring and publishing GP models or scripts to generate/update feature diagrams

To generate/update schematic diagrams using ArcGIS Server, you must publish geoprocessing models that include Schematics geoprocessing tools and perform diagram generation/update using the geoprocessing service. These models are mainly based on the Create Diagram or Update Diagram GP tool chained with the Convert Diagram To Features GP tool that allows newly generated/updated schematic diagrams to be converted into Feature Diagrams before being consumed by ArcGIS Server.

Figure 1 shows an example of a custom toolbox with models that use the generate/update diagram geoprocessing operations before it is published to be used as a geoprocessing service within ArcGIS Server.

In this sample, the Create GeoSchematic Diagram model chains four standard GP tools:

The Update Diagram sample model chains two Schematics standard GP tools:

Once these models are tested locally, the toolbox containing the models can be published. Only toolboxes, not individual tools, can be published to ArcGIS Server. Each tool in the toolbox becomes a GP task in the resulting geoprocessing service and can then be used by a number of different client applications, including Web Mapping Applications, ArcGIS Explorer, and ArcGIS Desktop.

The geoprocessing toolbox that contains the tools you want to share must be stored in a shared folder. To learn more about geoprocessing models and their publishing, see Geoprocessing services topic.

Using the geoprocessing service tasks in a web application to generate/update feature diagrams

After publishing such a geoprocessing toolbox resource, all the geoprocessing models are available through geoprocessing tasks. The Web ADF provides a task framework to create, integrate, and distribute Web tasks. With the geoprocessing tasks, you can make use of services that run Schematics geoprocessing generation/update diagram jobs on the server and send the results back to the client application. To learn more about developing applications using tasks, see the Working with tasks topic in the Developer Help. The newly generated/updated diagrams can then be displayed within ArcGIS Server using a map service published from a map document built as explained in the Displaying schematic diagram topic.

Sum Up

The following figure sums up the way of working to generate/update diagrams within ArcGIS Server Schematics that has just been detailled in the previous paragraphs.

NOTE: For further information and understanding, we invite you to have a look on the .NET sample project code provided through the ArcGIS Server Developer Help system. The ArcGISServerSchematics_SampleNET topic available under the Samples\Web Applications\ help book describes a complete sample web application that allows clients to display, generate and update schematic diagrams within ArcGIS Server.