A schematics service allows a web application to access schematic diagrams through a web service. This service uses the schematics extension capabilities to access, create, update, and edit schematic diagrams.
The schematics server extension is available with ArcGIS Server in Standard and Advanced editions.
In ArcGIS 10.1 for Server, schematics services had to reference source schematic datasets—there was no way to automatically copy your schematic data to the server when publishing a schematics service. Starting with 10.2, schematic data can be copied to the server when publishing. Moreover, this is the default behavior when your schematic data is not registered with the server.
Preparing the map document
Before you can publish a schematics service, you need to use ArcMap to create a map document that contains the schematic layers you will use in your service:
- To serve a finite set of schematic diagrams that already exist in a schematic dataset, you must author schematic layers related to these existing diagrams.
- To serve both existing and future schematic diagrams, and have the ability to generate new schematic diagrams on the web, you must author schematic layers related to the diagram templates on which these existing and future diagrams are based.
In order to make the map document and all the schematic layers that it references accessible to ArcGIS Server, you need to make your data accessible to the server.
When you expose your schematic diagrams on the web in client applications, performances and responsiveness are improved if diagrams are organized in schematic folders.
Publishing the service
Once you have a map document with the desired schematic layers, you're ready to publish the schematics service. Publishing the map document as a service and enabling the schematics capability allows you to use the service within a web application to query and display the diagrams you want, edit their content (apply an algorithm, update them), and generate new diagrams.
Schematics service operations
Schematics services have built-in operations that allow schematics clients to perform various requests on the server. When publishing your maps, the Query operation is enabled by default.
- Query allows schematics clients to query the schematic diagrams to display. It also allows clients to access the schematic layout algorithms preconfigured for each diagram and apply them to get an automatic layout of the schematic diagram content. The Query operation is enabled by default and is supported whatever the schematic layers' data source is.
- Editing allows schematics clients to generate new schematic diagrams, update existing schematic diagrams, and save the schematic diagram contents after they have been laid out. The Editing operation is not enabled by default. When it is enabled, it is only supported for schematic layers that reference data stored in an enterprise geodatabase.
Consuming the service
Once you've published your schematics service to a GIS server, it will be available to clients both locally and on the web.