Intersection Layer

URL:
https://<LinearReferencingService-url>/intersectionLayers/<layerId>
Methods:
GET
Child Resources:
Generate Intersections
Required Capability:
The ArcGIS Location Referencing license is required to use this resource.
Version Introduced:
10.8

Description

This operation represents an intersection layer in a linear referencing geodatabase. The intersection layer contains point features, such as intersection points between a network, and one or more polyline or polygon feature classes.

Request parameters

ParameterDetails

f

(Optional)

Specifies the response format. The default response format is html.

Values: html | json | pjson

Example usage

URL for intersection layer ID 0.

Use dark colors for code blocksCopy
1
http://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/intersectionLayers/0

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
{
  "id": <layerId>,
  "name": "<layerName>",
  "type": "<layerType>",  // esriLRSIntersectionLayer
  "isDataVersioned": <true | false>,
  "isBranchVersioned": <true | false>,
  "versionName": "<versionName>",
  "dateFormat": "<sqlDateFormat>",  // one of: esriLRSDateFormatStandard, esriLRSDateFormatFileGDB, esriLRSDateFormatOracle
  "datasetName": "<datasetName>",  // the intersection class name registered in the LRS dataset
  "featureClassName": "<featureClassName>",  // the backing feature class name
  "routeIdFieldName": "<fieldName>",
  "intersectionIdFieldName": "<fieldName>",
  "intersectionNameFieldName": "<fieldName>",
  "parentNetworkDescriptionFieldName": "<fieldName>",
  "fromDateFieldName": "<fieldName>",
  "toDateFieldName": "<fieldName>",
  "measureFieldName": "<fieldName>",
  "lrs": {
    "id": "<id>",
    "name": "<name>"
  },
  "parentNetwork": {
    "id": <networkLayerId>,
    "name": "<networkLayerName>",
    "type": "<networkLayerType>"
  },
  "intersectingLayers": [
    { "featureClassName": <featureClassName1>, "nameSeparator": "<nameSeparator1>" },
    { "featureClassName": <featureClassName2>, "nameSeparator": "<nameSeparator2>" },
   ...
  ],
  "fields": [
    {
      "name": "<fieldName1>",
      "type": "<fieldType1>",
      "alias": "<fieldAlias1>",
      "length": <length1>,
      "editable": <true | false>,
      "nullable": <true | false>,
      "defaultValue": <defaultValue1>,
      "domain": <domain1>
    },
    {
      "name": "<fieldName2>",
      "type": "<fieldType2>",
      "alias": "<fieldAlias2>",
      "length": <length2>,
      "editable": <true | false>,
      "nullable": <true | false>,
      "defaultValue": <defaultValue2>,
       "domain": <domain2>
    },
   ...
  ]
}

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
{
  "id": 0,
  "name": "Intersections",
  "type": "esriLRSIntersectionLayer",
  "isDataVersioned": true,
  "isBranchVersioned": true,
  "versionName": "sde.DEFAULT",
  "dateFormat": "esriLRSDateFormatStandard",
  "datasetName": "Intersections",
  "featureClassName": "LRSI_Intersections",
  "routeIdFieldName": "routeid",
  "intersectionIdFieldName": "intersectionid",
  "intersectionNameFieldName": "intersectionname",
  "parentNetworkDescriptionFieldName": "routename",
  "fromDateFieldName": "fromdate",
  "toDateFieldName": "todate",
  "measureFieldName": "measure",
  "lrs": {
    "id": "DFB23B7D-69D1-460F-B7E0-0FB190D23B96",
    "name": "DOT_LRS"
  },
  "parentNetwork": {
    "id": 10,
    "name": "State Highways",
    "type": "esriLRSNetworkLayer"
  },
  "intersectingLayers": [
    { "featureClassName": "sde.owner.LRSN_MilePoint", "nameSeparator": "AND" },
    { "featureClassName": "sde.owner.CountyBoundary", "nameSeparator": "WITH" }
  ],
  "fields": [
    {
      "name": "objectid",
      "type": "esriFieldTypeOID",
      "alias": "Object ID",
      "editable": false,
      "nullable": false,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "intersectionid",
      "type": "esriFieldTypeGUID",
      "alias": "Intersection ID",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "intersectionname",
      "type": "esriFieldTypeString",
      "alias": "Intersection Name",
      "length": 255,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "routeid",
      "type": "esriFieldTypeString",
      "alias": "Route ID",
      "length": 250,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "featureid",
      "type": "esriFieldTypeString",
      "alias": "Feature ID",
      "length": 100,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "featureclassname",
      "type": "esriFieldTypeString",
      "alias": "Feature Class Name",
      "length": 150,
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "fromdate",
      "type": "esriFieldTypeDate",
      "alias": "From Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "todate",
      "type": "esriFieldTypeDate",
      "alias": "To Date",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    },
    {
      "name": "shape",
      "type": "esriFieldTypeGeometry",
      "alias": "Shape",
      "editable": true,
      "nullable": true,
      "defaultValue": null,
      "domain": null
    }
  ]
}

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