Schematic Layer

URL:
https://<root>/<serviceName>/MapServer/exts/SchematicServer/schematicLayers/<schLayerId>
Methods:
POST
Version Introduced:
10.1

Description

The Schematic Layer resource represents a single schematic layer under a schematic service. Each schematic layer is returned with the following information:

  • id : The identifier of the schematic layer in the schematic service (Long)

  • name : The name of the schematic layer in the schematic service (String)

  • dataType : The type of the schematic layer, which is one of the following:

    • Schematic Diagram Template Layer : when the schematic layer references a schematic diagram template
    • Schematic Diagram Layer : when the schematic layer references a single schematic diagram
  • dataName : The name of the schematic diagram or schematic diagram template in the schematic dataset (String)

  • alwaysLoadDiagram : Indicates whether or not the schematic diagram is automatically loaded in memory (Boolean)

  • subLayers : The list of the sublayers (Array of Schematic Sublayer Object) that compose the schematic layer.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

Example usage

Example 1: The schematic layer, which id is '3' under the S1_Schematics public sample Schematics service. This is the last schematic layer from the four schematic layers under this sample service.

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/schematiclayers/3

Example 2: The schematic layer, which id is '0' under the S2_InternalPlants public sample Schematics service. This is the only schematic layer under this sample server.

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/schematiclayers/0

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
{
  "id" : <schLayerId>,
  "name" : "<schLayerName>",
  "dataType" : "Schematic Diagram Template Layer" | "Schematic Layer",
  "dataName" : "<schLayerDataName>",
  "alwaysLoadDiagram" : true | false,
  "subLayers": [
	 <schSublayer1>,
	 ...,
	 <schSublayerN>
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "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" : [

      ]
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.