Schematic Diagram Map

URL:
https://<map>/<serviceName>/MapServer/exts/SchematicServer/diagrams/<diagID>/map
Methods:
POST
Version Introduced:
10.1

Description

The Schematic Diagram map resource mimics a map service resource. It is returned as a Map Service by the REST API.

The Schematic Diagram map resource supports 2 operations:

  • [export](/schematic-export)—Exports a schematic diagram as a map image.
  • [identify](/schematic-identify)—Identifies schematic features in a schematic diagram.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example usage

Example 1: The schematic diagram map related to the schematic diagram which id is '2-10' under the S1_Schematics public sample Schematics service

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/diagrams/2-10/map

Example 2: The schematic diagram map related to the schematic diagram which id is '0-13' under the S2_InternalPlants public sample Schematics service

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

JSON Response syntax

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"currentVersion": ,
"serviceDescription" : "",
"mapName" : ""
"description": "",
"copyrightText" : "",
"supportsDynamicLayers" : <true|false>,
"layers": [ //the spatial layers published by this service
    {
    "id" : ,
    "name" : "",
    "defaultVisibility" : <true|false>,
    "parentLayerId" : ,
    "subLayerIds" : [, ]
    "minScale": ,
    "maxScale":
    },
    {
    "id" : ,
    "name" : "",
    "defaultVisibility" : <true|false>,
    "parentLayerId" : ,
    "subLayerIds" : [, ]
    "minScale": ,
    "maxScale":
    }
],
"tables": [ //the tables published by this service
    {
    "id" : ,
    "name" : ""
    },
    {
    "id" : ,
    "name" : ""
    }
],
"spatialReference" : {},
"singleFusedMapCache" : <true|false>,
"tileInfo": {
    "rows" : , "cols" : , "dpi" : , "format" : , "compressionQuality" : ,
    "origin" : {},
    "spatialReference" : {},
    "lods": [
        {"level" : , "resolution" : , "scale" :  },
        {"level" : , "resolution" : , "scale" :  }
    ]
},
"initialExtent" : {},
"fullExtent" : {},
//if the map supports querying and exporting maps based on time
"timeInfo" : {
  "timeExtent" : [, ],
  "timeReference" : {
    "timeZone" : "",
    "respectsDaylightSaving" : <true|false>
  }
},
"units" : "",
"supportedImageFormatTypes" : "",
"documentInfo": {
    "" : "",
    "" : ""
},
//comma separated list of supported capabilities - e.g. "Map,Query,Data"
"capabilities" : ""
}

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
//Response for a sample schematic service that references three schematic layers in the default data frame
//The REST API returns the exact same response whatever the diagId specified in the https://<schematicdiagrams-url>/<diagId>/map URL
{
 "currentVersion": 10.1,
 "serviceDescription": "",
 "mapName": "Layers",
 "description": "",
 "copyrightText": "",
 "supportsDynamicLayers": false,
 "layers": [
  //The first schematic layer, OSP, in the sample service
  {
   "id": 0,
   "name": "OSP",
   "parentLayerId": -1,
   "defaultVisibility": true,
   "subLayerIds": [1, 2, 3, 4, 5, 6, 7, 8],
   "minScale": 0,
   "maxScale": 0
  },
  //The 1 to 8 sublayers under the OSP schematic layer in the sample service
  {
   "id": 1,
   "name": "End_Cap",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 2,
   "name": "pug_PUG_gas_plants",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 3,
   "name": "pug_PUG_petrochem_all",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 4,
   "name": "pug_PUG_refineries",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 5,
   "name": "Valves",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 6,
   "name": "Brazilpipelines_Net_Junctions",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 7,
   "name": "joined_pipe",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 8,
   "name": "pug_PUG_electric",
   "parentLayerId": 0,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  //The second schematic layer, ISP_Diagrams, in the sample service
  {
   "id": 9,
   "name": "ISP_Diagrams",
   "parentLayerId": -1,
   "defaultVisibility": true,
   "subLayerIds": [ 10, 11, 12],
   "minScale": 0,
   "maxScale": 0
  },
  //The 10 to 12 sublayers under the ISP_Diagrams schematic layer in the sample service
  {
   "id": 10,
   "name": "ISP_Equipments",
   "parentLayerId": 9,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 11,
   "name": "ISP_Valves",
   "parentLayerId": 9,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 12,
   "name": "ISP_Pipes",
   "parentLayerId": 9,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  //The third schematic layer, DiagramsFromBrazilNetwork, in the sample service
  {
   "id": 13,
   "name": "DiagramsFromBrazilNetwork",
   "parentLayerId": -1,
   "defaultVisibility": false,
   "subLayerIds": [14, 15, 16, 17, 18, 19, 20],
   "minScale": 0,
   "maxScale": 0
  },
  //The 14 to 20 sublayers under the DiagramsFromBrazilNetwork schematic layer in the sample service
  {
   "id": 14,
   "name": "End_Cap",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 15,
   "name": "pug_PUG_gas_plants",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 16,
   "name": "pug_PUG_petrochem_all",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 17,
   "name": "pug_PUG_refineries",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 18,
   "name": "Valves",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 19,
   "name": "Brazilpipelines_Net_Junctions",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  },
  {
   "id": 20,
   "name": "joined_pipe",
   "parentLayerId": 13,
   "defaultVisibility": true,
   "subLayerIds": null,
   "minScale": 0,
   "maxScale": 0
  }
 ],
 "tables": [],
 "spatialReference": {"wkid": 4326},
 "singleFusedMapCache": false,
 "initialExtent": {
  "xmin": 3.243417708438514,
  "ymin": -7.534672405877675,
  "xmax": 32.7568264321865,
  "ymax": 7.534794476190177,
  "spatialReference": {"wkid": 4326}
 },
 "fullExtent": {
  "xmin": -180,
  "ymin": -90,
  "xmax": 180,
  "ymax": 90,
  "spatialReference": {"wkid": 4326}
 },
 "units": "esriDecimalDegrees",
 "supportedImageFormatTypes": "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
 "documentInfo": {
  "Title": "Brazil",
  "Author": "",
  "Comments": "Brazil",
  "Subject": "Brazil",
  "Category": "",
  "Keywords": "Brazil",
  "AntialiasingMode": "None",
  "TextAntialiasingMode": "Force"
 },
 "capabilities": "map",
 "maxRecordCount": 1000,
 "maxImageHeight": 2048,
 "maxImageWidth": 2048
}

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