Generating and updating schematic diagrams

ArcGIS Server Schematics supports generating and updating diagrams through published models via the geoprocessing service. The following paragraphs explain how this process works.

NoteNote:

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 schematic diagrams

To generate/update schematic diagrams using ArcGIS Server, you have to publish geoprocessing (GP) models that include Schematics geoprocessing tools and perform diagram generation/update using the geoprocessing service. These models are mainly based on the Create Diagram and Update Diagram GP tool.

The following figure shows an example of a custom toolbox with models that use the generate/update diagram geoprocessing operations before being published for use as a geoprocessing service within ArcGIS Server.

In this sample

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 be used by a number of different client applications, including Web mapping applications, ArcGIS Explorer, and ArcGIS Desktop.

NoteNote:

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 the Geoprocessing services book of the help.

Using the geoprocessing service tasks in a Web application to generate/update schematic 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 detailed in the previous paragraphs.

NoteNote:

For further information, see 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.


3/6/2013