Skip To Content

Schematic Layers

Description

The Schematic Layers resource represents all the schematic layers under a schematic service published by ArcGIS Server. It is returned as an array of Schematic Layer resources by the ArcGIS REST API.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json

Example usage

Example 1: The schematic layers under the S1_Schematics public sample Schematics service

https://servicesbeta6.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/schematicLayers

Example 2: The schematic layers under the S2_InternalPlants public sample Schematics service

https://servicesbeta6.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/schematicLayers

JSON Response syntax


            {
  "schematicLayers": [
    <schLayer1—See the Schematic Layer topic for the JSON Syntax>,
    ...,
    <schLayerN—See the Schematic Layer topic for the JSON Syntax>
  ]
}

Learn about Schematic Layer—JSON Syntax

JSON Response example


            //Sample syntax response for a schematic service based on two schematic diagram template layers 
{
  "schematicLayers": [
    {
      //The first schematic layer concerns the ISP_GasPlants schematic diagram template 
      "id" : 0,
      "name" : "ISP_GasPlant",
      "dataType" : "Schematic Diagram Template Layer",
      "dataName" : "ISP_GasPlant",
      "alwaysLoadDiagram": false,
      "subLayers" : [
        {
          "id" : 1,
          "name" : "ISP_EQUIPMENTS",
          "featureClassID" : 3202,
          "elementType" : "esriSchematicNodeType",
          "geometryType" : "esriGeometryPoint"
          "attributes" : [
          
           ]
        },
        {
          "id" : 2,
          "name" : "ISP_VALVES",
          "featureClassID" : 3201,
          "elementType" : "esriSchematicNodeType",
          "geometryType" : "esriGeometryPoint"
          "attributes" : [
          
           ]
        },
        {
          "id" : 3,
          "name" : "ISP_PIPES",
          "featureClassID" : 3203,
          "elementType" : "esriSchematicLinkType",
          "geometryType" : "esriGeometryPolyline"
          "attributes" : [
          
           ]
        }
      ]
    },
    {
      //The second schematic layer concerns the DiagramsFromSelection schematic diagram template 
      "id": 1,
      "name": "DiagramsFromSelection",
      "dataType": "Schematic Diagram Template Layer",
      "dataName": "DiagramsFromSelection",
      "alwaysLoadDiagram": false,
      "subLayers": [
        {
          "id": 5,
          "name": "stations",
          "featureClassID": 882,
          "elementType": "esriSchematicNodeType",
          "geometryType": "esriGeometryPoint"
          "attributes" : [
          
           ]
        },
        {
          "id": 6,
          "name": "junctions",
          "featureClassID": 883,
          "elementType": "esriSchematicNodeType",
          "geometryType": "esriGeometryPoint"
          "attributes" : [
          
           ]
        },
        {
          "id": 7,
          "name": "primaryline",
          "featureClassID": 884,
          "elementType": "esriSchematicLinkType",
          "geometryType": "esriGeometryPolyline"
          "attributes" : [
          
           ]
        }
      ]
    }
  ]
}